CN109522733B - Data sharing method and device and processing equipment - Google Patents

Data sharing method and device and processing equipment Download PDF

Info

Publication number
CN109522733B
CN109522733B CN201811364312.5A CN201811364312A CN109522733B CN 109522733 B CN109522733 B CN 109522733B CN 201811364312 A CN201811364312 A CN 201811364312A CN 109522733 B CN109522733 B CN 109522733B
Authority
CN
China
Prior art keywords
data
information
application
application mode
mode
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.)
Active
Application number
CN201811364312.5A
Other languages
Chinese (zh)
Other versions
CN109522733A (en
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.)
Beijing Kuangshi Technology Co Ltd
Original Assignee
Beijing Kuangshi 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 Beijing Kuangshi Technology Co Ltd filed Critical Beijing Kuangshi Technology Co Ltd
Priority to CN201811364312.5A priority Critical patent/CN109522733B/en
Publication of CN109522733A publication Critical patent/CN109522733A/en
Application granted granted Critical
Publication of CN109522733B publication Critical patent/CN109522733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data sharing method, a data sharing device and processing equipment, and relates to the technical field of data distribution, wherein the method comprises the following steps: acquiring application mode authorization information of a service system; adding an application mode tag for the data to be shared according to the application mode authorization information; and sending the data to be shared added with the application mode label to a business system so that the business system performs data application when the data application mode of the business system corresponds to the application mode label. The embodiment of the invention can limit the application mode of the shared data, thereby limiting the data application range and meeting the requirement of a data owner on limiting the data sharing application range.

Description

Data sharing method and device and processing equipment
Technical Field
The present invention relates to the field of data distribution technologies, and in particular, to a data sharing method, an apparatus, and a processing device.
Background
With the development of information technology, there is a need for data flow among multiple units, for example, a data distribution system of an upper unit issues a certain data resource to a service system of a lower unit through a data sharing link, the lower unit can feed back information and a data call request to the upper unit after using the data resource to perform a service, and the upper unit can issue new data to the lower unit according to the situation.
In practical use, the service system can execute services in multiple data application modes, and the data distribution system cannot limit the service system in the application modes, so that the requirement of a data owner on limiting the data sharing application range cannot be met.
Aiming at the problem that the application range of data sharing cannot be limited in the prior art, an effective solution is not provided at present.
Disclosure of Invention
In view of this, the present invention provides a data sharing method, device and processing device, which can limit the application mode of the shared data, thereby limiting the data application range.
In a first aspect, an embodiment of the present invention provides a data sharing method, including: acquiring application mode authorization information of a service system; adding an application mode tag for the data to be shared according to the application mode authorization information; and sending the data to be shared added with the application mode label to the business system so as to enable the business system to perform data application when the data application mode of the business system corresponds to the application mode label.
Further, after the step of sending the data to be shared added with the application mode tag to the business system so that the business system performs data application when the data application mode of the business system corresponds to the application mode tag, the method further includes: receiving a data application result sent by the service system, wherein the data application result carries data application mode information of the service system; judging whether the data application mode information is consistent with the application mode authorization information of the service system; and if so, issuing the target data corresponding to the data application result.
Further, after the step of issuing the target data corresponding to the data application result, the method further includes: determining a frequency statistical mode according to the data application mode information; and carrying out flow statistics on the target data according to the frequency statistics mode.
Further, the step of determining a traffic statistic manner according to the data application pattern information includes: when the data application mode information is dynamic control, determining the number of times of statistics that each time one piece of target data is issued is counted as one time; and when the data application mode information is static comparison, determining the number of times of statistics that the statistics of the target data of each preset number is once issued.
Further, the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm; the data application result comprises the feature information hit by comparison; the data application comprises comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared; the target data is the original data corresponding to the feature information which is hit by comparison.
Further, the original data is portrait data; when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; and when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image.
In a second aspect, an embodiment of the present invention provides a data sharing method, which is applied to a service system, and the method includes: receiving data to be shared sent by a data distribution system; the data to be shared carries an application mode label; judging whether the current data application mode corresponds to the application mode label or not; and if so, using the data to be shared to perform data application in the data application mode.
Further, the method further comprises: sending a data application result to the data distribution system, wherein the data application result carries data application mode information of the service system; and receiving target data corresponding to the data application result issued by the data distribution system.
Further, after the step of issuing the target data corresponding to the data application result, the method further includes: determining a frequency statistical mode according to the data application mode information; and carrying out flow statistics on the target data according to the frequency statistics mode.
Further, the step of determining a traffic statistic manner according to the data application pattern information includes: when the data application mode information is dynamically distributed, determining the number of times of statistics that the statistics is once when one piece of target data is received; and when the data application mode information is static comparison, determining the number of times of statistics that the statistics of the target data of each received preset number is once.
Further, the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm; the data application result comprises the feature information hit by comparison; the data application comprises comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared; the target data is the original data corresponding to the feature information which is hit by comparison.
Further, the original data is portrait data; when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; and when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image.
In a third aspect, an embodiment of the present invention provides a data sharing device, which is applied to a data distribution system, and the device includes: the acquisition module is used for acquiring the application mode authorization information of the service system; the tag adding module is used for adding an application mode tag to the data to be shared according to the application mode authorization information; and the issuing module is used for sending the data to be shared added with the application mode label to the business system so as to enable the business system to perform data application when the data application mode of the business system corresponds to the application mode label.
In a fourth aspect, an embodiment of the present invention provides a data sharing apparatus, which is applied to a service system, and the apparatus includes: the receiving module is used for receiving the data to be shared sent by the data distribution system; the data to be shared carries an application mode label; the judging module is used for judging whether the current data application mode corresponds to the application mode label or not; and if so, using the data to be shared to perform data application in the data application mode.
In a fifth aspect, an embodiment of the present invention provides a data sharing processing device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method according to any one of the first and second aspects when executing the computer program.
In a sixth aspect, an embodiment of the present invention provides a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to perform the steps of the method according to any one of the first and second aspects.
The embodiment of the invention provides a data sharing method, a data sharing device and processing equipment, which can add an application mode label to data to be shared through application mode authorization information of a service system and send the data added with the label to the service system, so that the service system can carry out data application when the data application mode of the service system is consistent with the application mode marked by the label, the application mode of shared data can be limited, the data application range is limited, and the requirement of a data owner on limiting the data sharing application range is met.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of a processing apparatus according to an embodiment of the present invention;
fig. 2 is a flowchart of a data sharing method according to an embodiment of the present invention;
fig. 3 is a flowchart of another data sharing method according to an embodiment of the present invention;
fig. 4 is a data sharing method for dynamic deployment and static comparison according to an embodiment of the present invention;
fig. 5 is a block diagram of a data sharing apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram of another data sharing apparatus according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present 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 existing data sharing method aims at the problem that data cannot limit the application of a service system from an application mode, and cannot meet the requirement of a data owner on the limitation of the data sharing application range. In order to solve the problem, embodiments of the present invention provide a data sharing method, a data sharing device, and a processing device, and the following describes embodiments of the present invention in detail.
The first embodiment is as follows:
first, a processing device 100 for implementing embodiments of the present invention, which may be used to execute methods of embodiments of the present invention, is described with reference to fig. 1.
As shown in FIG. 1, processing device 100 includes one or more processors 102, one or more memories 104, input devices 106, output devices 108, and a data collector 110, which are interconnected via a bus system 112 and/or other form of connection mechanism (not shown). It should be noted that the components and configuration of the processing device 100 shown in FIG. 1 are exemplary only, and not limiting, and that the processing device may have other components and configurations as desired.
The processor 102 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), and an asic (application Specific Integrated circuit), the processor 102 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capability and/or instruction execution capability, and may control other components in the processing device 100 to perform desired functions.
The memory 104 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. On which one or more computer program instructions may be stored that may be executed by processor 102 to implement client-side functionality (implemented by the processor) and/or other desired functionality in embodiments of the invention described below. Various applications and various data, such as various data used and/or generated by the applications, may also be stored in the computer-readable storage medium.
The input device 106 may be a device used by a user to input instructions and may include one or more of a keyboard, a mouse, a microphone, a touch screen, and the like.
The output device 108 may output various information (e.g., images or sounds) to the outside (e.g., a user), and may include one or more of a display, a speaker, and the like.
The data collector 110 is configured to collect data, where the data collected by the data collector is original data of a current target or target data, and then the data collector may further store the original data or the target data in the memory 104 for use by other components.
Exemplarily, a processing device for implementing the data sharing method according to the embodiment of the present invention may be implemented as a smart terminal such as a server, a smart phone, a tablet computer, a computer, and the like.
Example two:
referring to fig. 2, a flowchart of a data sharing method is shown, and is applied to a data distribution system, where the method may be executed by the processing device provided in the foregoing embodiment, where the data distribution system is communicatively connected to a business system, the data distribution system is used for storing data, and the business system is used for performing data application. The data distribution system can be arranged at a data owner, and the business system can be arranged at a data user. The method specifically comprises the following steps:
step S202, obtaining the application mode authorization information of the service system.
The application mode authorization information may be pre-agreed according to business requirements between the data owner and the data user, and different application mode authorization information corresponds to different data application modes. The data owner can control the application mode and the range of the shared data by authorizing different application modes of the data user.
The method for acquiring the application mode authorization information of the service system by the data distribution system may be to query the pre-stored authorization information corresponding to the service system, or may be to receive the authorization information input by the user, for example, to prompt the user to input the authorization information of the current service system before sharing data with a certain service system. The business system may be authorized to have only one application mode or may have multiple application modes.
And step S204, adding an application mode label for the data to be shared according to the application mode authorization information.
After the application mode authorization information is obtained, a corresponding application mode tag can be added to the data to be shared according to the application mode authorization information, and the application mode tag identifies which mode of data application the data to be shared can use. It can be understood that the data application can be normally developed only when the mode of the service system using the data to be shared corresponds to the mode of the application mode tag identifier, otherwise, the data to be shared cannot be utilized.
Step S206, sending the data to be shared added with the application mode tag to the business system, so that the business system performs data application when the data application mode of the business system corresponds to the application mode tag.
And the data distribution system sends the data to be shared after the application mode tag is added to a service system, and data application is carried out when the data application mode of the service system corresponds to the application mode tag.
According to the data sharing method provided by the embodiment of the invention, the application mode tag can be added to the data to be shared through the application mode authorization information of the business system, and the data added with the tag is sent to the business system, so that the business system can perform data application when the data application mode of the business system is consistent with the application mode marked by the tag, the application mode of the shared data can be limited, the data application range is limited, and the requirement of a data owner on limiting the data sharing application range is met.
In consideration of the requirements of data reflux and data updating, after the business system performs data application to obtain a result, the result can be uploaded to the data distribution system, and the data distribution system is required to issue target data corresponding to the result. For example, the service system performs a data comparison service, and after a comparison hit, the comparison hit result may be sent back to the data distribution system, and the detailed information related to the comparison hit result is requested to be issued. The above method may further comprise the steps of:
(1) and receiving a data application result sent by the service system, wherein the data application result carries data application mode information of the service system. The data application result may be a result of various data application services developed by the service system, and it should be noted here that the same service system may develop application services in multiple application modes, and the condition that the application mode corresponds to the application mode tag is satisfied, so that the data application result uploaded by the same service system may also have different data application mode information.
(2) And judging whether the data application mode information is consistent with the application mode authorization information of the service system. After receiving the data application result, the data distribution system needs to compare whether the result uploaded by the service system is consistent with the authorization information of the service system, and only if the result is consistent, the agreed target data is issued.
(3) And if so, issuing target data corresponding to the data application result.
The target data may be determined according to an agreement between the data distribution system and the service system, and when a data application result is received, it is considered that a data request of the service system is received, and data related to the data application result is requested. If the above conditions are met, the relevant data is issued, and if the relevant data are not met, the issuing is refused.
In order to prevent data leakage caused by a large amount of data being called and influence on the performance of a server of a data distribution system, the data distribution system is generally provided with a flow limit for information calling of each link (which may correspond to one or more service systems) of data sharing in one period, wherein the information calling is the process of uploading a data application result and receiving target data. After the number of calls exceeds the traffic limit, the data distribution system may reject the information call process, which requires traffic statistics for the information call. Therefore, the method may further include a step of flow statistics after the target data is sent, and may be performed in the following manner:
(1) and determining a frequency statistical mode according to the data application mode information. For a service system without an application mode, different times statistical modes, namely different flow statistical modes, are adopted. Taking the portrait data comparison as an example, the business system generally has two comparison modes, namely dynamic deployment and static comparison, the dynamic deployment is to compare the image and portrait data extracted in real time in the dynamic video monitoring, and the static comparison is to compare the image and portrait data in the static state. The dynamic deployment and control obtains target data information corresponding to one piece of information which is compared and hit by the service system, and the static comparison obtains target data information corresponding to a plurality of pieces of information which are compared and hit by the service system each time, so that the dynamic deployment and control actually obtains one piece of data information from the data distribution system each time, and the static comparison obtains a plurality of pieces of data information from the data distribution system each time.
If the application mode of the service system is not distinguished for one data link, the two modes of dynamic deployment and static comparison are subjected to flow limitation together, which causes that the flow occupied by one static comparison is several times of that of dynamic deployment, thus causing unbalanced flow limitation for the two application modes. In this embodiment, different times statistics are respectively used for different data application modes of the service system, so that the information acquisition frequency and number of the service system in different data application modes can be flexibly limited on the premise of meeting the requirements of the service system, and the efficiency of flow limitation is improved.
(2) And carrying out flow statistics on the target data according to the frequency statistics mode.
And when the data application mode information is dynamically distributed and controlled, determining the number of times of statistics that the statistics is once when one piece of target data is issued. The dynamic control only compares and hits one piece of information (such as a portrait characteristic value) each time, that is, the data distribution system is required to issue target data corresponding to the portrait characteristic value, such as a portrait picture and portrait information, so that the flow metering service can deduct the use permission once per target data pulled.
And when the data application mode information is static comparison, determining the number of times of statistics in a manner that the statistics is once for each time of issuing the preset number of target data. Each static comparison can be used for comparing and hitting multiple pieces of information (such as multiple portrait characteristic values), namely, a data distribution system is required to issue target data corresponding to the multiple portrait characteristic values, and the number of the information hit in the static comparison in each static comparison can be set by a service system according to needs. Therefore, the data distribution system issues the preset amount of target data each time the static comparison is hit, so that the traffic counting service can deduct one use permission for each time the preset amount of target data is pulled. The preset number may be determined according to the requirement of an actual application scenario of the service system, for example, in a scenario of portrait comparison, the preset number may be set to a numerical value of 10, 20, 50, or the like.
In consideration of the requirements of a data owner that the data owner wants to utilize and circulate the data and also wants to perform data confidentiality, the data to be shared are feature information corresponding to the original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm. That is, the data owner issues not the original data carrying important information, but feature information extracted from the original data.
The original data is subjected to feature extraction through the feature extraction algorithm to obtain corresponding feature information, and the original data cannot be reversely obtained through the feature information, so that the feature information is sent to business systems of other units or equipment, and the risk of data leakage does not exist. The feature extraction algorithm may meet the encryption requirement and the requirement of the service system for service utilization, which is not limited in this embodiment. For example, the device in the upper unit saves the original data, and performs the feature information extraction on the original data; the feature information is utilized for service utilization at the device of the lower level unit. The raw data may be, for example, a portrait, or a combination of a portrait and identity information data (e.g., occupation, native place, gender, age, height, hairstyle, whether glasses are worn, etc.). The original data may also be a vehicle image, or a combination of the vehicle image and vehicle information data (such as vehicle type, color, license plate number, etc.), etc.
After the feature information is extracted, the feature information can be sent to a service system, and can also be stored in a feature library, and then the whole feature library is sent to the service system, so that the service system can utilize the service. The service application comprises the step of comparing the characteristic library with the characteristic value of the image to be compared, which is acquired by the service system.
The data application result comprises the feature information which is matched and hit, the data application comprises the step of comparing the feature information corresponding to the original data with the feature information corresponding to the image to be compared, and the target data is the original data corresponding to the feature information which is matched and hit. The service system may be provided at each lower level unit. The business system can collect various types of data and compare the collected data (such as dynamic videos or static pictures) with the characteristic information. It can be understood that, after the collected data is subjected to feature information extraction by the preset feature extraction algorithm, the feature information of the collected data is compared with the feature information to obtain whether a data application result is obtained, and the data application result is uploaded to a data distribution system. The uploaded data application result comprises the compared and hit characteristic information, and the issued target data is the original data corresponding to the characteristic information, so that the service system can carry out further service development.
The original data may be portrait data. When the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image. Taking the alarm information after the data application result is the portrait comparison hit as an example, the snapshot time information may be the alarm time in comparison, the snapshot location information may include information such as a camera name, a camera location, a camera longitude and latitude, and the snapshot image may include information such as a live portrait snapshot and a live panorama.
Referring to a flowchart of a data sharing method shown in fig. 3, the method may be applied to the service system, and the method specifically includes the following steps:
step S302, receiving data to be shared sent by the data distribution system. The data to be shared carries an application mode tag.
The data distribution system can acquire application mode authorization information of the business system, and then add a corresponding application mode tag to the data to be shared according to the application mode authorization information, wherein the application mode tag identifies which mode of data application the data to be shared can use.
Step S304, determining whether the current data application mode corresponds to the application mode tag. If yes, go to step S306; if not, the process is ended.
After the service system receives the data to be shared sent by the data distribution system, it needs to judge whether the current data application mode corresponds to the application mode label, and only when the current data application mode corresponds to the application mode label, the data application can be normally developed, otherwise, the data to be shared cannot be utilized. The setting of the above-mentioned limited application can be agreed in advance between the data distribution system and the service system, and set in the service system.
Step S306, performing data application using the data to be shared in the data application mode.
According to the data sharing method provided by the embodiment of the invention, the service system can receive the data to be shared sent by the data distribution system, the data to be shared carries the application mode label, and the service system can perform data application only when the data application mode of the service system is consistent with the application mode marked by the application mode label, so that the data application range can be limited, and the requirement of a data owner on limiting the data sharing application range is met.
In consideration of the need of data reflow and data update, the method further comprises:
(1) sending the data application result to a data distribution system, wherein the data application result carries data application mode information of a service system; (2) and receiving target data corresponding to the data application result issued by the data distribution system. The process of verifying the result and issuing the target data by the data application result sending and data distributing system can refer to the foregoing contents, and details are not described herein again.
As an optional embodiment, the traffic statistics and the restriction may be performed at a service system, that is, the service system performs traffic management, and after the step of issuing target data corresponding to the data application result, the method may further include the following steps:
(1) determining a frequency statistical mode according to the data application mode information; (2) and carrying out flow statistics on the target data according to a frequency statistics mode. When the data application mode information is dynamically distributed and controlled, determining the number of times of statistics that the statistics is once when one piece of target data is received; when the data application mode information is static comparison, the statistical mode of the determined times is that the statistics of the target data of each received preset number is once. For a specific flow statistic manner, reference may be made to the foregoing contents, which are not described herein again.
The data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm; the data application result comprises the feature information of the comparison hit; the data application comprises the step of comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared; the target data is original data corresponding to the hit characteristic information through comparison. The raw data may be portrait data; when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; when the data application mode information is static comparison, the data application result also comprises a comparison hit image.
In this embodiment, the original data is taken as portrait data as an example for explanation, the service system may obtain snapshot information, and the data application result may include snapshot time information, snapshot location information, and a snapshot image. The following description will take the example of human image data as a human database. The human database is established and stored by a superior unit, and the inferior unit has a demand for carrying out business development by using the human database.
Analyzing and extracting face characteristic value information and constructing a special face characteristic value database by using a special face characteristic extraction algorithm in an existing human database of a superior unit (such as a department or a province and living unit), and distributing the characteristic value information to a subordinate unit. Because the portrait characteristic value information is encrypted, calculated and extracted by a special portrait characteristic algorithm, even if the portrait characteristic value is issued to a lower-level unit, the risk of data leakage does not exist.
The portrait characteristic value data is only used for comparison of all lower-level units, and after receiving the portrait characteristic value data, all units can carry out dynamic control deployment application and/or static comparison application according to different scenes and tactics. And after the comparison is alarmed, feeding back the comparison result in real time to finish data backflow and fresh keeping.
The human image characteristic value data has two application modes, one is dynamic control application and the other is static comparison application, and the two application modes are essentially different from technical implementation and business logic. For a data source owner of a data distribution system, two data application modes are greatly different in feedback result, dynamic deployment and control can transmit alarm information back to a data source, and the alarm information generally can include: alarm time, on-site portrait snap pictures, on-site panoramic views, camera names, camera locations, camera longitude and latitude information and the like; and the static comparison returned data only comprise a comparison graph and comparison time. The two kinds of information obtained from the data source are different, the data information corresponding to one characteristic value in the comparison is obtained by dynamic control, and the data information corresponding to a plurality of characteristic values is obtained by static comparison. The data distribution system has flow limitation of daily information calling for each link of data sharing, the daily flow upper limit times can be deducted for each information calling, the flow limitation of the data link cannot be distinguished aiming at two application modes, multiple times of dynamic deployment and control can be occupied by one-time static comparison, and the flow limitation is unbalanced.
Referring to the data sharing method of dynamic deployment and static comparison shown in fig. 4, a data distribution system, a dynamic deployment business system and a static comparison business system are shown, and the method includes the following steps:
and S402, encrypting the portrait data through an algorithm, and extracting the portrait characteristic value data.
In order to ensure the safety of data and utilize and circulate the data, the portrait data is firstly subjected to feature extraction, and portrait feature value data of the portrait data is extracted through an algorithm, authorized and then issued to a service system of a lower-level unit for service application.
Step S404, obtain dynamic/static authorization.
In the data distribution system, when the same characteristic value database is shared, a shared application mode can be selected, and the data is allowed to be issued and then subjected to dynamic deployment and control application or static comparison application. And receiving the expected feedback data in the application range of the data source control data after the data sharing. When the data distribution system issues the data, the authorization range can be selected, and the authorization range comprises authorization dynamic control, static comparison or both authorization.
And step S406, sending the portrait characteristic value data.
And step S408, the dynamic deployment and control service system returns deployment and control alarm information.
And step S410, the data distribution system issues the original data. When the portrait characteristic value data is issued and then applied, a data application party needs to pull the portrait picture and the portrait information corresponding to the characteristic value through the data sharing link after comparing the portrait characteristic value data, and at the moment, the full amount of data information can be displayed in a service system of the data application party.
Step S412, the data distribution system performs traffic statistics in a counting manner. The counting mode is that the target data is counted once every time the target data is issued. If the application mode and the range of the data are set during the data sharing of the portrait characteristic value data, the data application party deducts the daily flow limiting times according to different flow meter secondary standards according to the application mode of the characteristic value when pulling the portrait picture and the portrait information corresponding to the characteristic value through the data sharing link each time.
When the dynamic distribution control service is applied, after a certain characteristic value data ratio is alarmed, information such as alarm time, a scene portrait snapshot picture, a scene panorama, a camera name, a camera place, camera longitude and latitude and the like generated during alarming can be returned, the portrait picture and the portrait information corresponding to the characteristic value are pulled from a data source, and the traffic counting service can deduct one-time use permission from traffic.
Step S414, the static comparison service system returns the static comparison picture.
Step S416, the data distribution system issues the original data.
In step S418, the data distribution system performs traffic statistics in a counting manner. The counting mode is that the counting is carried out once when the preset number of target data are issued.
When the static comparison business is applied, a plurality of corresponding portrait characteristic value data are compared, a comparison graph is returned to a data source after the comparison, portrait pictures and portrait information corresponding to the plurality of portrait characteristic value data in the comparison are pulled from the data source, and the traffic counting service deducts one-time use permission from traffic according to the portrait pictures and the portrait information which are sent every time in a preset number.
By setting different application mode authorities, a data owner can selectively share data according to the application modes of the data, and respectively carry out flow statistics and flow management on dynamic and static application modes according to two different modes, so that the efficiency of flow limitation can be improved.
Example three:
as for the data sharing method provided in the second embodiment, an embodiment of the present invention provides a data sharing device, which is applied to a data distribution system, and referring to a structural block diagram of the data sharing device shown in fig. 5, the data sharing method includes:
an obtaining module 502, configured to obtain application mode authorization information of the service system,
a tag adding module 504, configured to add an application mode tag to the data to be shared according to the application mode authorization information;
the issuing module 506 is configured to send the data to be shared to which the application mode tag is added to the business system, so that the business system performs data application when the data application mode of the business system corresponds to the application mode tag.
The data sharing device provided by the embodiment of the invention can add the application mode tag to the data to be shared through the application mode authorization information of the business system, and send the data added with the tag to the business system, so that the business system can perform data application when the data application mode of the business system is consistent with the application mode marked by the tag, the application mode of the shared data can be limited, the data application range is limited, and the requirement of a data owner on limiting the data sharing application range is met.
In one embodiment, the apparatus further includes a first data reflow module, where the first data reflow module is configured to: receiving a data application result sent by a service system, wherein the data application result carries data application mode information of the service system; judging whether the data application mode information is consistent with the application mode authorization information of the service system; and if so, issuing target data corresponding to the data application result.
In another embodiment, the apparatus further includes a first traffic statistic module, where the first traffic statistic module is configured to: determining a frequency statistical mode according to the data application mode information; and carrying out flow statistics on the target data according to a frequency statistics mode.
In another embodiment, the first traffic statistic module is further configured to: when the data application mode information is dynamic control, determining the number of times of statistics that one target data is counted once every time the target data is issued; and when the data application mode information is static comparison, determining the number of times of statistics in a manner that the statistics is once for each time of issuing the preset number of target data.
In another embodiment, the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm; the data application result comprises the feature information of the comparison hit; the data application comprises the step of comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared; the target data is original data corresponding to the hit characteristic information through comparison.
In another embodiment, the original data is portrait data; when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image.
As for the data sharing method provided in the second embodiment, an embodiment of the present invention provides a data sharing device, which is applied to a service system, and refer to a structural block diagram of the data sharing device shown in fig. 6, where the structural block diagram includes:
a receiving module 602, configured to receive data to be shared sent by a data distribution system; the data to be shared carries an application mode label;
a judging module 604, configured to judge whether the current data application mode corresponds to the application mode tag;
and an application module 606, configured to perform data application using the data to be shared in the data application mode if the data to be shared is available.
The data sharing device provided by the embodiment of the invention can receive the data to be shared sent by the data distribution system, the data to be shared carries the application mode label, and the business system can perform data application only when the data application mode of the business system is consistent with the application mode marked by the application mode label, so that the data application range can be limited, and the requirement of a data owner on limiting the data sharing application range is met.
In an embodiment, the apparatus further includes a second data reflow module, where the second data reflow module is configured to: sending the data application result to a data distribution system, wherein the data application result carries data application mode information of a service system; and receiving target data corresponding to the data application result issued by the data distribution system.
In another embodiment, the apparatus further includes a second flow statistics module, where the second flow statistics module is configured to: determining a frequency statistical mode according to the data application mode information; and carrying out flow statistics on the target data according to a frequency statistics mode.
In another embodiment, the second flow statistics module is further configured to: when the data application mode information is dynamically distributed and controlled, determining the number of times of statistics that the statistics is once when one piece of target data is received; when the data application mode information is static comparison, the statistical mode of the determined times is that the statistics of the target data of each received preset number is once.
In another embodiment, the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm; the data application result comprises the feature information of the comparison hit; the data application comprises the step of comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared; the target data is original data corresponding to the hit characteristic information through comparison.
In another embodiment, the original data is portrait data; when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image; when the data application mode information is static comparison, the data application result also comprises a comparison hit image.
The device provided by the embodiment has the same implementation principle and technical effect as the foregoing embodiment, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiment for the portion of the embodiment of the device that is not mentioned.
In addition, the present embodiment provides a data sharing processing device, where the data sharing processing device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the data sharing method provided in the second embodiment when executing the computer program.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing embodiments, and is not described herein again.
Further, the present embodiment provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to perform the steps of the method provided in the second embodiment.
The computer program product of the data sharing method, the data sharing device, and the processing device provided in the embodiments of the present invention includes a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again. The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (14)

1. A data sharing method is applied to a data distribution system, and the method comprises the following steps:
acquiring application mode authorization information of a service system;
adding an application mode tag for the data to be shared according to the application mode authorization information;
sending the data to be shared added with the application mode label to the business system so as to enable the business system to perform data application when a data application mode of the business system corresponds to the application mode label;
receiving a data application result sent by the service system, wherein the data application result carries data application mode information of the service system;
determining a frequency statistical mode according to the data application mode information;
and carrying out flow statistics on the target data corresponding to the data application result according to the frequency statistics mode.
2. The method according to claim 1, wherein after the step of receiving a data application result sent by the service system, the data application result carrying data application mode information of the service system, the method further comprises:
judging whether the data application mode information is consistent with the application mode authorization information of the service system;
and if so, issuing the target data corresponding to the data application result.
3. The method of claim 1, wherein the step of determining traffic statistics based on the data application pattern information comprises:
when the data application mode information is dynamic control, determining the number of times of statistics as one time for each issued target data;
and when the data application mode information is static comparison, determining the statistical mode of the times that the target data of each preset number are counted once.
4. The method according to any one of claims 1 to 3, wherein the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm;
the data application result comprises the feature information hit by comparison; the data application comprises comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared;
the target data is the original data corresponding to the feature information which is hit by comparison.
5. The method of claim 4, wherein the raw data is portrait data;
when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image;
and when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image.
6. A data sharing method is applied to a business system, and the method comprises the following steps:
receiving data to be shared sent by a data distribution system; the data to be shared carries an application mode label;
judging whether the current data application mode corresponds to the application mode label or not;
if so, using the data to be shared to perform data application in the data application mode;
sending a data application result to the data distribution system, wherein the data application result carries data application mode information of the service system;
determining a frequency statistical mode according to the data application mode information;
and carrying out flow statistics on the target data corresponding to the data application result according to the frequency statistics mode.
7. The method of claim 6, further comprising:
and receiving target data corresponding to the data application result issued by the data distribution system.
8. The method of claim 6, wherein the step of determining traffic statistics based on the data application pattern information comprises:
when the data application mode information is dynamically distributed and controlled, determining the statistical mode of the times that the statistics is once for each received target data;
and when the data application mode information is static comparison, determining the number of times of statistics that the statistics of the target data of each received preset number is once.
9. The method according to any one of claims 6 to 8, wherein the data to be shared is feature information corresponding to original data, and the feature information corresponding to each original data is information generated by the original data through a preset feature extraction algorithm;
the data application result comprises the feature information hit by comparison; the data application comprises comparing the characteristic information corresponding to the original data with the characteristic information corresponding to the image to be compared;
the target data is the original data corresponding to the feature information which is hit by comparison.
10. The method of claim 9, wherein the raw data is portrait data;
when the data application mode information is dynamic deployment control, the data application result further comprises snapshot time information, snapshot place information and a snapshot image;
and when the data application mode information is static comparison, the data application result also comprises a comparison hit portrait image.
11. A data sharing device is applied to a data distribution system, and the device comprises:
the acquisition module is used for acquiring the application mode authorization information of the service system;
the tag adding module is used for adding an application mode tag to the data to be shared according to the application mode authorization information;
the issuing module is used for sending the data to be shared added with the application mode label to the business system so as to enable the business system to perform data application when the data application mode of the business system corresponds to the application mode label;
a first data reflow module to: judging whether the data application mode information is consistent with the application mode authorization information of the service system;
a first traffic statistics module to: determining a frequency statistical mode according to the data application mode information; and carrying out flow statistics on the target data corresponding to the data application result according to the frequency statistics mode.
12. A data sharing device is applied to a business system, and the device comprises:
the receiving module is used for receiving the data to be shared sent by the data distribution system; the data to be shared carries an application mode label;
the judging module is used for judging whether the current data application mode corresponds to the application mode label or not;
the application module is used for performing data application by using the data to be shared in the data application mode if the data to be shared is in the data application mode;
the second data reflow module is used for sending a data application result to the data distribution system, wherein the data application result carries data application mode information of the service system;
the second flow counting module is used for determining a frequency counting mode according to the data application mode information; and carrying out flow statistics on the target data corresponding to the data application result according to the frequency statistics mode.
13. A data sharing processing device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 10 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of the preceding claims 1 to 10.
CN201811364312.5A 2018-11-15 2018-11-15 Data sharing method and device and processing equipment Active CN109522733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811364312.5A CN109522733B (en) 2018-11-15 2018-11-15 Data sharing method and device and processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811364312.5A CN109522733B (en) 2018-11-15 2018-11-15 Data sharing method and device and processing equipment

Publications (2)

Publication Number Publication Date
CN109522733A CN109522733A (en) 2019-03-26
CN109522733B true CN109522733B (en) 2021-08-10

Family

ID=65777890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811364312.5A Active CN109522733B (en) 2018-11-15 2018-11-15 Data sharing method and device and processing equipment

Country Status (1)

Country Link
CN (1) CN109522733B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188233A (en) * 2011-12-30 2013-07-03 卓望数码技术(深圳)有限公司 Method and system of dispatching and managing multiple applications
CN105763580A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Data information sharing method and device
CN106815234A (en) * 2015-11-30 2017-06-09 中国移动通信集团公司 A kind of method for sharing health data, device and data sharing automotive engine system
CN107332836A (en) * 2017-06-27 2017-11-07 张海洋 Data sharing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103609059B (en) * 2010-09-20 2016-08-17 安全第一公司 The system and method shared for secure data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188233A (en) * 2011-12-30 2013-07-03 卓望数码技术(深圳)有限公司 Method and system of dispatching and managing multiple applications
CN105763580A (en) * 2014-12-15 2016-07-13 阿里巴巴集团控股有限公司 Data information sharing method and device
CN106815234A (en) * 2015-11-30 2017-06-09 中国移动通信集团公司 A kind of method for sharing health data, device and data sharing automotive engine system
CN107332836A (en) * 2017-06-27 2017-11-07 张海洋 Data sharing method and device

Also Published As

Publication number Publication date
CN109522733A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
CN106850346B (en) Method and device for monitoring node change and assisting in identifying blacklist and electronic equipment
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN113283905A (en) Data storage and acquisition method and device based on block chain
CN108924109B (en) Data transmission method and device and processing equipment
CN109583224B (en) User privacy data processing method, device, equipment and system
CN110826799B (en) Service prediction method, device, server and readable storage medium
KR20150122637A (en) Utilizations and applications of near field communications in mobile device management and security
CN110544134A (en) resource processing method and device and computer storage medium
US20220215408A1 (en) Realtime Busyness for Places
CN110866265A (en) Data storage method, device and storage medium based on block chain
CN113763211A (en) Infringement detection method and device based on block chain and electronic equipment
CN111800740A (en) Data remote acquisition method and device, computer equipment and storage medium
CN109830029B (en) Voting method, device, system, server and computer readable storage medium
CN109522733B (en) Data sharing method and device and processing equipment
US20210382872A1 (en) Blockchain-based Data Storage Method, Related Device and Storage Medium
CN112055229B (en) Video authentication method and device
CN103873890A (en) Flow control method and system for shooting software
CN113656842A (en) Data verification method, device and equipment
CN110598043B (en) Video processing method, device, computer equipment and storage medium
CN114040223A (en) Image processing method and system
CN110968368B (en) Live broadcast data processing method and related equipment thereof
CN114584796B (en) Data processing method, device, equipment and medium
CN114884663A (en) Multimedia object processing method, device, equipment and storage medium
CN114827748B (en) Data processing method and device, electronic equipment and storage medium
CN117094820A (en) User target processing method, device and equipment based on blockchain

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
GR01 Patent grant
GR01 Patent grant