Method for pushing backlog of cell and computer storage medium

文档序号:1419989 发布日期:2020-03-13 浏览:12次 中文

阅读说明:本技术 一种小区待办事项推送的方法及计算机存储介质 (Method for pushing backlog of cell and computer storage medium ) 是由 陈伟 于 2019-08-19 设计创作,主要内容包括:本发明提供一种小区待办事项推送的方法,包括:部署服务器集群,将所述服务器集群与小区的物业管理系统建立连接,所述服务器集群对所述物业管理系统中各住户缴费数据进行实时采集,根据预置的策略规则生成待推送数据,每一条待推送数据对应一个住户;将门禁系统接入所述服务器集群,待所述门禁系统识别到住户进出事件时,向所述服务器集群发起推送数据请求并将识别到的住户信息进行上传;所述服务器集群根据所述门禁系统所上传的住户信息,查询所述住户对应的待推送数据并发送至门禁系统进行播放用以告知住户,消息推送的有效度较高,住户对所告知的待办消息记忆时长增加。(The invention provides a method for pushing backlogs of a cell, which comprises the following steps: deploying a server cluster, establishing connection between the server cluster and a property management system of a cell, acquiring payment data of each resident in the property management system in real time by the server cluster, generating data to be pushed according to preset policy rules, wherein each piece of data to be pushed corresponds to one resident; accessing an access control system into the server cluster, and initiating a data pushing request to the server cluster and uploading the identified resident information when the access control system identifies the resident in-out event; the server cluster inquires the data to be pushed corresponding to the resident according to the resident information uploaded by the access control system and sends the data to be pushed to the access control system for playing so as to inform the resident, the validity of message pushing is high, and the memory duration of the informed information to be handled by the resident is prolonged.)

1. A method for pushing backlogs of a cell is characterized by comprising the following steps:

deploying a server cluster, establishing connection between the server cluster and a property management system of a cell,

the server cluster collects payment data of each resident in the property management system in real time, and generates data to be pushed according to preset strategy rules, wherein each piece of data to be pushed corresponds to one resident;

accessing an access control system into the server cluster, and initiating a data pushing request to the server cluster and uploading the identified resident information when the access control system identifies the resident in-out event;

and the server cluster inquires the data to be pushed corresponding to the resident according to the resident information uploaded by the access control system and sends the data to be pushed to the access control system for playing so as to inform the resident.

2. The method for pushing the backlogs of the community according to claim 1, wherein the server cluster is further connected with an express cabinet and an early warning system in the community, and is used for collecting express information of each resident of the express cabinet and early warning data stored by the early warning system, wherein the early warning data comprises community emergency data.

3. The method of claim 2, wherein the step of generating data to be pushed according to a preset policy rule comprises:

inquiring express information of each resident, and if express is retained, generating express push information, wherein the express push information comprises an express cabinet number and an express cabinet position;

inquiring payment data of each resident, and if the resident has arrearage data, generating payment pushing information which comprises arrearage details;

generating early warning push information according to the early warning data;

the method comprises the steps that early warning push information is used as a first priority, payment push information is used as a second priority, express delivery push information is used as a third priority, and a push information queue is generated according to the priorities;

and taking the first-order push information in the push information queue as data to be pushed.

4. The method of claim 3, wherein before the step of using the first-order push data in the push information queue as the to-be-pushed data, the method further comprises:

and inquiring historical pushing data, and if pushing information with the same historical pushing data exists in the pushing information queue, performing descending processing on the pushing information.

5. The method of claim 1, wherein the step of the access control system recognizing the entrance and exit event of the resident comprises:

the entrance guard system acquires the face features of the resident through the camera, matches the face features, and if the face features are matched, the face features are identified to pass.

6. The method for pushing backlogs of a community according to claim 1, wherein the server cluster comprises three servers, and the three servers exchange data through a preset communication protocol and are respectively connected with an express cabinet, a property management system and an early warning system.

7. The method of claim 1, wherein the data to be pushed is audio data.

8. The method of claim 1, wherein the step of using the first-order push information in the push information queue as the data to be pushed further comprises:

and if the first-order push information is a plurality of parallel messages, a delayed brake release instruction is sent to the access control system, so that the resident can receive all the push messages.

9. A system for pushing cell messages, comprising:

the server cluster is used for establishing connection with a property management system of a community, collecting payment data of each resident in the property management system in real time, generating data to be pushed according to preset strategy rules, and enabling each piece of data to be pushed to correspond to one resident;

and the access control assembly is used for accessing the server cluster, and when the access control system identifies a resident entrance and exit event, the access control assembly initiates a data pushing request to the server cluster and uploads the identified resident information.

10. A computer storage medium, characterized in that the computer storage medium stores a computer program capable of being executed by at least one processor to perform a method of cell backlog pushing as claimed in claims 1 to 7.

Technical Field

The embodiment of the invention relates to the field of intelligent communities, in particular to a method for pushing backlog of a community and a computer storage medium.

Background

At present, some things to be handled of a cell owner, such as property management fee, parking fee or express delivery in an express box, are not taken, and are generally pushed to the cell owner in a paper notification, short message or WeChat information mode. The current social rhythm is very fast, paper notifications are often not seen, mobile phone information is pushed excessively, backlog in a cell is easy to forget, when a person is not at home or a period of time passes, the effectiveness of notification or message pushing is not high when the person remembers

Disclosure of Invention

To solve the above problem, an embodiment of the present invention provides a method for pushing backlogs of a cell, including the following steps:

deploying a server cluster, establishing connection between the server cluster and a property management system of a cell,

the server cluster collects payment data of each resident in the property management system in real time, and generates data to be pushed according to preset strategy rules, wherein each piece of data to be pushed corresponds to one resident;

accessing an access control system into the server cluster, and initiating a data pushing request to the server cluster and uploading the identified resident information when the access control system identifies the resident in-out event;

the server cluster inquires the data to be pushed corresponding to the resident according to the resident information uploaded by the access control system and sends the data to be pushed to the access control system for playing so as to inform the resident of the data

The method for pushing the backlog of the community can inform the backlog of the residence when the residence enters and exits the community, because the residence needs to aim at the camera for identity recognition when entering and exiting, the thinking state is concentrated, at the moment, the audio equipment is adopted to inform the backlog of the residence, the effectiveness of message pushing is high, and the memory duration of the informed backlog message by the residence is prolonged.

Drawings

FIG. 1 is a flowchart illustrating steps of a method for pushing backlogs in a cell according to the present invention;

FIG. 2 is a diagram of a cell push system according to the present invention;

fig. 3 is a schematic diagram of a hardware structure of the computer device of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

It should be understood that although the terms first, second, etc. may be used to describe the designated key in embodiments of the present invention, the designated key should not be limited to these terms. These terms are only used to distinguish specified keywords from each other. For example, the first specified keyword may also be referred to as the second specified keyword, and similarly, the second specified keyword may also be referred to as the first specified keyword, without departing from the scope of embodiments of the present invention.

The word "if" as used herein may be interpreted as referring to "at … …" or "when … …" or "corresponding to a determination" or "in response to a detection", depending on the context. Similarly, the phrase "if determined" or "if detected (a stated condition or time)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.

Referring to fig. 1, an embodiment of the present invention provides a method for pushing backlogs of a cell, including:

step S100, a server cluster is deployed, and the server cluster is connected with a property management system of a cell.

In a specific implementation mode, a plurality of server devices are placed in a property management center of a community and are connected with a property management system of the community and intelligent hardware devices in the community, the connection modes can be connected in communication modes such as network cables and wireless communication, intelligent devices in the community can be express cabinets, intelligent charging cabinets and the like in the community, in addition, the server can also be connected with an early warning system of the community, and emergent events recorded in the early warning system, such as community water and power outage, property field reconstruction, telecommunication, television and gas operators, are concentrated to provide door-to-door services and kill mosquito notifications and the like, can be collected in real time.

The servers form a server cluster through a preset communication protocol, a distributed storage system can be formed, because the population base number of residents in a cell is large, and in consideration of convenience in maintenance and cost, the servers are connected in a way of storing hardware equipment of the cell, for example, one server is specially connected with an express cabinet, and summary information of express of each resident in the express cabinet is pulled and stored. And each server is provided with a drive of the docking hardware equipment aiming at the docked cell hardware equipment and is used for carrying out data transmission with the docked cell hardware equipment. In addition, aiming at the butt joint work of the community property management system, two servers are configured to bear a large amount of payment data.

Step S200, the server cluster collects payment data of each resident in the property management system in real time, and generates data to be pushed according to preset strategy rules, wherein each piece of data to be pushed corresponds to one resident;

specifically, the server cluster is set to actively pull data to each hardware device in the cell for periodic updating, the device in the existing cell can be prevented from being changed due to the arrangement, the cost is reduced, due to the transmission two-end property, the data can be pulled to each hardware device by the server cluster, the data can also be actively uploaded by each hardware device, but due to the limited performance of the access control system or part of devices, the burden of low performance of the access control system can be increased undoubtedly by adding programs for actively uploading data to the devices.

Wherein, the foregoing content mentions that the server cluster is connected with the cell property management system. The existing residential areas are provided with independent and mature residential area property management systems, which are generally composed of a plurality of computers, wherein a large amount of data of residential area residents, such as payment data, resident registration information and the like, are stored, wherein the payment data can comprise property payment information, water payment information, electric payment information and the like. Typically, most of the household's backlog is these payment related items.

In a preferred embodiment, the period of the server cluster pulling data is 2S, the setting takes extreme conditions into consideration, and the phenomenon of missing pushing is avoided, wherein the extreme conditions are that a resident drives a vehicle to pass through an access control system, the time of the resident recognizing the completion of the passing through the gate releasing is about 6S, and at the moment, a manager of a cell is entering data or an early warning system is entering a temporary emergency, so if the period of the pulling data is more than 6S, the resident is likely to miss message pushing, and the calculation time of the server for pushing message generation is not calculated, therefore, the period of the server cluster pulling data must be set to be less than the passing time of the resident, and the passing time of the resident is equal to the time of the gate releasing plus the time required by the access control system for recognizing the resident.

For the calculation generation of push data, the subdivision steps are explained in detail below.

Step S300, the access control system is accessed into the server cluster, and when the access control system identifies a resident entrance and exit event, a data pushing request is initiated to the server cluster and identified resident information is uploaded.

For the purpose of the present invention, the access of the access control system to the server cluster is one of the indispensable links, the access control system needs to make a data request to the server, because the access control system of the cell is usually a vehicle access gate or a cell access gate, and such a device has only a simple computer architecture, and the performance of the processor and the memory of the device is extremely limited, and cannot undertake the calculation of the push message and the storage of each hardware device message of the cell, so a server must undertake the function of this link.

The entrance guard system identifies the resident and identifies the one-time resident entrance and exit event, when the entrance guard system detects the resident entrance and exit event, the entrance guard system initiates a request for pushing data to the server cluster and waits for the feedback of the pushed data, wherein the data request is also attached with the information of the identified resident, for example, the number three of the resident is added into the effective content field of the request message.

S400, the server cluster inquires the data to be pushed corresponding to the resident according to the resident information uploaded by the access control system and sends the data to be pushed to the access control system for playing so as to inform the resident of the data

Illustratively, after the server cluster receives a data request uploaded by the access control system, the server cluster analyzes the data packet to obtain the name of a resident in the data packet, "zhang san", searches for the push data corresponding to the "zhang san", and feeds back the push data to the access control system, wherein the access control system comprises a loudspeaker, and the loudspeaker is used for playing the fed back audio data, for example: (welcome you to go home, and at present you have an express box to be taken in 1 overhead layer No. 1, please take the express in time), and then push one or more notifications of the items to be taken to the owner's mobile phone.

The method for pushing the backlog of the community can inform the backlog of the residence when the residence enters and exits the community, because the residence needs to aim at the camera for identity recognition when entering and exiting, the thinking state is concentrated, at the moment, the audio equipment is adopted to inform the backlog of the residence, the effectiveness of message pushing is high, and the memory duration of the informed backlog message by the residence is prolonged.

Optionally, the server cluster further establishes a connection with an express cabinet and an early warning system in the cell, and acquires express information of each resident of the express cabinet and early warning data stored by the early warning system, where the early warning data includes cell emergency data, for example: the method comprises the following steps of water and power cut of a community, property field reconstruction, centralized provision of home service by telecommunication/television/gas operators, mosquito killing notification and the like.

In the specific implementation mode of connection of the server cluster and the community express cabinet, the server cluster and the community express cabinet are connected through a network cable, the network cable is buried underground and extends to each layer of a building, the server cluster is connected with the network cable through an external socket, the network cable socket is arranged in the area near the express cabinet, the network cable connection is given to the express cabinet, then the server cluster is correspondingly driven to access the community express cabinet system, and the handshaking connection is completed.

Optionally, the step S200 of generating data to be pushed according to a preset policy rule includes:

step S210, inquiring express information of each resident, and if express is retained, generating express push information, wherein the express push information comprises an express cabinet number and an express cabinet position;

step S220, inquiring payment data of each resident, and if the resident has arrearage data, generating payment pushing information which comprises arrearage details;

step S230, generating early warning push information according to the early warning data;

step S240, early warning push information is used as a first priority, payment push information is used as a second priority, express delivery push information is used as a third priority, and a push information queue is generated according to the priorities;

step S250 uses the first-order push information in the push information queue as the data to be pushed

Specifically, the server cluster collects all data of the express delivery cabinet, payment data and early warning data of each resident of the property management system in real time, generates push messages of various types respectively, and pushes the push messages into the push information queue. Each household corresponds to one push information queue. For data acquired from each hardware device, push information cannot be directly generated, data needs to be sorted in advance, each household is defined as an object, the class can be set in a JAVA language, each household corresponds to one class independently, when data of an express cabinet and a property management system are collected to be stored or data of a server is updated, data are traversed and corresponding data of each household are placed in corresponding household classes (objects), and a new association item is formed, exemplarily:

housing house three-opening → express box for express waiting to be taken in number 1 of overhead layer 1

→ waiting to get express delivery in 1 built-up layer No. 4 express delivery case

Water charge unpaid in 7 months

No payment of electric charge in 7 months

In the same way, the above-mentioned associated data structure is formed for each resident, and by adopting the data arrangement, the generation of the push message can be supported quickly, the message generation speed is increased, if a mode that the data of each hardware resident is inquired when the resident goes in and out is adopted, the push message can be generated within a certain time, the possible time can reach 10s according to the complexity of the data, and the resident is likely to have gone away at this time.

In addition, because the early warning message data are less and the reminding is specific to all residents in the cell, the data sorting is not needed, and the direct input is only needed during the step of generating the push queue.

And related data sorting steps are executed immediately after the real-time acquisition of each hardware data.

After finishing data sorting, the method relates to the updating of the message queue, and in the initial operation stage of the system corresponding to the method, a related program needs to newly generate the queue when being generated for the first time, and only needs to change the message queue after subsequent data updating, and does not need to regenerate the message queue.

In the invention, the strategy of message sequencing in the queue is divided into three priorities, the early warning message is a first priority, the second priority is a property payment message, and the third priority is an express delivery cabinet pushing message. The actual scene fitness of the prioritization strategy is high.

Thus, the push message queue is exemplary as follows:

1. water supply cut-off in tomorrow (early warning message)

2. 7 month water fee unpaid (property payment message)

3. Express box No. 1 on the 1 st overhead layer (express cabinet message)

In addition, if a plurality of messages of a certain type exist and are not pushed before and are to be pushed as first-order data, the plurality of messages are pushed and sent to the access control system in parallel and are accompanied by a delay brake release instruction, and the delay time length in the delay instruction is 5s, so that a user is prevented from missing important messages when not entering or exiting.

Optionally, before the step of using the first-order push data in the push information queue as the data to be pushed, the method further includes:

and inquiring historical pushing data, and if pushing information with the same historical pushing data exists in the pushing information queue, performing descending processing on the pushing information.

In consideration of not repeatedly pushing, so as to avoid causing a boring emotion of the resident, before the message is finally pushed to the access control system, sequence adjustment is performed on each message in the pushed message queue, and sequence adjustment is performed on the already pushed message, for example, before adjustment:

1. water supply cut-off in tomorrow (early warning message)

2. 7 month water fee unpaid (property payment message)

3. Express box No. 1 on the 1 st overhead layer (express cabinet message)

And the water supply cut off in the next day is pushed before, the queue is adjusted, and the adjustment is as follows:

1. water supply cut-off in tomorrow (early warning message)

2. Express box No. 1 on the 1 st overhead layer (express cabinet message)

3. 7 month water fee unpaid (property payment message)

In addition, the message which is pushed twice is deleted in the queue, and for how to identify the message which is pushed twice, the specific implementation mode is that when a final push message is sent to the access control system to be played by each server cluster, the push message is recorded to form a push message history record, and the push message queue is compared with the push message history record, so that which message is pushed and pushed for several times can be known.

Optionally, the step of recognizing the entrance and exit event of the resident by the access control system includes:

the entrance guard system acquires the face features of the resident through the camera, matches the face features, and if the face features are matched, the face features are identified to pass.

Optionally, the server cluster is composed of three servers, data exchange is performed between the three servers through a preset communication protocol, and the three servers are respectively in butt joint with the express cabinet, the property management system and the early warning system.

Optionally, the data to be pushed is audio data.

Referring to fig. 2, the present invention further provides a cell message pushing system, including:

the server cluster is used for establishing connection with a property management system of a community, collecting payment data of each resident in the property management system in real time, generating data to be pushed according to preset strategy rules, and enabling each piece of data to be pushed to correspond to one resident;

and the access control assembly is used for accessing the server cluster, and when the access control system identifies a resident entrance and exit event, the access control assembly initiates a data pushing request to the server cluster and uploads the identified resident information.

In addition, the cell message pushing system further includes:

the express cabinet assembly is used for exchanging data with the server cluster;

the property management system is used for exchanging data with the server cluster;

and the early warning system is used for exchanging data with the server cluster.

Please refer to fig. 3, which is a schematic diagram of a hardware architecture of a computer device according to an embodiment of the present invention. In the present embodiment, the computer device 2 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a preset or stored instruction. The computer device 2 may be a personal computer, a tablet computer, a mobile phone, a smartphone, or a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of a plurality of servers), and the like, and is configured to provide a virtual client. As shown, the computer device 2 includes, but is not limited to, at least a memory 21, a processor 22, a network interface 23, and a cell message pushing system 20, which are communicatively connected to each other through a system bus, wherein:

in this embodiment, the memory 21 includes at least one type of computer-readable storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 21 may be an internal storage unit of the computer device 2, such as a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (Secure Digital) SD Card, a Flash memory Card (Flash Card), etc. provided on the computer device 20, and of course, the memory 21 may also include both an internal storage unit and an external storage device of the computer device 2. In this embodiment, the memory 21 is used for storing an operating system installed in the computer device 2 and various application software, such as a program code of the air conditioner cell message push system 20. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.

Processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip in some embodiments. The processor 22 is typically used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is configured to execute the program code stored in the memory 21 or process data, for example, execute the cell message pushing system 20, so as to implement the method for pushing the cell message.

The network interface 23 may comprise a wireless network interface or a limited network interface, and the network interface 23 is typically used for establishing a communication connection between the computer device 2 and other electronic apparatuses. For example, the network interface 23 is used to connect the computer device 2 with an external terminal necklace, establish a data transmission channel and a communication connection between the computer device 2 and an external interrupt, and the like via a network. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), Wi-Fi, and the like.

In this embodiment, the cell message pushing system 20 stored in the memory 21 can be further divided into one or more program modules, and the one or more program modules are stored in the memory 21 and executed by one or more processors (in this embodiment, the processor 22) to complete the present invention.

In addition, the present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application store, etc., on which a computer program is stored, which when executed by a processor implements a corresponding function. The computer readable storage medium of the embodiment is used for storing the cell message pushing system 20, and when executed by the processor, the cell message pushing method of the invention is implemented.

Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.

The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种配电柜、配电柜安全管理系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!