CN111639356A - Smart city data sharing system and method - Google Patents

Smart city data sharing system and method Download PDF

Info

Publication number
CN111639356A
CN111639356A CN202010489768.5A CN202010489768A CN111639356A CN 111639356 A CN111639356 A CN 111639356A CN 202010489768 A CN202010489768 A CN 202010489768A CN 111639356 A CN111639356 A CN 111639356A
Authority
CN
China
Prior art keywords
data
module
city
backup
target
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.)
Withdrawn
Application number
CN202010489768.5A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010489768.5A priority Critical patent/CN111639356A/en
Publication of CN111639356A publication Critical patent/CN111639356A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Abstract

The invention belongs to the technical field of smart city data sharing, and discloses a smart city data sharing system and a smart city data sharing method, wherein the smart city data sharing system comprises the following components: the system comprises a city data acquisition module, a data transmission module, a central control module, a data encryption module, a data statistics module, a data calling module, a data publishing module, a data cloud storage module, a terminal module, a data backup module and a display module. According to the invention, the encryption operation of the urban data is rapidly realized through the data encryption module, so that violent cracking of malicious programs on the encrypted urban data is effectively prevented, and the safety of the urban data is improved; the data backup module solves the problems that in the prior art, a specific database object cannot be backed up or the backup and reduction efficiency is low and the urban data is damaged because a physical backup and logical backup mode is simply adopted, and achieves the effect of efficiently and nondestructively backing up and reducing the data of the specific urban database object.

Description

Smart city data sharing system and method
Technical Field
The invention belongs to the technical field of smart city data sharing, and particularly relates to a smart city data sharing system and method.
Background
Smart City (English) is originated in the media field, and means that various information technologies or innovative concepts are utilized to make the system and service of the City open and integrated, so as to improve the efficiency of resource application, optimize City management and service, and improve the quality of life of citizens. The smart city is a city informationized advanced form which fully applies a new generation of information technology to various industries in the city based on the next generation innovation (innovation 2.0) of the knowledge society, realizes the deep integration of informatization, industrialization and urbanization, is beneficial to relieving the large urban diseases, improving the urbanization quality, realizing the fine and dynamic management, improving the urban management effect and improving the quality of life of citizens. However, the security of the city data obtained by the existing smart city data sharing system and method is low; meanwhile, the urban data backup efficiency is low.
In summary, the problems and disadvantages of the prior art are: the security of city data obtained by the existing smart city data sharing system and method is low; meanwhile, the urban data backup efficiency is low.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a smart city data sharing system and a smart city data sharing method.
The invention is realized in such a way, and provides a smart city data sharing method, which comprises the following steps:
step one, urban traffic, geography, hydroelectric power, environment, business and culture data information is collected through an urban data collection module by utilizing urban monitoring equipment.
Step two, the acquired city data is sent to a central processing unit by a data transmission module through communication equipment; and the central control module controls the normal work of each module of the smart city data sharing system by using the central processing unit.
And thirdly, selecting at least one section of target city data section from the city data to be encrypted by using the encryption program through the data encryption module.
Performing encryption operation on the selected target city data segment according to a preset encryption algorithm to obtain a corresponding encryption character string; and adjusting the character arrangement sequence of the encrypted character string to obtain a target character string.
Replacing the target city data segment in the city data to be encrypted with a corresponding target character string to realize the encryption of the city data; the city data are counted by a data counting module by using a counting program; and sharing and calling the city data by using a calling program through a data calling module.
And step six, when the data issuing module receives a data sharing instruction of the data shared by the central processing unit, determining the data type of the data to be shared through an issuing program.
Step seven, when the data type of the data to be shared is screen display data, sending a screen sharing request to target equipment which establishes WiFi direct connection; and when the type of the data to be shared is file data, sending the file data to a folder displayed on a display interface of the target equipment through the WiFi direct connection.
And step eight, when receiving a sharing response message returned by the target equipment according to the screen sharing request, executing screen sharing operation and issuing and sharing the city data.
And step nine, storing the acquired urban data, the statistical information, the shared calling information and the release information by using a cloud database server through a data cloud storage module.
Step ten, the terminal module sends the smart city data to the mobile terminal through the cloud database server, and remote control of the smart city data sharing system is conducted.
Step eleven, identifying a target backup tree matched with the urban data backup request by a data backup module through a backup program according to the urban data backup request; the target backup tree comprises at least one node, and different nodes correspond to different city data pages.
Step twelve, according to the backup rule matched with the logical relationship between the city data pages corresponding to the target backup tree, backing up the city data pages corresponding to each node in the target backup tree to obtain backup city data pages; and the city data page records the position information of the nodes in the target backup tree.
Step thirteen, sequentially storing each backup city data page in a continuous storage space to realize backup of the smart city data; the storage sequence carries the logical relationship between the backup city data pages.
And step fourteen, utilizing a display to display the acquired city data, statistical information, sharing calling information and real-time data of the issued information through a display module.
Further, in step three, the method for selecting at least one target city data segment from the city data to be encrypted includes:
selecting a city data segment at a fixed position and/or a city data segment designated by a user in the city data to be encrypted as the target city data segment;
the encryption operation of the selected target city data segment according to a preset encryption algorithm comprises the following steps: carrying out encryption operation on the target city data segment by adopting a message digest encryption algorithm;
the adjusting the character arrangement sequence of the encrypted character string to obtain a target character string includes: adjusting the character arrangement sequence of the encrypted character strings according to a preset rule; carrying out first cyclic displacement coding on the character string after the character arrangement sequence is adjusted to obtain a target character string; the first cyclic shift encoding of the character string after the adjustment of the character arrangement sequence comprises: and performing cyclic shift coding on the character string after the character arrangement sequence is adjusted by adopting an ROT13 coding mode.
Further, in step four, the method for adjusting the character arrangement order of the encrypted character strings according to the preset rule includes:
performing a second cyclic shift encoding on the encrypted string, the performing the second cyclic shift encoding on the encrypted string comprising: reversing the password order for the encrypted string; exchanging the positions of every two adjacent characters in the coded character string, and if the number of the characters in the coded character string is singular, keeping the last position unchanged; and splitting the character string after the position exchange into at least two data segments, and exchanging the positions of the obtained at least two city data segments.
Further, in the sixth step, the method for publishing and sharing the city data through the data publishing module further includes:
receiving an operation instruction for setting the current network connection type as WiFi direct connection;
controlling the intelligent equipment to switch the network connection into WiFi direct connection, and establishing WiFi direct connection with target equipment within a preset range;
and when a first preset operation triggered by a physical keyboard or a second preset operation triggered by a touch screen is received, determining that a data sharing instruction of shared data is received.
Further, in step six, the method for determining the data type of the data to be shared includes:
when a data sharing instruction of the shared data is received, determining whether selected file data exists;
if the selected file data exists, determining the data type of the data to be shared as the file data;
and if the selected file data does not exist, determining the data type of the data to be shared as screen display data.
Further, in step twelve, the method for matching backup rules with the logical relationship between the city data pages corresponding to the target backup tree includes:
the method comprises the steps that city data pages of all son nodes corresponding to a target node and the city data pages of the target node are sequentially backed up, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup city data page of the target node is stored at the tail of the storage positions of the backup city data pages of all the son nodes corresponding to the target node, and the backup city data page of the root node is stored at the tail of the storage space.
Further, the method for backing up the city data pages corresponding to the nodes in the target backup tree according to the backup rule matched with the logical relationship between the city data pages corresponding to the target backup tree to obtain the backup city data pages includes:
setting a first city data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up city data page, and when the current page is determined not to be the first city data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first city data page, completing the backup of the target backup tree.
Another object of the present invention is to provide a smart city data sharing system using the smart city data sharing method, the smart city data sharing system comprising:
the city data acquisition module is connected with the central control module and is used for acquiring data information of city traffic, geography, hydroelectric power, environment, commerce and culture through city monitoring equipment;
the data transmission module is connected with the central control module and used for transmitting the acquired urban data to the central processor through the communication equipment;
the central control module is connected with the urban data acquisition module, the data transmission module, the data encryption module, the data statistics module, the data calling module, the data publishing module, the data cloud storage module, the terminal module, the data backup module and the display module and is used for controlling the normal work of each module of the smart urban data sharing system through the central processing unit;
the data encryption module is connected with the central control module and used for encrypting the city data through an encryption program;
the data statistics module is connected with the central control module and is used for carrying out statistics on the urban data through a statistics program;
the data calling module is connected with the central control module and used for sharing and calling the city data through a calling program;
the data publishing module is connected with the central control module and is used for publishing and sharing the urban data through a publishing program;
the data cloud storage module is connected with the central control module and used for storing the acquired urban data, the statistical information, the sharing calling information and the release information through the cloud database server;
the terminal module is connected with the central control module and used for sending the smart city data to the mobile terminal through the cloud database server and carrying out remote control on the smart city data sharing system;
the data backup module is connected with the central control module and used for backing up the smart city data through a backup program;
and the display module is connected with the central control module and used for displaying the acquired city data, statistical information, sharing calling information and issuing real-time data of the information through the display.
Another object of the present invention is to provide a computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface to implement the smart city data sharing method when executed on an electronic device.
Another object of the present invention is to provide a computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to execute the smart city data sharing method.
By combining all the technical schemes, the invention has the advantages and positive effects that: according to the method, the data encryption module is used for carrying out encryption operation on the target city data segment in the city data to be encrypted, the character arrangement sequence of the encrypted character string after the encryption operation is adjusted to obtain the target character string, and then the target city data segment in the city data to be encrypted is replaced by the corresponding target character string, so that the encryption operation of the city data is rapidly realized, the violent cracking of malicious programs on the encrypted city data is effectively prevented, and the safety of the city data is improved.
According to the method and the device, when the source device receives the data sharing instruction of the shared data through the data issuing module, for example, when the data sharing instruction generated by the user executing the preset sliding operation on the touch screen is received, the data type of the data to be shared can be determined, and the screen sharing operation is executed when the data type is the screen display data, so that the user executing the sliding operation on the touch screen can execute the screen sharing operation among the intelligent devices, the screen sharing operation is simplified, and the experience of the user using the intelligent devices is optimized. When the data type is determined to be the file data, the file data is directly sent to the position below the folder displayed on the interface of the target device, so that the file is directly dragged to the position below the target folder of the target device, and the operation of file transmission is simplified.
Meanwhile, the target backup tree matched with the urban data backup request is identified through the data backup module, the data pages corresponding to the nodes in the target backup tree are backed up according to the backup rules matched with the logical relations among the data pages corresponding to the target backup tree to obtain backup urban data pages, and the backup urban data pages are sequentially stored in the continuous storage space.
Drawings
Fig. 1 is a flowchart of a smart city data sharing method according to an embodiment of the present invention.
FIG. 2 is a block diagram of a smart city data sharing system according to an embodiment of the present invention;
in the figure: 1. a city data acquisition module; 2. a data transmission module; 3. a central control module; 4. a data encryption module; 5. a data statistics module; 6. a data calling module; 7. a data release module; 8. a data cloud storage module; 9. a terminal module; 10. a data backup module; 11. and a display module.
Fig. 3 is a flowchart of a method for encrypting city data by an encryption program according to an embodiment of the present invention.
Fig. 4 is a flowchart of a method for publishing and sharing city data through a publishing program according to an embodiment of the present invention.
Fig. 5 is a flowchart of a method for backing up smart city data through a backup program according to an embodiment of the present invention.
Detailed Description
In order to further understand the contents, features and effects of the present invention, the following embodiments are illustrated and described in detail with reference to the accompanying drawings.
The structure of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the smart city data sharing method provided in the embodiment of the present invention includes the following steps:
and S101, acquiring data information of urban traffic, geography, hydroelectric power, environment, business and culture by utilizing urban monitoring equipment through an urban data acquisition module.
And S102, the collected city data are sent to a central processing unit through a data transmission module by using communication equipment, and the central processing unit is used for controlling the normal work of each module of the smart city data sharing system through a central control module.
S103, encrypting the city data by using an encryption program through a data encryption module; and counting the city data by using a statistical program through a data statistical module.
S104, sharing and calling city data by using a calling program through a data calling module; and the city data is published and shared by a data publishing module by using a publishing program.
And S105, storing the acquired urban data, the statistical information, the shared calling information and the release information by using a cloud database server through a data cloud storage module.
And S106, sending the smart city data to the mobile terminal through the terminal module by using the cloud database server, and performing remote control on the smart city data sharing system.
S107, the smart city data are backed up through a data backup module by using a backup program; and displaying the acquired city data, statistical information, sharing calling information and real-time data of the release information by using a display through a display module.
As shown in fig. 2, the smart city data sharing system according to the embodiment of the present invention includes: the system comprises a city data acquisition module 1, a data transmission module 2, a central control module 3, a data encryption module 4, a data statistics module 5, a data calling module 6, a data publishing module 7, a data cloud storage module 8, a terminal module 9, a data backup module 10 and a display module 11.
The urban data acquisition module 1 is connected with the central control module 3 and is used for acquiring urban traffic, geography, hydroelectric power, environment, business and culture data information through urban monitoring equipment;
the data transmission module 2 is connected with the central control module 3 and used for transmitting the acquired urban data to the central processor through communication equipment;
the central control module 3 is connected with the city data acquisition module 1, the data transmission module 2, the data encryption module 4, the data statistics module 5, the data calling module 6, the data publishing module 7, the data cloud storage module 8, the terminal module 9, the data backup module 10 and the display module 11, and is used for controlling the normal work of each module of the smart city data sharing system through a central processing unit;
the data encryption module 4 is connected with the central control module 3 and used for encrypting the city data through an encryption program;
the data statistics module 5 is connected with the central control module 3 and is used for carrying out statistics on the city data through a statistics program;
the data calling module 6 is connected with the central control module 3 and used for sharing and calling the city data through a calling program;
the data publishing module 7 is connected with the central control module 3 and used for publishing and sharing the city data through a publishing program;
the data cloud storage module 8 is connected with the central control module 3 and used for storing the acquired city data, the statistical information, the sharing calling information and the release information through a cloud database server;
the terminal module 9 is connected with the central control module 3 and used for sending the smart city data to the mobile terminal through the cloud database server and performing remote control on the smart city data sharing system;
the data backup module 10 is connected with the central control module 3 and used for backing up the smart city data through a backup program;
and the display module 11 is connected with the central control module 3 and is used for displaying the acquired city data, statistical information, sharing calling information and real-time data of the issued information through a display.
The invention is further described with reference to specific examples.
Example 1
Fig. 1 shows a smart city data sharing method according to an embodiment of the present invention, and fig. 3 shows a preferred embodiment of the smart city data sharing method according to an embodiment of the present invention, where the method for encrypting city data by an encryption program includes:
s201, selecting at least one section of target city data section from the city data to be encrypted through an encryption program.
S202, carrying out encryption operation on the selected target city data segment according to a preset encryption algorithm to obtain a corresponding encryption character string; and adjusting the character arrangement sequence of the encrypted character string to obtain a target character string.
S203, replacing the target city data segment in the city data to be encrypted with the corresponding target character string to realize the encryption of the city data.
The method for selecting at least one section of target city data from city data to be encrypted, provided by the embodiment of the invention, comprises the following steps: selecting a city data segment at a fixed position and/or a city data segment designated by a user in the city data to be encrypted as the target city data segment; the encryption operation of the selected target city data segment according to a preset encryption algorithm comprises the following steps: and carrying out encryption operation on the target city data segment by adopting a message digest encryption algorithm.
The adjusting of the character arrangement order of the encrypted character strings to obtain the target character string provided by the embodiment of the invention comprises: adjusting the character arrangement sequence of the encrypted character strings according to a preset rule; carrying out first cyclic displacement coding on the character string after the character arrangement sequence is adjusted to obtain a target character string; the first cyclic shift encoding of the character string after the adjustment of the character arrangement sequence comprises: and performing cyclic shift coding on the character string after the character arrangement sequence is adjusted by adopting an ROT13 coding mode.
The adjusting of the character arrangement sequence of the encrypted character string according to the preset rule provided by the embodiment of the invention comprises the following steps: performing a second cyclic shift encoding on the encrypted string, the performing the second cyclic shift encoding on the encrypted string comprising: reversing the password order for the encrypted string; exchanging the positions of every two adjacent characters in the coded character string, and if the number of the characters in the coded character string is singular, keeping the last position unchanged; and splitting the character string after the position exchange into at least two data segments, and exchanging the positions of the obtained at least two city data segments.
Example 2
Fig. 1 shows a smart city data sharing method according to an embodiment of the present invention, and fig. 4 shows a preferred embodiment of the smart city data sharing method according to an embodiment of the present invention, where the method for publishing and sharing city data through a publishing program includes:
s301, when the data issuing module receives a data sharing instruction of the data shared by the central processing unit, the data type of the data to be shared is determined through the issuing program.
S302, when the data type of the data to be shared is screen display data, sending a screen sharing request to target equipment which establishes WiFi direct connection.
And S303, when the type of the data to be shared is file data, sending the file data to a folder displayed on a display interface of the target equipment through the WiFi direct connection.
S304, when receiving the sharing response message returned by the target device according to the screen sharing request, executing screen sharing operation, and issuing and sharing the city data.
The method for publishing and sharing city data through the data publishing module provided by the embodiment of the invention further comprises the following steps:
receiving an operation instruction for setting the current network connection type as WiFi direct connection;
controlling the intelligent equipment to switch the network connection into WiFi direct connection, and establishing WiFi direct connection with target equipment within a preset range;
and when a first preset operation triggered by a physical keyboard or a second preset operation triggered by a touch screen is received, determining that a data sharing instruction of shared data is received.
The method for determining the data type of the data to be shared provided by the embodiment of the invention comprises the following steps:
when a data sharing instruction of the shared data is received, determining whether selected file data exists;
if the selected file data exists, determining the data type of the data to be shared as the file data;
and if the selected file data does not exist, determining the data type of the data to be shared as screen display data.
Example 3
Fig. 1 shows a smart city data sharing method according to an embodiment of the present invention, and fig. 5 shows a preferred embodiment of the smart city data sharing method according to an embodiment of the present invention, where the method for backing up smart city data through a backup program includes:
s401, identifying a target backup tree matched with the city data backup request according to the city data backup request through a backup program, wherein the target backup tree comprises at least one node, and different nodes correspond to different city data pages.
S402, according to a backup rule matched with the logical relationship between the city data pages corresponding to the target backup tree, backing up the city data pages corresponding to the nodes in the target backup tree to obtain backup city data pages, wherein position information of the nodes in the target backup tree is recorded in the city data pages.
And S403, sequentially storing each backup city data page in a continuous storage space, wherein the storage sequence carries the logical relationship among the backup city data pages.
The method for matching the backup rule with the logical relationship between the city data pages corresponding to the target backup tree provided by the embodiment of the invention comprises the following steps:
the method comprises the steps that city data pages of all son nodes corresponding to a target node and the city data pages of the target node are sequentially backed up, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup city data page of the target node is stored at the tail of the storage positions of the backup city data pages of all the son nodes corresponding to the target node, and the backup city data page of the root node is stored at the tail of the storage space.
The backup rule matching the logical relationship between the urban data pages corresponding to the target backup tree provided by the embodiment of the invention backs up the urban data pages corresponding to each node in the target backup tree to obtain the backup urban data pages, and the backup rule comprises:
setting a first city data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up city data page, and when the current page is determined not to be the first city data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first city data page, completing the backup of the target backup tree.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When used in whole or in part, can be implemented in a computer program product that includes one or more computer instructions. When loaded or executed on a computer, cause the flow or functions according to embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.)). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the purpose of illustrating the present invention and the appended claims are not to be construed as limiting the scope of the invention, which is intended to cover all modifications, equivalents and improvements that are within the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A smart city data sharing method is characterized by comprising the following steps:
acquiring data information of urban traffic, geography, hydroelectric power, environment, commerce and culture by utilizing urban monitoring equipment through an urban data acquisition module;
step two, the acquired city data is sent to a central processing unit by a data transmission module through communication equipment; the central control module controls each module of the smart city data sharing system to work normally by utilizing a central processing unit;
selecting at least one target city data segment from the city data to be encrypted by using an encryption program through a data encryption module;
performing encryption operation on the selected target city data segment according to a preset encryption algorithm to obtain a corresponding encryption character string; adjusting the character arrangement sequence of the encrypted character string to obtain a target character string;
replacing the target city data segment in the city data to be encrypted with a corresponding target character string to realize the encryption of the city data; the city data are counted by a data counting module by using a counting program; sharing and calling city data by using a calling program through a data calling module;
step six, when the data issuing module receives a data sharing instruction of the data shared by the central processing unit, determining the data type of the data to be shared through an issuing program;
step seven, when the data type of the data to be shared is screen display data, sending a screen sharing request to target equipment which establishes WiFi direct connection; when the type of the data to be shared is file data, sending the file data to a folder displayed on a display interface of the target equipment through the WiFi direct connection;
step eight, when receiving a sharing response message returned by the target equipment according to the screen sharing request, executing screen sharing operation, and issuing and sharing city data;
step nine, storing the acquired urban data, the statistical information, the shared calling information and the release information by using a cloud database server through a data cloud storage module;
step ten, sending the smart city data to a mobile terminal through a terminal module by utilizing a cloud database server, and performing remote control on the smart city data sharing system;
step eleven, identifying a target backup tree matched with the urban data backup request by a data backup module through a backup program according to the urban data backup request; the target backup tree comprises at least one node, and different nodes correspond to different city data pages;
step twelve, according to the backup rule matched with the logical relationship between the city data pages corresponding to the target backup tree, backing up the city data pages corresponding to each node in the target backup tree to obtain backup city data pages; the city data page records the position information of the nodes in the target backup tree;
step thirteen, sequentially storing each backup city data page in a continuous storage space to realize backup of the smart city data; the storage sequence carries the logical relationship among the backup urban data pages;
and step fourteen, utilizing a display to display the acquired city data, statistical information, sharing calling information and real-time data of the issued information through a display module.
2. The smart city data sharing method according to claim 1, wherein in step three, the method for selecting at least one target city data segment from the city data to be encrypted comprises:
selecting a city data segment at a fixed position and/or a city data segment designated by a user in the city data to be encrypted as the target city data segment;
the encryption operation of the selected target city data segment according to a preset encryption algorithm comprises the following steps: carrying out encryption operation on the target city data segment by adopting a message digest encryption algorithm;
the adjusting the character arrangement sequence of the encrypted character string to obtain a target character string includes: adjusting the character arrangement sequence of the encrypted character strings according to a preset rule; carrying out first cyclic displacement coding on the character string after the character arrangement sequence is adjusted to obtain a target character string; the first cyclic shift encoding of the character string after the adjustment of the character arrangement sequence comprises: and performing cyclic shift coding on the character string after the character arrangement sequence is adjusted by adopting an ROT13 coding mode.
3. The smart city data sharing method of claim 1, wherein in step four, the method for adjusting the character arrangement order of the encrypted character strings according to the preset rule comprises:
performing a second cyclic shift encoding on the encrypted string, the performing the second cyclic shift encoding on the encrypted string comprising: reversing the password order for the encrypted string; exchanging the positions of every two adjacent characters in the coded character string, and if the number of the characters in the coded character string is singular, keeping the last position unchanged; and splitting the character string after the position exchange into at least two data segments, and exchanging the positions of the obtained at least two city data segments.
4. The smart city data sharing method of claim 1, wherein in step six, the method for sharing city data by publishing through the data publishing module further comprises:
receiving an operation instruction for setting the current network connection type as WiFi direct connection;
controlling the intelligent equipment to switch the network connection into WiFi direct connection, and establishing WiFi direct connection with target equipment within a preset range;
and when a first preset operation triggered by a physical keyboard or a second preset operation triggered by a touch screen is received, determining that a data sharing instruction of shared data is received.
5. The smart city data sharing method of claim 1, wherein in step six, the method for determining the data type of the data to be shared comprises:
when a data sharing instruction of the shared data is received, determining whether selected file data exists;
if the selected file data exists, determining the data type of the data to be shared as the file data;
and if the selected file data does not exist, determining the data type of the data to be shared as screen display data.
6. The smart city data sharing method according to claim 1, wherein in step twelve, the method of backup rule matching the logical relationship between city data pages corresponding to the target backup tree comprises:
the method comprises the steps that city data pages of all son nodes corresponding to a target node and the city data pages of the target node are sequentially backed up, wherein the target node is an intermediate node and/or a root node with the son nodes;
in the continuous storage space, the backup data pages of all son nodes corresponding to the same target node are sequentially stored, the backup city data page of the target node is stored at the tail of the storage positions of the backup city data pages of all the son nodes corresponding to the target node, and the backup city data page of the root node is stored at the tail of the storage space.
7. The smart city data sharing method according to claim 6, wherein the method for backing up city data pages corresponding to each node included in the target backup tree according to the backup rule matching the logical relationship between the city data pages corresponding to the target backup tree to obtain backup city data pages comprises:
setting a first city data page corresponding to a root node of the target backup tree as a current page;
acquiring position information recorded in the current page;
if the current page comprises the son pages which are not backed up according to the position information, acquiring one son page which is not backed up in the current page as a new current page according to a set sequence, and returning to execute the operation of acquiring the position information recorded in the current page;
if the current page does not comprise the child pages which are not backed up according to the position information, backing up the current page to obtain a backed-up city data page, and when the current page is determined not to be the first city data page, setting the parent page of the current page as a new current page, and returning to execute the operation of acquiring the position information recorded in the current page;
and when the current page is determined to be the first city data page, completing the backup of the target backup tree.
8. A smart city data sharing system using the smart city data sharing method according to any one of claims 1 to 7, wherein the smart city data sharing system comprises:
the city data acquisition module is connected with the central control module and is used for acquiring data information of city traffic, geography, hydroelectric power, environment, commerce and culture through city monitoring equipment;
the data transmission module is connected with the central control module and used for transmitting the acquired urban data to the central processor through the communication equipment;
the central control module is connected with the urban data acquisition module, the data transmission module, the data encryption module, the data statistics module, the data calling module, the data publishing module, the data cloud storage module, the terminal module, the data backup module and the display module and is used for controlling the normal work of each module of the smart urban data sharing system through the central processing unit;
the data encryption module is connected with the central control module and used for encrypting the city data through an encryption program;
the data statistics module is connected with the central control module and is used for carrying out statistics on the urban data through a statistics program;
the data calling module is connected with the central control module and used for sharing and calling the city data through a calling program;
the data publishing module is connected with the central control module and is used for publishing and sharing the urban data through a publishing program;
the data cloud storage module is connected with the central control module and used for storing the acquired urban data, the statistical information, the sharing calling information and the release information through the cloud database server;
the terminal module is connected with the central control module and used for sending the smart city data to the mobile terminal through the cloud database server and carrying out remote control on the smart city data sharing system;
the data backup module is connected with the central control module and used for backing up the smart city data through a backup program;
and the display module is connected with the central control module and used for displaying the acquired city data, statistical information, sharing calling information and issuing real-time data of the information through the display.
9. A computer program product stored on a computer readable medium, comprising a computer readable program for providing a user input interface to implement the smart city data sharing method as claimed in any one of claims 1 to 7 when executed on an electronic device.
10. A computer-readable storage medium storing instructions which, when executed on a computer, cause the computer to perform the smart city data sharing method as claimed in any one of claims 1 to 7.
CN202010489768.5A 2020-06-02 2020-06-02 Smart city data sharing system and method Withdrawn CN111639356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010489768.5A CN111639356A (en) 2020-06-02 2020-06-02 Smart city data sharing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010489768.5A CN111639356A (en) 2020-06-02 2020-06-02 Smart city data sharing system and method

Publications (1)

Publication Number Publication Date
CN111639356A true CN111639356A (en) 2020-09-08

Family

ID=72330634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010489768.5A Withdrawn CN111639356A (en) 2020-06-02 2020-06-02 Smart city data sharing system and method

Country Status (1)

Country Link
CN (1) CN111639356A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113236927A (en) * 2021-05-12 2021-08-10 昆明科泰通信信息系统有限责任公司 Wisdom city data sharing system
CN113382079A (en) * 2021-06-23 2021-09-10 鹤壁国立光电科技股份有限公司 Hybrid system based on data visualization and data sharing
CN114817998A (en) * 2022-06-28 2022-07-29 国汽智控(北京)科技有限公司 Data security calling method and device, electronic equipment and storage medium
CN114943089A (en) * 2022-07-22 2022-08-26 清华大学苏州汽车研究院(吴江) Information security protection system for enterprise operation online data sharing
WO2023005544A1 (en) * 2021-07-26 2023-02-02 海明联合能源集团矩网科技有限公司 Encrypted seal, and secondary encryption method for strip-shaped data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113236927A (en) * 2021-05-12 2021-08-10 昆明科泰通信信息系统有限责任公司 Wisdom city data sharing system
CN113236927B (en) * 2021-05-12 2022-07-26 昆明科泰通信信息系统有限责任公司 Smart city data sharing system
CN113382079A (en) * 2021-06-23 2021-09-10 鹤壁国立光电科技股份有限公司 Hybrid system based on data visualization and data sharing
WO2023005544A1 (en) * 2021-07-26 2023-02-02 海明联合能源集团矩网科技有限公司 Encrypted seal, and secondary encryption method for strip-shaped data
CN114817998A (en) * 2022-06-28 2022-07-29 国汽智控(北京)科技有限公司 Data security calling method and device, electronic equipment and storage medium
CN114943089A (en) * 2022-07-22 2022-08-26 清华大学苏州汽车研究院(吴江) Information security protection system for enterprise operation online data sharing

Similar Documents

Publication Publication Date Title
CN111639356A (en) Smart city data sharing system and method
US20200372039A1 (en) Data processing method, apparatus, and system
US20200044881A1 (en) Managing channels in an open data ecosystem
CN104219615A (en) Method and device for sharing wireless traffic
CN107733863B (en) Log debugging method and device under distributed hadoop environment
US11431662B2 (en) Techniques for message deduplication
CN105512283A (en) Data quality management and control method and device
US20190207873A1 (en) Techniques for batched bulk processing
US20190207888A1 (en) Techniques for message indexing
JP2022166187A (en) Method, device, and electronic apparatus for determining instance risk level in cloud server
CN111680900A (en) Work order issuing method and device, electronic equipment and storage medium
WO2021027331A1 (en) Graph data-based full relationship calculation method and apparatus, device, and storage medium
CN115859362A (en) Data storage system, method, device and medium based on block chain side chain
CN111586177B (en) Cluster session loss prevention method and system
US20190207899A1 (en) Techniques for messaging conversation indexing
CN114595167A (en) Distributed cache system, method and device
CN104125090A (en) Method and apparatus for managing communication channel
CN102769495B (en) A kind of optical fiber access network equipment communication means, Apparatus and system
US20130275409A1 (en) Apparatus and method for universal personal data portability
CN116521639A (en) Log data processing method, electronic equipment and computer readable medium
CN115982133A (en) Data processing method and device
CN115629880A (en) Log desensitization method, device, equipment and storage medium
CN114706829A (en) Big data processing method and system applied to meta universe
CN113778977A (en) Data processing method and data processing device
CN112148712A (en) Data processing method, device, equipment and medium

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200908