CN112860721A - Cloud data updating method, device and system for smart park - Google Patents

Cloud data updating method, device and system for smart park Download PDF

Info

Publication number
CN112860721A
CN112860721A CN202110268210.9A CN202110268210A CN112860721A CN 112860721 A CN112860721 A CN 112860721A CN 202110268210 A CN202110268210 A CN 202110268210A CN 112860721 A CN112860721 A CN 112860721A
Authority
CN
China
Prior art keywords
cloud data
updating
data
information
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110268210.9A
Other languages
Chinese (zh)
Inventor
杨兴云
李坤
李旭滨
陈吉胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unisound Intelligent Technology Co Ltd
Xiamen Yunzhixin Intelligent Technology Co Ltd
Original Assignee
Unisound Intelligent Technology Co Ltd
Xiamen Yunzhixin Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unisound Intelligent Technology Co Ltd, Xiamen Yunzhixin Intelligent Technology Co Ltd filed Critical Unisound Intelligent Technology Co Ltd
Priority to CN202110268210.9A priority Critical patent/CN112860721A/en
Publication of CN112860721A publication Critical patent/CN112860721A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The application discloses cloud data updating method, device and system of smart park, belongs to the smart park field, the method includes: acquiring first cloud data in a first time and second cloud data in a second time; obtaining updating information according to the second cloud data and the first cloud data; sending the updating information to terminal equipment so that the terminal equipment updates terminal data according to the updating information; the first cloud data are stored in a middle database, are continuously updated through the updating information, and are stored.

Description

Cloud data updating method, device and system for smart park
Technical Field
The application belongs to the field of smart parks, and particularly relates to a cloud data updating method, device and system of the smart park.
Background
Wisdom garden utilizes big data and internet of things to carry out the data ization management to the garden, if carry out unification management etc. to the equipment and the current rule in garden through wisdom garden system. In the prior art, in the process of managing the traffic rule data in the campus by using the intelligent campus system, a mode that the cloud end directly issues the personnel information in the current rule to the terminal device is generally adopted, however, when the cloud end issues the rule to the device, all the personnel information needs to be completely deleted and increased once, the personnel face characteristics are extracted, the terminal device receiving the rule data repeatedly processes the characteristic information of non-incremental personnel, the requirements on the computing capacity and the network bandwidth of the terminal device are higher, if the rule data contains more personnel, the terminal device is easy to crash when the rule is issued, and the work efficiency of the system is seriously influenced.
Content of application
The embodiment of the application aims to provide a cloud data updating method, device and system of a smart park, and the problem that existing cloud and terminal equipment are low in data updating efficiency can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a cloud data updating method for an intelligent park, where the method includes:
acquiring first cloud data in a first time and second cloud data in a second time;
obtaining updating information according to the second cloud data and the first cloud data;
sending the updating information to terminal equipment so that the terminal equipment updates terminal data according to the updating information;
the first cloud data are stored in a middle database, are continuously updated through the updating information, and are stored.
Further, the update information is difference data between the second cloud data and the first cloud data.
Further, before sending the update information to the terminal device, the method further includes:
and generating a queue according to the updating information and issuing instruction information to the terminal equipment so as to remind the terminal equipment to receive the updating information.
Further, the method further comprises:
receiving updating completion information of the terminal equipment;
and under the condition of receiving the updating completion information, updating the first cloud data in the intermediate database.
Further, the terminal data is the same as the data in the intermediate database.
Further, the method further comprises:
and establishing a data synchronization link so as to synchronize the intermediate database with the data of the terminal equipment.
In a second aspect, the present embodiment provides a cloud data updating apparatus for a smart campus, the apparatus includes:
the data acquisition module is used for acquiring first cloud data in a first time and second cloud data in a second time;
the updating module is used for obtaining updating information according to the second cloud data and the first cloud data, continuously updating the first cloud data through the updating information, and storing the updated first cloud data, wherein the first cloud data is stored in the intermediate database;
and the communication module is used for sending the updating information to the terminal equipment so that the terminal equipment updates the terminal data according to the updating information.
In a third aspect, the present embodiment provides a system, including:
the cloud terminal is used for acquiring first cloud data in a first time and second cloud data in a second time, obtaining updating information according to the second cloud data and the first cloud data, generating queue issuing instruction information according to the updating information, and issuing the updating information and the queue issuing instruction information to the terminal equipment;
and the terminal equipment is used for communicating with the cloud, receiving the updating information and the queue issuing instruction information, and updating the data of the terminal equipment according to the updating information.
In a fourth aspect, the present embodiment provides an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of a cloud data updating method for a smart campus.
In a fifth aspect, a readable storage medium is provided, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of a cloud data updating method for an intelligent park.
In the embodiment of the application, by acquiring the first cloud data and the second cloud data at adjacent moments, the updating information containing the increment and decrement is calculated according to the first cloud data and the second cloud data, and the updating information is issued to the terminal device, and the terminal device only needs to update data according to the data in the updating information, so that the data processing efficiency of the system can be greatly improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a cloud data updating method for an intelligent campus according to the present embodiment;
fig. 2 is a schematic structural diagram of a cloud data updating apparatus of a smart campus provided in this embodiment;
fig. 3 is a schematic structural diagram of a cloud data updating system of a smart campus provided in this embodiment;
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The cloud data updating method, device and system for the smart campus provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
The present embodiment provides a cloud data updating method for an intelligent park, referring to fig. 1, the method includes the following steps:
step S1: acquiring first cloud data in a first time and second cloud data in a second time;
in this embodiment, the first cloud data and the second cloud data are rule data uploaded by a cloud administrator, and the rule data may include data such as a community personnel passing rule, an owner's parking rule, and an access control rule, for example, the community personnel passing rule is that only when the terminal device recognizes chip data with the community information, the access control is controlled to be opened. The first cloud data and the second cloud data may include information such as terminal devices, personal information, and time.
The first time is earlier than the second time, for example, the first time is 8 o 'clock, and the second time is 8 o' clock 01 minutes, so that the second cloud data is updated data relative to the first cloud data.
The manner of acquiring the first cloud data and the second cloud data may be that a manager uploads the data to a cloud server through a transmission interface or a network channel, and the cloud server stores the first cloud data and the second cloud data.
In this embodiment, an intermediate database is created, and the intermediate database is used for storing the first cloud data and the second cloud data.
Step S2: obtaining updating information according to the second cloud data and the first cloud data;
as can be seen from the above step S1, the second cloud data is updated data relative to the first cloud data, so that the update information can be obtained according to the difference between the second cloud data and the first cloud data, where the update information is the difference between the second cloud data and the first cloud data. For example, the staff information in the first cloud data includes 100 persons, and the staff information in the second cloud data includes 102 persons, so that the specific information of 2 persons that are more in the second cloud data than in the first cloud data is the update information.
After the update information is generated, the cloud adds the update information to the message queue emqtt, so that the update information is sent to the terminal device through the message queue, and meanwhile, the queue issuing instruction information is generated according to the update information to the terminal device so as to remind the terminal device to receive the update information. Meanwhile, the terminal device monitors the emqtt of the cloud end at the moment of topic communication so as to receive the updating information sent by the cloud end at any time.
Step S3: and sending the update information to the terminal equipment so that the terminal equipment updates the terminal data according to the update information.
And after the terminal equipment monitors the queue issuing instruction, immediately receiving the updating information in the message queue, updating the terminal data according to the updating information, and storing the terminal data. After the terminal equipment finishes updating and stores data, updating completion information is reported to the terminal, and the updating completion information can be realized by sending ack information to the cloud.
And after the cloud end receives the update completion information, namely the ack message, of the terminal equipment, the first cloud end data in the intermediate database is continuously updated through the update information. And storing the updated first cloud data so as to enable the first cloud data to be consistent with the data in the terminal equipment.
It should be noted that, in this embodiment, a data synchronization link is further established, so that the data of the terminal device and the intermediate database are synchronized, so that the terminal data is the same as the data in the intermediate database.
According to the embodiment, the first cloud data and the second cloud data at adjacent moments are obtained, the updating information containing the increment and decrement is calculated according to the first cloud data and the second cloud data, the updating information is issued to the terminal device, the terminal device only needs to update data according to the data in the updating information, and the data processing efficiency of the system can be greatly improved.
In accordance with the above embodiments, the present embodiment provides a cloud data updating apparatus 20 for a smart park, referring to fig. 2, the apparatus including:
the data acquisition module 21 is configured to acquire first cloud data in a first time and second cloud data in a second time; the specific functions implemented by the modules are described in step S1, and are not described herein again.
The updating module 22 is configured to obtain updating information according to the second cloud data and the first cloud data, continuously update the first cloud data according to the updating information, and store the updated first cloud data, where the first cloud data is stored in the intermediate database; the specific functions implemented by the modules are described in step S2, and are not described herein again.
The communication module 23 is configured to send the update information to the terminal device, so that the terminal device updates the terminal data according to the update information. The specific functions implemented by the modules are described in step S3, and are not described herein again.
According to the embodiment, the first cloud data and the second cloud data at adjacent moments are obtained, the updating information containing the increment and decrement is calculated according to the first cloud data and the second cloud data, the updating information is issued to the terminal device, the terminal device only needs to update data according to the data in the updating information, and the data processing efficiency of the system can be greatly improved.
The cloud data updating device of wisdom garden in this application embodiment can be the device, also can be the part in the terminal, integrated circuit, or chip. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The cloud data updating device of the smart park in the embodiment of the application can be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The cloud data updating device of the smart park provided by the embodiment of the application can realize each process realized by the cloud data updating method of the smart park in the method embodiment of fig. 1, and is not repeated here.
The present embodiment provides a system, referring to fig. 3, including:
the cloud terminal is used for acquiring first cloud data in a first time and second cloud data in a second time, obtaining updating information according to the second cloud data and the first cloud data, generating queue issuing instruction information according to the updating information, and issuing the updating information and the queue issuing instruction information to the terminal equipment;
and the terminal equipment is used for communicating with the cloud, receiving the updating information and the queue issuing instruction information, and updating the data of the terminal equipment according to the updating information.
The embodiment also provides an electronic device, which comprises a processor, a memory and a program or an instruction which is stored on the memory and can run on the processor, wherein when the program or the instruction is executed by the processor, the cloud data updating method of the intelligent park is realized.
The present embodiment further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the method for updating cloud data of the smart park can achieve the same technical effect, and is not described herein again to avoid repetition.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
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. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A cloud data updating method for a smart park is characterized by comprising the following steps:
acquiring first cloud data in a first time and second cloud data in a second time;
obtaining updating information according to the second cloud data and the first cloud data;
sending the updating information to terminal equipment so that the terminal equipment updates terminal data according to the updating information;
the first cloud data are stored in a middle database, are continuously updated through the updating information, and are stored.
2. The method as claimed in claim 1, wherein the update information is a difference between the second cloud data and the first cloud data.
3. The cloud data updating method for the intelligent park as claimed in claim 1, wherein before sending the update information to the terminal device, the method further comprises:
and generating a queue according to the updating information and issuing instruction information to the terminal equipment so as to remind the terminal equipment to receive the updating information.
4. The method of claim 1, further comprising:
receiving updating completion information of the terminal equipment;
and under the condition of receiving the updating completion information, updating the first cloud data in the intermediate database.
5. The cloud data updating method for intelligent campus of claim 1 wherein said terminal data is the same as said intermediate database.
6. The method as claimed in claim 1 or 5, wherein the method further comprises:
and establishing a data synchronization link so as to synchronize the intermediate database with the data of the terminal equipment.
7. The utility model provides a high in clouds data update device in wisdom garden, a serial communication port, the device includes:
the data acquisition module is used for acquiring first cloud data in a first time and second cloud data in a second time;
the updating module is used for obtaining updating information according to the second cloud data and the first cloud data, continuously updating the first cloud data through the updating information, and storing the updated first cloud data, wherein the first cloud data is stored in the intermediate database;
and the communication module is used for sending the updating information to the terminal equipment so that the terminal equipment updates the terminal data according to the updating information.
8. A system, characterized in that the system comprises:
the cloud terminal is used for acquiring first cloud data in a first time and second cloud data in a second time, obtaining updating information according to the second cloud data and the first cloud data, generating queue issuing instruction information according to the updating information, and issuing the updating information and the queue issuing instruction information to the terminal equipment;
and the terminal equipment is used for communicating with the cloud, receiving the updating information and the queue issuing instruction information, and updating the data of the terminal equipment according to the updating information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the cloud data updating method for the intelligent campus as recited in claims 1-6.
10. A readable storage medium storing a program or instructions, which when executed by a processor implements the steps of the cloud data updating method for the intelligent campus of claims 1-6.
CN202110268210.9A 2021-03-12 2021-03-12 Cloud data updating method, device and system for smart park Pending CN112860721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110268210.9A CN112860721A (en) 2021-03-12 2021-03-12 Cloud data updating method, device and system for smart park

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110268210.9A CN112860721A (en) 2021-03-12 2021-03-12 Cloud data updating method, device and system for smart park

Publications (1)

Publication Number Publication Date
CN112860721A true CN112860721A (en) 2021-05-28

Family

ID=75994170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110268210.9A Pending CN112860721A (en) 2021-03-12 2021-03-12 Cloud data updating method, device and system for smart park

Country Status (1)

Country Link
CN (1) CN112860721A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115204693A (en) * 2022-07-21 2022-10-18 滦南铭瑞技术服务有限公司 Intelligent park management method based on artificial intelligence and cloud platform
CN115862206A (en) * 2022-06-09 2023-03-28 上海交慧通达智能科技有限公司 Intelligent park sensorless pass management method and system based on intermediate data layer
CN115862206B (en) * 2022-06-09 2024-04-26 上海交慧通达智能科技有限公司 Intelligent park non-inductive passing management method and system based on intermediate data layer

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645078A (en) * 2009-09-11 2010-02-10 中南大学 System and method for integration of change information collection and spatiotemporal data update]
CN107016027A (en) * 2016-12-08 2017-08-04 阿里巴巴集团控股有限公司 The method and apparatus for realizing business information fast search
WO2017177621A1 (en) * 2016-04-12 2017-10-19 乐视控股(北京)有限公司 Data synchronization method in local area network, and apparatus and user terminal therefor
CN107453780A (en) * 2017-09-13 2017-12-08 深圳真时科技有限公司 A kind of calendar information synchronous method, device and system
CN107733982A (en) * 2017-09-12 2018-02-23 维沃移动通信有限公司 A kind of method of data synchronization, terminal device, cloud server and system
CN110569311A (en) * 2019-10-30 2019-12-13 上海商魁信息科技有限公司 Data synchronization method and device for database and computer storage medium
CN112035139A (en) * 2020-08-21 2020-12-04 深圳Tcl新技术有限公司 Data updating method, device, system and storage medium for intelligent household equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645078A (en) * 2009-09-11 2010-02-10 中南大学 System and method for integration of change information collection and spatiotemporal data update]
WO2017177621A1 (en) * 2016-04-12 2017-10-19 乐视控股(北京)有限公司 Data synchronization method in local area network, and apparatus and user terminal therefor
CN107016027A (en) * 2016-12-08 2017-08-04 阿里巴巴集团控股有限公司 The method and apparatus for realizing business information fast search
CN107733982A (en) * 2017-09-12 2018-02-23 维沃移动通信有限公司 A kind of method of data synchronization, terminal device, cloud server and system
CN107453780A (en) * 2017-09-13 2017-12-08 深圳真时科技有限公司 A kind of calendar information synchronous method, device and system
CN110569311A (en) * 2019-10-30 2019-12-13 上海商魁信息科技有限公司 Data synchronization method and device for database and computer storage medium
CN112035139A (en) * 2020-08-21 2020-12-04 深圳Tcl新技术有限公司 Data updating method, device, system and storage medium for intelligent household equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115862206A (en) * 2022-06-09 2023-03-28 上海交慧通达智能科技有限公司 Intelligent park sensorless pass management method and system based on intermediate data layer
CN115862206B (en) * 2022-06-09 2024-04-26 上海交慧通达智能科技有限公司 Intelligent park non-inductive passing management method and system based on intermediate data layer
CN115204693A (en) * 2022-07-21 2022-10-18 滦南铭瑞技术服务有限公司 Intelligent park management method based on artificial intelligence and cloud platform
CN115204693B (en) * 2022-07-21 2023-10-17 中交西北投资发展有限公司 Intelligent park management method based on artificial intelligence and cloud platform

Similar Documents

Publication Publication Date Title
CN110765744B (en) Multi-user collaborative document editing method and system
CN112508205A (en) Method, device and system for scheduling federated learning
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN111125409B (en) Control method and device of access control system and access control system
CN105991731A (en) Method for obtaining information, intelligent terminal and server side
CN111082997B (en) Network function arrangement method based on service identification in mobile edge computing platform
CN110928950A (en) Block chain transaction information management method and device, computer equipment and storage medium
CN112839067A (en) Data synchronization method and device
CN112463422A (en) Internet of things fault operation and maintenance method and device, computer equipment and storage medium
CN112860721A (en) Cloud data updating method, device and system for smart park
CN110572435B (en) Data processing method of cloud computing system
CN106502856B (en) A kind of information processing method and device
CN112817753A (en) Task processing method and device, storage medium and electronic device
CN104168174A (en) Method and apparatus for information transmission
CN111885171A (en) VR model rapid cloud deployment method
CN111245878A (en) Method for computing and offloading communication network based on hybrid cloud computing and fog computing
CN103731501A (en) Mobile-terminal-based multi-people cooperative management method and system for backlogs
CN115330396A (en) Payment state acquisition method and device, computer equipment and storage medium
CN115309759A (en) Monitoring label synchronization method and device, electronic equipment and storage medium
CN115082038A (en) System integration method and device and electronic equipment
CN114221964A (en) Access request processing method and device, computer equipment and storage medium
CN114567600A (en) Traffic management method and related equipment
CN106155841A (en) The method and system of data backup
Yang et al. A distributed federated transfer learning framework for edge optical network
CN113055472B (en) Internet of things data control method and device based on security authentication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination