CN115150145B - Crowd-sourced device communication method, device, computer device and storage medium - Google Patents

Crowd-sourced device communication method, device, computer device and storage medium Download PDF

Info

Publication number
CN115150145B
CN115150145B CN202210740431.6A CN202210740431A CN115150145B CN 115150145 B CN115150145 B CN 115150145B CN 202210740431 A CN202210740431 A CN 202210740431A CN 115150145 B CN115150145 B CN 115150145B
Authority
CN
China
Prior art keywords
token
crowdsourcing
information
equipment
history
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
CN202210740431.6A
Other languages
Chinese (zh)
Other versions
CN115150145A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210740431.6A priority Critical patent/CN115150145B/en
Publication of CN115150145A publication Critical patent/CN115150145A/en
Application granted granted Critical
Publication of CN115150145B publication Critical patent/CN115150145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • H04L9/3213Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to a crowdsourcing device communication method, apparatus, computer device, storage medium and computer program product. The embodiment of the application can be applied to vehicle-mounted scenes. The method comprises the following steps: acquiring a session token request which is sent by crowdsourcing equipment and carries crowdsourcing equipment identification irrelevant to self parameters of the crowdsourcing equipment; generating token inheritance information of the crowdsourcing equipment based on the history token information under the condition that the crowdsourcing equipment identification is associated with the history token information; generating a network interaction check token matched with the session token request based on the token inheritance information; issuing the network interaction check token to crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment. By adopting the method, the privacy leakage risk can be reduced while the successful establishment of the information interaction channel of the crowdsourcing equipment is ensured, and the safety of the communication method of the crowdsourcing equipment is improved.

Description

Crowd-sourced device communication method, device, computer device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a crowdsourcing device communication method, apparatus, computer device, computer readable storage medium, and computer program product.
Background
With the rapid development of mobile internet technology, a data acquisition mode of crowdsourcing (crowing-sourcing) appears. The crowdsourcing data acquisition refers to data acquisition by crowdsourcing equipment of a user terminal, acquired crowdsourcing data is uploaded to a server, and then the server constructs and updates data information according to the received crowdsourcing data, so that the server can provide better service for the user terminal based on the updated data information.
In the conventional technology, in the process of communicating between a server and crowdsourcing equipment, an information interaction channel of the crowdsourcing equipment is established based on equipment identification of the crowdsourcing equipment. In the communication process between the crowdsourcing device and the server, the transmission of crowdsourcing data needs to be repeatedly performed by using the device identifier, and the device identifier of the crowdsourcing device is usually associated with a user. Therefore, the traditional crowdsourcing equipment communication method is adopted, so that privacy leakage risks exist, and the defect of poor safety is overcome.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a crowdsourcing device communication method, apparatus, computer device, computer readable storage medium and computer program product that can improve security.
In a first aspect, the present application provides a crowdsourcing device communication method. The method comprises the following steps:
acquiring a session token request sent by crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
generating token inheritance information of the crowdsourcing equipment based on history token information under the condition that the history token information is associated with the crowdsourcing equipment identification;
generating a network interaction check token matched with the session token request based on the token inheritance information;
issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
In a second aspect, the present application also provides a crowdsourcing equipment communication device. The device comprises:
the request acquisition module is used for acquiring a session token request sent by the crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
the inheritance information generation module is used for generating token inheritance information of the crowdsourcing equipment based on the history token information under the condition that the crowdsourcing equipment identification is associated with the history token information;
The token generation module is used for generating a network interaction check token matched with the session token request based on the token inheritance information;
the token issuing module is used for issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring a session token request sent by crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
generating token inheritance information of the crowdsourcing equipment based on history token information under the condition that the history token information is associated with the crowdsourcing equipment identification;
generating a network interaction check token matched with the session token request based on the token inheritance information;
issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a session token request sent by crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
generating token inheritance information of the crowdsourcing equipment based on history token information under the condition that the history token information is associated with the crowdsourcing equipment identification;
generating a network interaction check token matched with the session token request based on the token inheritance information;
issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
acquiring a session token request sent by crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
Generating token inheritance information of the crowdsourcing equipment based on history token information under the condition that the history token information is associated with the crowdsourcing equipment identification;
generating a network interaction check token matched with the session token request based on the token inheritance information;
issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
According to the crowdsourcing equipment communication method, the crowdsourcing equipment communication device, the computer equipment, the storage medium and the computer program product, the session token request which is sent by the crowdsourcing equipment and carries the crowdsourcing equipment identification irrelevant to the self parameters of the crowdsourcing equipment is obtained, under the condition that the history token information is associated with the crowdsourcing equipment identification, the token inheritance information of the crowdsourcing equipment is generated based on the history token information, then the network interaction check token matched with the session token request is generated based on the token inheritance information, and finally the network interaction check token is issued to the crowdsourcing equipment to establish the information interaction channel of the crowdsourcing equipment. Because the history token information associated with different crowdsourcing equipment is different, and the history token information associated with the same crowdsourcing equipment in different periods is also different, which is equivalent to that each session token request corresponds to unique history token information, token inheritance information is generated based on the history token information, and then a network interaction check token is generated based on the token inheritance information, so that the uniqueness of the network interaction check token can be ensured, the self equipment parameters of the crowdsourcing equipment are not required to be used in the information interaction process, the establishment success of the information interaction channel of the crowdsourcing equipment is ensured, the privacy leakage risk is reduced, and the safety of the communication method of the crowdsourcing equipment is improved.
Drawings
FIG. 1 is an application environment diagram of a crowdsourcing device communication method in one embodiment;
FIG. 2 is a flow diagram of a method of crowd-sourced device communication in one embodiment;
FIG. 3 is a schematic diagram of a response process to a session token request in one embodiment;
FIG. 4 is a flow chart of a method of crowd-sourced device communication in another embodiment;
FIG. 5 is a schematic diagram of a data structure of a set of history tokens in one embodiment;
FIG. 6 is a diagram of a data structure of a token store address set in one embodiment;
FIG. 7 is a flow diagram of a method of crowd-sourced device communication in yet another embodiment;
FIG. 8 is a flow chart of a method of crowd-sourced device communication in yet another embodiment;
FIG. 9 is a schematic diagram illustrating a communication process between a crowdsourcing device and a server in a vehicle-mounted scenario in one embodiment;
FIG. 10 is a schematic diagram of a process for generating a network interaction verification token in one embodiment;
FIG. 11 is a block diagram of a crowdsourcing equipment communication device, in one embodiment;
fig. 12 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The crowdsourcing equipment communication method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein crowd-sourced device 102 communicates with server 104 over a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on the cloud or other servers. Server 104, in communication with crowdsourcing device 102: acquiring a session token request which is sent by the crowdsourcing equipment 102 and carries a crowdsourcing equipment identifier irrelevant to self parameters of the crowdsourcing equipment 102, generating token inheritance information of the crowdsourcing equipment 102 based on the history token information under the condition that the crowdsourcing equipment identifier is associated with the history token information, then generating a network interaction check token matched with the session token request based on the token inheritance information, and finally issuing the network interaction check token to the crowdsourcing equipment 102 for establishing an information interaction channel of the crowdsourcing equipment 102. The crowdsourcing device 102 may be, but is not limited to, a mobile phone, a computer, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal, an aircraft, a portable wearable device, etc. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, a crowdsourcing equipment communication method is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps:
step S201, a session token request sent by a crowdsourcing device is obtained.
Wherein, crowdsourcing equipment refers to equipment that can be used to perform crowdsourcing data acquisition. As described above, the crowdsourcing device may be a mobile phone, a computer, an intelligent voice interaction device, an intelligent home appliance, a vehicle-mounted terminal, an aircraft, a portable wearable device, and the like. The session token request carries a crowdsourcing device identification. The crowdsourcing equipment identification refers to identification information which is distributed to the crowdsourcing equipment by a server in the historical communication process with the crowdsourcing equipment and is irrelevant to the parameters of the crowdsourcing equipment, and can uniquely identify the crowdsourcing equipment. The crowdsourcing device identification may specifically include one or more of letters, numbers, and symbols. The server may assign a unique crowdsourcing device identification to the crowdsourcing device during a first establishment of a communication connection with the crowdsourcing device. The crowdsourcing device identification is used to associate data information generated during communication of the corresponding crowdsourcing device with the server, such as historical token information and historical crowdsourcing data, and the like.
Specifically, to ensure the security of information interaction, both communication parties communicate based on the network interaction verification token. The network interactive check token refers to a certificate used for checking the identity of the crowdsourcing equipment in the process of communication with the crowdsourcing equipment by the server. The network interactive check token is typically temporary, having a lifetime. The lifetime may be a fixed period, such as a day, week or month; or may be a non-fixed period, such as a period dynamically determined based on the use of the crowdsourcing device. In a particular embodiment, the network interaction verification token may be disabled when the crowdsourcing device switches communication networks. Based on the method, the crowdsourcing equipment sends a session token request to the server, the server acquires the session token request, and a network interaction check token matched with the session token request is generated, so that a stable information interaction channel is established between the crowdsourcing equipment and the server, and safety communication is realized.
Further, the specific manner of acquiring the session token request by the server may be active acquisition or passive reception. It will be appreciated that the timing of the transmission of the session token request is not unique. For example, a session token request may be sent by a crowdsourcing device to a server in response to a device-initiated event or a crowdsourcing data acquisition event. The crowdsourcing data acquisition event can be automatically triggered under a set time, can be triggered by clicking by a user, and can be triggered under the condition that the crowdsourcing equipment is connected with a server through a communication network.
In one embodiment, the crowdsourcing device comprises an in-vehicle crowdsourcing device, and the session token request is sent by the in-vehicle crowdsourcing device in response to a vehicle ignition event. In the case of this embodiment, the crowdsourcing device communication method further comprises: and responding to the vehicle flameout event, and carrying out expiration processing on the network interaction check token.
The vehicle-mounted crowdsourcing equipment can be used on an automobile and can acquire crowdsourcing data under the running condition of the automobile. The vehicle-mounted crowdsourcing equipment can specifically comprise a tachograph, a vehicle-mounted radar, a mobile phone, a panel and the like. The crowd-sourced data acquired may include vehicle track data, vehicle environment image data, and the like.
Specifically, under the condition that the vehicle-mounted crowdsourcing equipment and the vehicle controller are in communication connection, the vehicle controller responds to the vehicle ignition operation, vehicle ignition event information is sent to the vehicle-mounted crowdsourcing equipment, and then the vehicle-mounted crowdsourcing equipment responds to the vehicle ignition event information and sends a session token request to the server. Under the condition that the vehicle-mounted crowdsourcing equipment is not in communication connection with the vehicle controller, a user can trigger a session token request function of the vehicle-mounted crowdsourcing equipment in a mode of clicking a button or voice indication and the like under the condition that the vehicle is ignited; the vehicle-mounted crowdsourcing device can also determine that a vehicle ignition event is currently occurring by sensing vehicle vibration or sound under the ignition condition, and respond to the vehicle ignition event to send a session token request to a server.
Further, to improve communication security, an expiration mechanism is set for the network interaction check token generated based on the session token request, and the server performs expiration processing on the network interaction check token in response to the vehicle flameout event. Specifically, the vehicle-mounted crowdsourcing equipment can respond to the vehicle flameout operation to send vehicle flameout event information to the server, and the server responds to the vehicle flameout event information to perform expiration processing on the network interaction check token. It will be appreciated that the network interactive check token after the expiration process will fail and cannot be reused.
In this embodiment, the server determines the validity of the current network interaction check token based on the ignition and flameout state change of the vehicle in which the vehicle-mounted crowdsourcing equipment is located, so that the dynamic network interaction check token is used in the communication process of the crowdsourcing equipment and the server, which is beneficial to further ensuring the safety of the communication process.
In step S203, in the case that the crowdsourcing device identifier is associated with history token information, token inheritance information of the crowdsourcing device is generated based on the history token information.
The crowdsourcing equipment identification related history token information refers to relevant information of history tokens of crowdsourcing equipment corresponding to the crowdsourcing equipment identification in the process of information interaction with a server. The history token may include a network interaction verification token that was used but has been currently disabled, and a network interaction verification token that is currently being used. The relevant information of the history token can specifically include at least one item of information such as a token identifier which can uniquely characterize the history token, relationship information between the history token and other history tokens associated with the same crowdsourcing equipment identifier, and association time information of the history token. The association time information may include at least one of token application time, token validation time, and token expiration time, etc. Correspondingly, the token inheritance information of the crowdsourcing device refers to data information which can characterize the current history token information of the crowdsourcing device. It is understood that the history token information associated with different crowdsourcing devices is different, and the history token information associated with the same crowdsourcing device at different times is also different. That is, each session token request is associated with unique history token information.
In particular, as previously described, the network interactive check token is not available for a long period of time, has a certain lifetime, and will fail upon reaching the lifetime. Thus, each crowdsourcing device may have associated with it history token information, and each crowdsourcing device has associated with it different history token information. Based on the above, the server may extract the crowdsourcing device identifier carried in the session token request, and determine, according to the crowdsourcing device identifier and the association relationship between the crowdsourcing device identifier and the history token information, the history token information associated with the crowdsourcing device identifier. In the event that the crowdsourcing device identity is associated with history token information, token inheritance information for the crowdsourcing device is generated based on the history token information.
Further, history token information used to generate token inheritance information is not unique. For example, the history token information may include only information about a set number of history tokens that have been recently used, which may be 1, 2, or 3, etc.; the history token information may also include information about all history tokens associated with the crowdsourcing device identification. In addition, the specific manner in which the server generates the token inheritance information based on the history token information is not unique. For example, the server may use the history token information as token inheritance information; the history token information may also be encoded to generate token inheritance information that may characterize current history token information of the crowdsourcing device.
Step S205, based on the token inheritance information, generating a network interaction check token matched with the session token request.
The specific limitation of the network interaction check token is referred to above, and is not repeated herein. Specifically, in the case that the crowdsourcing device identifier is associated with history token information, because the history token information associated with different devices is different, and the history token information associated with the same crowdsourcing device in different periods is also different, the token inheritance information generated for different session token requests is also different. That is, the session token request corresponds to unique token inheritance information. Based on this, the server may generate a unique network interaction verification token that matches the session token request based on the token inheritance information.
Further, the specific manner in which the server generates the network interaction verification token based on the token inheritance information is not unique. For example, the server may use the token inheritance information as a network interaction verification token; the token inheritance information can be encoded to generate a network interaction check token; and the association relation between the token inheritance information and other additional information can be established, and then the associated token inheritance information and other additional information are encoded to generate the network interaction check token. Wherein the other additional information may include at least one of requester-associated information, service-associated information, and verification information. The requester associated information may include at least one of session token request initiation time, channel information associated with the crowdsourcing equipment, etc.; the server side associated information may include at least one of device information and time information of the token generating party, a last token generating time, a last token issuing time, and the like; the verification information may include at least one of signature information and aging information. Further, the channel information associated with the crowdsourcing device may refer to an operator of the crowdsourcing device, such as a developer of a mobile phone application, a manufacturer of a tachograph, and the like; the token generator may refer to a server node in the server cluster that is responsible for generating a corresponding network interaction check token in response to a current session token request.
It should be noted that, when the crowdsourcing device initiates the session token request for the first time, the crowdsourcing device of the crowdsourcing device identifies unassociated history token information. At this time, the server may assign unique initial inheritance information to the crowdsourcing device, and then the server uses the initial inheritance information as token inheritance information, and generates a network interaction check token based on the token inheritance information, so as to ensure the uniqueness of the first network interaction check token issued to the crowdsourcing device. The initial inheritance information may be determined based on a random number generation algorithm, or may be determined based on at least one of requester association information, server association information, and verification information. Further, the data structure of the initial inheritance information can be consistent with the data structure of the token inheritance information, so that consistency of the token on the data structure is ensured to be checked by each network interaction, and communication convenience is improved. As shown in fig. 3, a crowdsourcing device initiates a token application, sends a session token request to a server, when the server receives the session token request, firstly judges whether the crowdsourcing device is associated with history token information, and if the history token information is empty, distributes unique initial inheritance information to the crowdsourcing device, and generates a new network interaction check token based on the initial inheritance information; in the case where the crowdsourcing device is associated with history token information, the server generates token inheritance information based on the last used history token and generates a new network interaction verification token based on the token inheritance information.
Step S207, the network interaction check token is issued to the crowdsourcing equipment.
The network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment. Specifically, the server issues the network interaction verification token to the crowdsourcing equipment to establish an information interaction channel between the server and the crowdsourcing equipment for subsequent information interaction. The information interaction may include the crowdsourcing device reporting the acquired crowdsourcing data to a server, which issues tasks to the crowdsourcing device. The specific type of crowd-sourced data and tasks is associated with a specific application scenario. For example, in a municipal construction class crowd-sourced data collection scenario, the crowd-sourced data reported by the crowd-sourced device to the server may include a municipal facility damage picture, and the task issued by the server to the crowd-sourced device may include requesting the crowd-sourced device to provide detailed information of the damaged municipal facility, such as location, nameplate identification, damaged location detail image, and the like, for subsequent maintenance. In another example, in a network about car operating scenario, the crowdsourcing data reported by the crowdsourcing device to the server may include track data of the network about car where the crowdsourcing device is located, and the task issued by the server to the crowdsourcing device may include a passenger carrying task determined based on the track data and matched with the network about car.
According to the crowdsourcing equipment communication method, the session token request which is sent by the crowdsourcing equipment and carries the crowdsourcing equipment identification irrelevant to the self parameters of the crowdsourcing equipment is obtained, under the condition that the crowdsourcing equipment identification is associated with historical token information, the token inheritance information of the crowdsourcing equipment is generated based on the historical token information, then, based on the token inheritance information, the network interaction check token matched with the session token request is generated, and finally, the network interaction check token is issued to the crowdsourcing equipment and is used for establishing an information interaction channel of the crowdsourcing equipment. Because the history token information associated with different crowdsourcing equipment is different, and the history token information associated with the same crowdsourcing equipment in different periods is also different, which is equivalent to that each session token request corresponds to unique history token information, token inheritance information is generated based on the history token information, and then a network interaction check token is generated based on the token inheritance information, so that the uniqueness of the network interaction check token can be ensured, the self equipment parameters of the crowdsourcing equipment are not required to be used in the information interaction process, the establishment success of the information interaction channel of the crowdsourcing equipment is ensured, the privacy leakage risk is reduced, and the safety of the communication method of the crowdsourcing equipment is improved.
As previously described, to improve communication security, the server may set an expiration mechanism based on the network interaction verification token generated by the session token request. In one embodiment, the crowdsourcing device communication method further comprises: sending a heartbeat packet to crowdsourcing equipment with an information interaction channel; based on the response condition of the crowdsourcing equipment for the heartbeat packet, the available state of the network interactive check token is adjusted.
Specifically, in the actual application process, the crowdsourcing equipment may cause communication interruption due to service jitter caused by equipment side faults such as network or hardware. For example, an on-board crowdsourcing device may fail to report vehicle flameout event information to a server due to a device side failure. Based on the heartbeat packet, the server continuously sends the heartbeat packet to the crowdsourcing equipment with the information interaction channel according to the set frequency, and adjusts the available state of the network interaction check token based on the response condition of the crowdsourcing equipment to the heartbeat packet.
Further, the specific way of adjusting the available state of the network interactive check token by the server based on the response situation of the crowdsourcing equipment to the heartbeat packet is not unique. For example, the server may adjust the available state of the network interaction verification token to a disabled state if the crowdsourcing device is not responding; the server can also determine the token state adjustment condition currently met by the server based on the response condition of the crowdsourcing equipment for the heartbeat packet, and adjust the available state of the network interaction check token based on the adjustment strategy corresponding to the token state adjustment condition. The token state adjustment conditions may include temporary failure conditions and formal failure conditions, among others. The temporary failure condition may include a continuous no-answer number or an accumulated no-answer number reaching a first set number of times, and/or a continuous no-answer time or an accumulated no-answer time reaching a first set duration; the formal failure condition may include a continuous or cumulative no-answer number reaching a second set number and/or a continuous or cumulative no-answer time reaching a second set duration. The first set times are smaller than the second set times, and the first set time length is smaller than the second set time length. And under the condition that the response condition meets the temporary failure condition, the server adjusts the state of the network interaction check token to be temporarily failed, and continuously sends a heartbeat packet to the crowdsourcing equipment, and if the server receives the response packet of the crowdsourcing equipment under the condition that the crowdsourcing equipment does not meet the formal failure condition, the server adjusts the state of the network interaction check token to be effective from the temporary failure. And under the condition that the response condition meets the formal failure condition, the server adjusts the state of the network interaction check token to be invalid, and if the server and the crowdsourcing equipment need to establish an information interaction channel again, the crowdsourcing equipment needs to reinitiate a session token request, and the server generates a new network interaction check token according to the session token request.
In the above embodiment, the server sends the heartbeat packet to the crowdsourcing device with the information interaction channel, and adjusts the available state of the network interaction check token based on the response condition of the crowdsourcing device to the heartbeat packet, so that the situation that other devices impersonate the network interaction check token to communicate with the server but the server is not aware of the communication interruption caused by the crowdsourcing device communication interruption can be avoided, and the reliability of the communication process is improved.
In one embodiment, the crowdsourcing device communication method further comprises: and using the network interaction check token as a history token, and updating history token information of the crowdsourcing equipment.
Wherein the history token information includes history tokens associated with the crowdsourcing device and inheritance relationships between the associated history tokens. Specifically, because the network interactive check token is not available for a long time and has a certain service life, the server takes the latest generated network interactive check token as a history token and updates history token information of the crowdsourcing equipment so as to ensure the accuracy of the used history token information in the process of responding a new session token request sent by the crowdsourcing equipment to generate the network interactive check token, thereby further ensuring the uniqueness of the network interactive check tokens matched with different session token requests and ensuring the smooth information interaction based on the network interactive check token.
It should be noted that, in other embodiments, the crowdsourcing device may update its history token information. In the case of this embodiment, the session token request sent by the crowdsourcing device to the server needs to carry the history token information of the crowdsourcing device, so that the server can generate the network interaction verification token according to the history token information.
For ease of understanding, the following description will be given of the case where the server is used as the execution subject of updating the history token information. In particular, the specific opportunity for the server to update the history token information of the crowdsourcing device is not unique. For example, the server may update the history token information of the crowdsourcing device with the network interaction verification token as the history token after issuing the network interaction verification token to the crowdsourcing device; and under the condition that the network interaction check token fails, the network interaction check token is used as a history token, and the history token information of the crowdsourcing equipment is updated.
In addition, the specific manner in which the server updates the history token information of the crowdsourcing device is not unique. For example, the server may store the history tokens in key-value pairs, each history token corresponding to a unique key-value pair, wherein a key in the key-value pair is used to characterize inheritance relationships between the corresponding history token and other history tokens, and a value in the key-value pair is used to characterize the corresponding history token. In one embodiment, as shown in fig. 4, updating history token information for a crowdsourcing device includes step S408: adding a network interaction check token and inheritance relations between the network interaction check token and other history tokens in the history token set of the crowdsourcing equipment.
The history tokens of the crowdsourcing equipment and inheritance relations among the history tokens are stored in the history token set. Specifically, the server adds the network interaction check token and inheritance relations between the network interaction check token and other history tokens in the history token set, and then updating of the history token information can be completed.
Further, the specific type of data structure of the history token set is not unique, and may be, for example, a sequential table or a linked list, etc. The linked list may include double linked list, etc. FIG. 5 is a schematic diagram of a data structure of a set of history tokens in one embodiment. In the case of this embodiment, the data structure of the set of history tokens is a doubly linked list. Specifically, as shown in fig. 5, each crowdsourcing device corresponds to a double-ended linked list, each link point in the double-ended linked list stores history tokens, and inheritance relationships among the history tokens are characterized by the link relationships among the link points. For example, in fig. 5, a set of history tokens corresponding to crowdsourcing device a and crowdsourcing device B is presented. The TidA1 to TidA n-1 are original history tokens of the crowdsourcing equipment A, the TidB1 to TidBn-1 are original history tokens of the crowdsourcing equipment B, the TidA1 is a first network interaction check token of the crowdsourcing equipment A, the history token information used in the process of generating the TidA2 comprises association information of the TidA1, namely, a father-son inheritance relationship exists between the TidA1 and the TidA2, the TidA1 is a preface token of the TidA2, the TidA2 is a subsequent token of the TidA1, and the like. In the process of updating the history token information of the crowdsourcing equipment A, the last link point of the double-end linked list of the crowdsourcing equipment A, namely, the link point where the tidAn-1 is located, is added with a network interaction check token tidAn, and then the link relation between the newly added link point and the link point where the tidAn-1 is located is added. By adopting the double-end linked list, the previous and subsequent token information of the history token can be determined by only one calculation aiming at any history token, so that the inheritance token with father-son inheritance relation with the history token is determined, the time complexity of query is O (1), and the application convenience is improved.
In the embodiment, the network interactive check token and the inheritance relation between the network interactive check token and other history tokens in the history token set are added in the history token set of the crowdsourcing equipment so as to finish updating of the history token information, and the method is simple and beneficial to improving the data processing efficiency.
In one embodiment, please continue with fig. 4, update the history token information of the crowdsourcing device, further comprising step S409: and adding the storage address of the network interaction check token in the history token set in the token storage address set. In the case of this embodiment, the crowdsourcing device communication method further comprises step S410: if the historical crowdsourcing data transmitted by the crowdsourcing equipment is abnormal data, determining a target historical token associated with the abnormal data; inquiring from a token storage address set to obtain the storage address of the target history token in the history token set; determining an inheritance token with an inheritance relation with the target history token from the history token set based on the storage address of the target history token in the history token set; and determining a maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data associated with the inherited token.
The storage addresses of the history tokens in the history token set are stored in the token storage address set. Specifically, the server may store the history tokens of the crowdsourcing devices interacting with the presence information thereof in the same token storage address set at storage addresses in the history token sets corresponding to the crowdsourcing devices respectively. When the history token set is updated based on the network interactive check token, the token storage address set is synchronously updated, and the storage address of the network interactive check token in the history token set is added into the token storage address set.
The specific type of data structure of the token storage address set is also not unique, and may be, for example, a hash table or STL map. FIG. 6 is a schematic diagram of a data structure of a token store address set in one embodiment. In the case of this embodiment, the data structure of the token store address set is a hash table. Specifically, as shown in fig. 6, the storage address of the history token tidAn of the crowdsourcing device a in the history token set corresponding to the crowdsourcing device a and the storage address of the history token tidBn of the crowdsourcing device B in the history token set corresponding to the crowdsourcing device B are stored in the token hash table. The time complexity of O (1) can be realized through the token hash table to inquire whether a certain target history token exists or not, and the storage address of the history token in the history token set can be rapidly positioned, so that the application convenience is improved.
Further, as described above, the server may establish an information interaction channel with the crowdsourcing device based on the network interaction check token for subsequent information interaction such as crowdsourcing data reporting. The server can perform anomaly analysis on the historical crowdsourcing data transmitted by the crowdsourcing equipment based on the historical tokens, and if the historical crowdsourcing data transmitted by the crowdsourcing equipment is the anomaly data, the target historical tokens associated with the anomaly data are determined. And then, the server inquires the storage address of the target historical token in the historical token set from the token storage address set, and determines an inherited token with inheritance relation with the target historical token from the historical token set based on the storage address of the target historical token in the historical token set. Based on anomalies in the crowd-sourced data associated with the inherited token, the server may determine a maintenance scheme for the crowd-sourced device.
Wherein the inherited token having an inherited relationship with the target history token may comprise at least one of a preceding token and a following token of the target history token. Specifically, if the crowd-sourced data associated with the preamble token of the target history token has abnormal data, but the crowd-sourced data associated with the subsequent token is normal, the crowd-sourced device can still maintain normal operation, maintenance is not needed, and the attention is continued; if the crowd-sourced data associated with the preamble token of the target history token is normal, but the crowd-sourced data associated with the subsequent token is abnormal, the current fault of the crowd-sourced equipment is indicated, and maintenance is needed; if there is an anomaly in the crowd-sourced data associated with both the preceding token and the following token of the target history token, it is indicated that the crowd-sourced device may need to be replaced. It can be appreciated that, in combination with a specific scenario, further personalized crowdsourcing equipment maintenance schemes can be determined according to abnormal conditions of the crowdsourcing data associated with the inherited token, which are not described herein.
In the above embodiment, the storage address of the network interactive check token in the history token set is added in the token storage address set, so that the crowdsourcing equipment associated with each history token and the storage address of the history token in the history token set corresponding to the crowdsourcing equipment can be queried and obtained, the subsequent determination of the maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data can be facilitated, and the expansion of the application scenario of the communication method of the crowdsourcing equipment is facilitated.
In one embodiment, step S205 includes: generating identification information matched with the session token request based on the token inheritance information; encrypting the identification information to obtain encrypted identification information; and encoding the encrypted identification information to obtain the network interaction check token corresponding to the session token request.
Specifically, as described above, each session token request corresponds to unique token inheritance information, so the server encodes the token inheritance information by using a snowflake algorithm, a snowflake drift algorithm or a UUID (Universally Unique Identifier, universal unique identification code) algorithm, so that unique identification information matched with the session token request can be generated, then the server encrypts the identification information based on DES, AES or TEA encryption algorithm to obtain encrypted identification information, and finally the server encodes the encrypted identification information based on base16, base32 or base64 algorithm to obtain the network interaction check token corresponding to the session token request.
In the embodiment, the network interactive check token is obtained through twice encoding and once encryption, so that the security of the network interactive check token can be ensured, and the security of the communication method of the crowdsourcing equipment can be further improved.
In one embodiment, the crowdsourcing device communication method further comprises: server association information is determined that matches the session token request. In the case of this embodiment, generating identification information matching the session token request based on the token inheritance information includes: adopting an identification information generation algorithm to encode the service side association information to obtain initial identification information matched with the session token request; based on the initial identification information and the token inheritance information, identification information matched with the session token request is generated.
The service party associated information refers to information associated with a response party of a session token request, namely information associated with a token generator, and specifically may include at least one of device information and time information of the token generator, and information such as a last token generation time and a last token issuing time. The token generator may refer to a server node in the server cluster that is responsible for generating a corresponding network interaction check token in response to a current session token request.
In particular, it is often necessary for the same server to respond in turn to a session token request, based on which the session token request is matched with unique server-associated information. The server adopts an identification information generation algorithm to encode the associated information of the server, so that unique initial identification information matched with the session token request can be obtained, and then the identification information matched with the session token request can be generated based on the initial identification information and the token inheritance information. The identification information generation algorithm may be a snowflake algorithm, a snowflake drift algorithm, a UUID algorithm, or the like.
Further, the specific manner in which the server generates the identification information matching the session token request based on the initial identification information and the token inheritance information is not unique. For example, the server may first establish an association relationship between the initial identification information and the token inheritance information, and then encode the associated initial identification information and token inheritance information to generate the identification information; the server can also attach or splice initial identification information on the basis of the token inheritance information to obtain new token inheritance information, and then encode the new token inheritance information to generate identification information. The coding algorithm may be a snowflake algorithm, a snowflake drift algorithm or a UUID algorithm, and the coding algorithm and the identification information generating algorithm may be the same or different.
In the above embodiment, the service side association information is encoded to obtain the initial identification information matched with the session token request, and the identification information matched with the session token request is generated based on the initial identification information and the token inheritance information, so that the uniqueness of the identification information can be further ensured, the uniqueness of the network interaction check token matched with the session token request is further ensured, and the improvement of communication security is facilitated.
In one embodiment, the session token request also carries requester-associated information. In the case of this embodiment, the encoding process is performed on the requester-associated information by using an identification information generating algorithm to obtain initial identification information matched with the session token request, including: and adopting an identification information generation algorithm to encode the service side association information and the request side association information to obtain initial identification information matched with the session token request.
The requester associated information refers to information associated with an initiator of the session token request, and specifically may include at least one of information such as session token request initiation time and channel information associated with crowdsourcing equipment. Channel information associated with a crowdsourcing device may refer to an operator of the crowdsourcing device, such as a developer of a mobile phone application, a manufacturer of a tachograph, and so forth.
The specific limitation of the identification information generation algorithm is referred to above, and is not repeated here. Specifically, after the server acquires the session token request, on one hand, the requester associated information carried in the session token request is extracted, and on the other hand, the service party associated information matched with the session token request is determined. And then, the server encodes the service side association information and the request side association information by adopting an identification information generation algorithm to obtain initial identification information matched with the session token request.
In the above embodiment, the encoding processing is performed on the requester association information and the service party association information to obtain the initial identification information, so that the network interaction verification tokens are associated with the corresponding requester association information, which is convenient for the server to count and analyze the crowd-sourced data reporting situation of each crowd-sourced device, and is beneficial to expanding the application scenario of the communication method of the crowd-sourced device.
In one embodiment, the crowdsourcing device communication method further comprises: at least one of signature information and aging information that matches the session token request is determined. In the case of this embodiment, generating identification information matching the session token request based on the token inheritance information includes: identification information matching the session token request is generated based on at least one of the signature information and the aging information, and the token inheritance information.
The signature information is information obtained after signature processing based on a server node private key, and can be used for carrying out validity check on the network interaction check token. The aging information refers to information for characterizing the validity period of the network interactive check token, and the aging information can be used for carrying out validity check on the network interactive check token. For the specific manner in which the server generates the identification information matched with the session token request based on the token inheritance information and at least one of the signature information and the aging information, see the specific manner in which the server generates the identification information matched with the session token request based on the initial identification information and the token inheritance information, which is not described herein.
Specifically, after the server obtains the session token request, at least one of signature information and aging information matched with the session token request is determined, and then identification information matched with the session token request is generated based on at least one of the signature information and the aging information and the token inheritance information.
In one embodiment, after the server obtains the session token request, signature information matched with the session token request is determined, and identification information matched with the session token request is generated based on the signature information and the token inheritance information. In the case of this embodiment, the crowdsourcing device communication method further comprises: acquiring a crowdsourcing data transmission request initiated by a crowdsourcing device based on a network interaction check token; decrypting the network interactive check token to obtain signature information carried in the network interactive check token; carrying out validity check on the network interaction check token based on the signature information; and if the verification result of the validity verification is that the verification is passed, receiving crowdsourcing data sent by the crowdsourcing equipment.
In another embodiment, after the server obtains the session token request, determining age information matched with the session token request, and generating identification information matched with the session token request based on the age information and the token inheritance information. In the case of this embodiment, the crowdsourcing device communication method further comprises: acquiring a crowdsourcing data transmission request initiated by a crowdsourcing device based on a network interaction check token; decrypting the network interactive check token to obtain aging information carried in the network interactive check token; based on the aging information, carrying out validity check on the network interaction check token; and if the verification result of the validity verification is that the verification is passed, receiving crowdsourcing data sent by the crowdsourcing equipment.
In yet another embodiment, after the server obtains the session token request, signature information and age information matched with the session token request are determined, and then identification information matched with the session token request is generated based on the signature information, the age information, and the token inheritance information. That is, in the case of this embodiment, as shown in fig. 7, at least one of signature information and aging information matched with the session token request is determined, including step S702: signature information and aging information that match the session token request are determined. The crowdsourcing device communication method further comprises step S708: acquiring a crowdsourcing data transmission request initiated by a crowdsourcing device based on a network interaction check token; decrypting the network interactive check token to obtain signature information and aging information carried in the network interactive check token; carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information; and if the validity check and the verification result of the validity check are all verification passing, receiving crowdsourcing data sent by the crowdsourcing equipment.
The decryption algorithm for the server to decrypt the network interaction verification token corresponds to the encryption algorithm for the server to encrypt the identification information. Specifically, a server acquires a crowdsourcing data transmission request initiated by crowdsourcing equipment based on a network interactive check token; decrypting the network interactive check token to obtain signature information and aging information carried in the network interactive check token; carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information; if the verification results of the validity verification and the validity verification are verification passing, the fact that the network interaction verification token is not tampered and is in the validity period is indicated, and at the moment, the server receives crowdsourcing data sent by the crowdsourcing equipment.
In the above embodiment, the server generates the identification information matched with the session token request based on the signature information, the aging information and the token inheritance information, generates the network interaction check token based on the identification information, performs validity check and validity check on the network interaction check token in the subsequent process of information interaction with the crowdsourcing equipment, and receives the crowdsourcing data sent based on the network interaction check token under the condition that both check results pass the verification, so that the security of the crowdsourcing data can be ensured, and the reliability of the communication method of the crowdsourcing equipment is further improved.
In one embodiment, as shown in fig. 8, a crowdsourcing device communication method comprises:
step S801, a session token request sent by crowdsourcing equipment is obtained;
step S802, extracting request time, crowdsourcing equipment identification and channel information associated with crowdsourcing equipment carried in a session token request;
step S803, determining server association information matched with the session token request;
step S804, signature information and aging information matched with the session token request are determined;
step S805, adopting an identification information generation algorithm to encode the request time, channel information and server side associated information to obtain initial identification information matched with the session token request;
step S806, in the case that the crowdsourcing equipment identifier is associated with the history token information, generating token inheritance information of the crowdsourcing equipment based on the history token information;
step S807, encrypting the token inheritance information, the initial identification information, the signature information and the aging information to obtain encrypted identification information;
step S808, coding the encrypted identification information to obtain a network interaction check token corresponding to the session token request;
Step S809, issuing a network interaction check token to crowdsourcing equipment;
step S810, adding a network interaction check token and inheritance relations between the network interaction check token and other history tokens in the history token set of the crowdsourcing equipment;
step S811, adding the storage address of the network interactive check token in the history token set in the token storage address set;
step S812, if the historical crowdsourcing data transmitted by the crowdsourcing equipment is abnormal data, determining a target historical token associated with the abnormal data;
step S813, inquiring from the token storage address set to obtain the storage address of the target history token in the history token set;
step S814, determining an inheritance token with an inheritance relation with the target history token from the history token set based on the storage address of the target history token in the history token set;
step S815, determining a maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data associated with the inherited token;
step S816, sending a heartbeat packet to crowdsourcing equipment with an information interaction channel;
step S817, based on the response condition of the crowdsourcing equipment for the heartbeat packet, the available state of the network interaction check token is adjusted;
Step S818, a crowdsourcing data transmission request initiated by the crowdsourcing equipment based on the network interaction check token is acquired;
step S819, carrying out decryption processing on the network interaction verification token to obtain signature information and aging information carried in the network interaction verification token;
step S820, carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information;
step S821, if the validity check and the verification result of the validity check are both verification passing, the crowd-sourced data sent by the crowd-sourced device is received.
In one embodiment, the application further provides an application scenario of crowd-sourced data acquisition of municipal construction classes, and the crowd-sourced device communication method is applied to the application scenario. In the case of this embodiment, the server obtains a session token request carrying a terminal identifier sent by a citizen through a terminal, and generates token inheritance information of the terminal based on the history token information when the terminal identifier is associated with the history token information. And then, the server generates a network interaction check token matched with the session token request based on the token inheritance information, and issues the network interaction check token to the terminal. The network interaction check token is used for establishing an information interaction channel between the terminal and the server. After the information interaction channel is established, the terminal can report the municipal facility damage picture to the server based on the network interaction check token, so that the server is convenient to maintain the damaged municipal facility.
In an embodiment, the application further provides an application scenario of network vehicle operation, and the crowd-sourced device communication method is applied to the scenario. In the case of this embodiment, as shown in fig. 9, the vehicle-mounted crowdsourcing device sends a session token request to the server in response to the vehicle ignition event, where the session token request carries the application time of the device side, the channel information of the vehicle-mounted crowdsourcing device, and the crowdsourcing device identifier. The application time may be used to perform time synchronization processing on the device side time and the server side time. The server acquires the session token request, on one hand, queries a history token corresponding to the crowdsourcing equipment identifier stored in the database, and on the other hand, determines signature information, aging information, equipment information and time information of a token generator, which are matched with the session token request. The server generates token inheritance information of the vehicle-mounted crowdsourcing equipment based on the historical token corresponding to the crowdsourcing equipment identifier, and adopts a snowflake algorithm to encode application time of the equipment side, channel information of the vehicle-mounted crowdsourcing equipment, equipment information of a token generator and time information, so as to generate a distributed unique identifier.
As shown in fig. 10, the distributed unique identifier reserves 1bit sign bit, 5 bits are machine bits, 7 bits are channel bits, and can guarantee that 128 data sources are supported maximally. The method comprises the steps that 41bit time bits are used for representing application time of equipment sides, 7bit channel bits are used for representing channel information of vehicle-mounted crowdsourcing equipment, 5bit machine bits are used for representing equipment information of a token generating party, and 10bit sequence bits are used for representing time information of the token generating party. Then, the server encrypts the obtained distributed unique identifier, signature information, aging information and token inheritance information by adopting an open-source tea encryption algorithm to obtain encrypted identification information, and encodes the encrypted identification information by adopting a base64 encoding algorithm to obtain the network interactive check token.
After generating the network interaction check token, the server issues the network interaction check token to the vehicle-mounted crowdsourcing equipment. After the vehicle-mounted crowdsourcing equipment acquires the network interaction check token, the network interaction check token is temporarily stored locally for subsequent use. As described in fig. 9, the in-vehicle crowdsourcing device may send a crowdsourcing data transfer request to a server based on the network interaction verification token. After receiving the crowdsourcing data transmission request, the server firstly decrypts the network interactive check token, extracts signature information and aging information carried in the network interactive check token, performs validity check on the network interactive check token based on the signature information, performs validity check on the network interactive check token based on the aging information, and if both check results are passed, the network interactive check token is effective and not tampered, and the interaction agreement of the two parties is reliable. At the moment, the server receives crowdsourcing data sent by the vehicle-mounted crowdsourcing equipment, matches corresponding tasks according to the crowdsourcing data, and then issues the tasks based on the network interaction check token. The crowdsourcing data may include track data of a network vehicle in which the crowdsourcing device is located. After receiving the track data, the server matches the road data stored in the database, determines the position information of the network vehicle, and issues a corresponding passenger carrying task to the network vehicle based on the position information. Further, the vehicle-mounted crowdsourcing equipment can also transmit the completion condition of the task back to the server so that the server can manage the task.
In order to improve communication safety, an expiration mechanism is set for a network interaction check token generated based on a session token request, a device reports a vehicle flameout event to a server, and the server responds to the vehicle flameout event to perform expiration processing on the network interaction check token. Further, the flameout status report may be lost due to service jitter on the device side caused by network, hardware, etc. The server also sends a heartbeat package to the vehicle-mounted crowdsourcing equipment, detects the response condition of the vehicle-mounted crowdsourcing equipment aiming at the heartbeat package, if the equipment does not respond, carries out temporary failure processing on the current network interaction check token, and after the non-response state is maintained for a period of time, for example, 30 minutes or 1 hour, the server carries out formal failure processing on the current network interaction check token.
In addition, the server maintains token inheritance information by establishing a doubly linked list storing history tokens of the crowdsourcing device, and inheritance relationships between the history tokens, and a hash table storing storage addresses of the history tokens in the doubly linked list. The time complexity of O (1) can be realized through the double-end linked list to inquire the history token information of the front and rear sequence of a certain history token, the time complexity of O (1) can be realized through the hash table to inquire whether a certain history token exists or not, and the memory address of the history token in the double-end linked list can be rapidly positioned. In addition, the server can scan the double linked list head historical tokens, if the period is longer than the stipulated time of the user privacy security policy, the node is removed and the node information in the hash table is processed, so that the stored historical tokens are all token information conforming to the user privacy security policy. The server can dynamically allocate the upper limit of the number of tokens which can be applied daily for each vehicle-mounted crowdsourcing equipment, so that the waste of resources caused by malicious acquisition is avoided.
In the embodiment, the network interaction check token irrelevant to the device parameters of the crowdsourcing equipment is introduced, so that the uniqueness of the network interaction check token can be ensured, the successful establishment of the information interaction channel of the crowdsourcing equipment is ensured, the privacy leakage risk can be reduced, and the safety of the communication method of the crowdsourcing equipment is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a crowdsourcing equipment communication device for realizing the crowdsourcing equipment communication method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in the embodiments of the communication apparatus of the crowdsourcing equipment provided below may be referred to as the limitation of the communication method of the crowdsourcing equipment hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 11, there is provided a crowdsourcing device communication apparatus 1100 comprising: a request acquisition module 1101, an inheritance information generation module 1102, a token generation module 1103, and a token issuing module 1104, wherein:
a request acquisition module 1101, configured to acquire a session token request sent by a crowdsourcing device; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identification is identification information irrelevant to the self parameters of the crowdsourcing equipment;
an inheritance information generation module 1102, configured to generate token inheritance information of the crowdsourcing device based on history token information when the crowdsourcing device identifier is associated with the history token information;
a token generation module 1103, configured to generate a network interaction check token matched with the session token request based on the token inheritance information;
A token issuing module 1104, configured to issue a network interaction check token to the crowdsourcing device; the network interactive check token is used for establishing an information interaction channel of the crowdsourcing equipment.
In one embodiment, the token generation module 1103 includes: the identification information generating unit is used for generating identification information matched with the session token request based on the token inheritance information; the encryption unit is used for carrying out encryption processing on the identification information to obtain encrypted identification information; the coding unit is used for coding the encrypted identification information to obtain the network interaction check token corresponding to the session token request.
In one embodiment, the crowdsourcing device communication apparatus 1100 further comprises an information matching module for determining server associated information that matches the session token request. In the case of this embodiment, the identification information generation unit includes: the initial identification information generation component is used for adopting an identification information generation algorithm to encode the service side association information to obtain initial identification information matched with the session token request; and the identification information generation component is used for generating identification information matched with the session token request based on the initial identification information and the token inheritance information.
In one embodiment, the session token request also carries requester-associated information. In the case of this embodiment, the initial identification information generation component is specifically configured to: and adopting an identification information generation algorithm to encode the association information of the requesting party and the association information of the service party to obtain initial identification information matched with the session token request.
In one embodiment, the crowdsourcing device communication apparatus 1100 further comprises an information matching module for determining at least one of signature information and age information matched with the session token request. In the case of this embodiment, the identification information generation unit is specifically configured to: identification information matching the session token request is generated based on at least one of the signature information and the aging information, and the token inheritance information.
In one embodiment, the information matching module is configured to determine signature information and age information that match the session token request. With this embodiment, the crowdsourcing device communication apparatus 1100 further comprises a crowdsourcing data transmission module for: acquiring a crowdsourcing data transmission request initiated by a crowdsourcing device based on a network interaction check token; decrypting the network interactive check token to obtain signature information and aging information carried in the network interactive check token; carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information; and if the validity check and the verification result of the validity check are all verification passing, receiving crowdsourcing data sent by the crowdsourcing equipment.
In one embodiment, the crowdsourcing device communication apparatus 1100 further comprises: and the history token information updating module is used for updating the history token information of the crowdsourcing equipment by taking the network interaction check token as the history token. The history token information includes history tokens associated with crowdsourcing devices, and inherited relationships between associated history tokens.
In one embodiment, the history token information update module is specifically configured to: adding a network interaction check token and inheritance relations between the network interaction check token and other history tokens in the history token set of the crowdsourcing equipment.
In one embodiment, the history token information update module is further configured to add a storage address of the network interaction verification token in the history token set in the token storage address set. In the case of this embodiment, the crowdsourcing device communication apparatus 1100 further comprises a device maintenance scheme determination module for: if the historical crowdsourcing data transmitted by the crowdsourcing equipment is abnormal data, determining a target historical token associated with the abnormal data; inquiring from a token storage address set to obtain the storage address of the target history token in the history token set; determining an inheritance token with an inheritance relation with the target history token from the history token set based on the storage address of the target history token in the history token set; and determining a maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data associated with the inherited token.
In one embodiment, the crowdsourcing device comprises an in-vehicle crowdsourcing device; the session token request is sent by the in-vehicle crowdsourcing device in response to a vehicle ignition event. In the case of this embodiment, the crowdsourcing device communication apparatus 1100 further comprises: and the expiration processing module is used for responding to the vehicle flameout event and performing expiration processing on the network interaction check token.
In one embodiment, the crowdsourcing device communication apparatus 1100 further comprises: the available state adjusting module is used for sending a heartbeat packet to crowdsourcing equipment with an information interaction channel; based on the response condition of the crowdsourcing equipment for the heartbeat packet, the available state of the network interactive check token is adjusted.
The various modules in the crowdsourcing equipment communication device described above may be implemented in whole or in part in software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 12. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing history token information. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a crowdsourcing device communication method.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, the related information of the requesting party related to the application is information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (20)

1. A method of crowdsourcing device communication, the method comprising:
acquiring a session token request sent by crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
generating token inheritance information of the crowdsourcing equipment based on history token information under the condition that the history token information is associated with the crowdsourcing equipment identification; the history token information associated with different crowdsourcing equipment is different, and the history token information associated with the same crowdsourcing equipment in different periods is also different;
Determining server side associated information matched with the session token request;
adopting an identification information generation algorithm to encode the service side associated information to obtain initial identification information matched with the session token request;
generating identification information matched with the session token request based on the initial identification information and the token inheritance information;
encrypting the identification information matched with the session token request to obtain encrypted identification information;
encoding the encrypted identification information to obtain a network interaction check token corresponding to the session token request;
issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
2. The method of claim 1, wherein the session token request further carries requester-associated information;
the step of adopting an identification information generation algorithm to encode the service side associated information to obtain initial identification information matched with the session token request comprises the following steps:
and adopting an identification information generation algorithm to encode the associated information of the requesting party and the associated information of the service party to obtain initial identification information matched with the session token request.
3. The method according to claim 1, wherein the method further comprises:
determining at least one of signature information and age information matched with the session token request;
the generating identification information matched with the session token request based on the initial identification information and the token inheritance information comprises the following steps:
generating identification information matching the session token request based on the initial identification information, the token inheritance information, and at least one of the signature information and the age information.
4. The method of claim 3, wherein the determining at least one of signature information and aging information that matches the session token request comprises:
determining signature information and aging information matched with the session token request;
the method further comprises the steps of:
acquiring a crowdsourcing data transmission request initiated by the crowdsourcing equipment based on the network interactive check token;
decrypting the network interactive check token to obtain signature information and aging information carried in the network interactive check token;
carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information;
And if the validity check and the verification result of the validity check are all verification passing, receiving crowdsourcing data sent by the crowdsourcing equipment.
5. The method according to claim 1, wherein the method further comprises:
the network interaction check token is used as a history token, and history token information of the crowdsourcing equipment is updated; the history token information includes history tokens associated with the crowdsourcing device and inheritance relationships between each of the associated history tokens.
6. The method of claim 5, wherein the updating the history token information for the crowdsourcing device comprises:
adding the network interactive check token and inheritance relations between the network interactive check token and other history tokens in the history token set of the crowdsourcing equipment.
7. The method of claim 6, wherein the updating the history token information for the crowdsourcing device further comprises:
adding the storage address of the network interactive check token in the history token set in a token storage address set;
the method further comprises the steps of:
If the historical crowdsourcing data transmitted by the crowdsourcing equipment is abnormal data, determining a target historical token associated with the abnormal data;
inquiring from the token storage address set to obtain the storage address of the target history token in the history token set;
determining an inherited token having an inherited relationship with the target history token from the history token set based on the storage address of the target history token in the history token set;
and determining a maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data associated with the inherited token.
8. The method of any one of claims 1 to 7, wherein the crowdsourcing device comprises an in-vehicle crowdsourcing device; the session token request is sent by the in-vehicle crowdsourcing device in response to a vehicle ignition event;
the method further comprises the steps of:
and responding to a vehicle flameout event, and carrying out expiration processing on the network interaction check token.
9. The method according to any one of claims 1 to 7, further comprising:
sending a heartbeat packet to the crowdsourcing equipment with the information interaction channel;
And adjusting the available state of the network interaction check token based on the response condition of the crowdsourcing equipment to the heartbeat package.
10. A crowdsourcing equipment communication apparatus, the apparatus comprising:
the request acquisition module is used for acquiring a session token request sent by the crowdsourcing equipment; the session token request carries a crowdsourcing equipment identifier; the crowdsourcing equipment identifier is identification information irrelevant to own parameters of the crowdsourcing equipment;
the inheritance information generation module is used for generating token inheritance information of the crowdsourcing equipment based on the history token information under the condition that the crowdsourcing equipment identification is associated with the history token information; the history token information associated with different crowdsourcing equipment is different, and the history token information associated with the same crowdsourcing equipment in different periods is also different;
the information matching module is used for determining service side association information matched with the session token request;
the initial identification information generation component is used for carrying out coding processing on the service side associated information by adopting an identification information generation algorithm to obtain initial identification information matched with the session token request;
an identification information generating component for generating identification information matched with the session token request based on the initial identification information and the token inheritance information;
The encryption unit is used for carrying out encryption processing on the identification information matched with the session token request to obtain encrypted identification information;
the coding unit is used for coding the encrypted identification information to obtain a network interaction check token corresponding to the session token request;
the token issuing module is used for issuing the network interaction check token to the crowdsourcing equipment; the network interaction check token is used for establishing an information interaction channel of the crowdsourcing equipment.
11. The apparatus of claim 10, wherein the session token request further carries requester-associated information;
the initial identification information generation component is specifically configured to: and adopting an identification information generation algorithm to encode the associated information of the requesting party and the associated information of the service party to obtain initial identification information matched with the session token request.
12. The apparatus according to claim 10, wherein:
the information matching module is further used for determining at least one of signature information and aging information matched with the session token request;
the identification information generation component is specifically configured to: generating identification information matching the session token request based on the initial identification information, the token inheritance information, and at least one of the signature information and the age information.
13. The apparatus according to claim 12, wherein:
the information matching module is specifically used for determining signature information and aging information matched with the session token request;
the apparatus further comprises a crowdsourcing data transmission module for:
acquiring a crowdsourcing data transmission request initiated by the crowdsourcing equipment based on the network interactive check token;
decrypting the network interactive check token to obtain signature information and aging information carried in the network interactive check token;
carrying out validity check on the network interaction check token based on the signature information, and carrying out validity check on the network interaction check token based on the aging information;
and if the validity check and the verification result of the validity check are all verification passing, receiving crowdsourcing data sent by the crowdsourcing equipment.
14. The apparatus of claim 10, further comprising a history token information update module configured to:
the network interaction check token is used as a history token, and history token information of the crowdsourcing equipment is updated; the history token information includes history tokens associated with the crowdsourcing device and inheritance relationships between each of the associated history tokens.
15. The apparatus of claim 14, wherein the history token information update module is specifically configured to:
adding the network interactive check token and inheritance relations between the network interactive check token and other history tokens in the history token set of the crowdsourcing equipment.
16. The apparatus of claim 15, wherein the history token information update module is further configured to: adding the storage address of the network interactive check token in the history token set in a token storage address set;
the apparatus further comprises a device maintenance scheme determination module for:
if the historical crowdsourcing data transmitted by the crowdsourcing equipment is abnormal data, determining a target historical token associated with the abnormal data;
inquiring from the token storage address set to obtain the storage address of the target history token in the history token set;
determining an inherited token having an inherited relationship with the target history token from the history token set based on the storage address of the target history token in the history token set;
and determining a maintenance scheme of the crowdsourcing equipment according to the abnormal condition of the crowdsourcing data associated with the inherited token.
17. The apparatus of any one of claims 10 to 16, wherein the crowdsourcing device comprises an in-vehicle crowdsourcing device; the session token request is sent by the in-vehicle crowdsourcing device in response to a vehicle ignition event;
the apparatus further includes an expiration processing module for expiration processing the network interaction verification token in response to a vehicle flameout event.
18. The apparatus according to any one of claims 10 to 16, wherein:
the apparatus further comprises an availability status adjustment module for: sending a heartbeat packet to the crowdsourcing equipment with the information interaction channel; and adjusting the available state of the network interaction check token based on the response condition of the crowdsourcing equipment to the heartbeat package.
19. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 9 when the computer program is executed.
20. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 9.
CN202210740431.6A 2022-06-28 2022-06-28 Crowd-sourced device communication method, device, computer device and storage medium Active CN115150145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210740431.6A CN115150145B (en) 2022-06-28 2022-06-28 Crowd-sourced device communication method, device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210740431.6A CN115150145B (en) 2022-06-28 2022-06-28 Crowd-sourced device communication method, device, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN115150145A CN115150145A (en) 2022-10-04
CN115150145B true CN115150145B (en) 2023-05-23

Family

ID=83409488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210740431.6A Active CN115150145B (en) 2022-06-28 2022-06-28 Crowd-sourced device communication method, device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN115150145B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6041357A (en) * 1997-02-06 2000-03-21 Electric Classified, Inc. Common session token system and protocol
WO2013132462A1 (en) * 2012-03-08 2013-09-12 Oltio (Proprietary) Limited A method of authenticating a device and encrypting data transmitted between the device and a server
CN109660343A (en) * 2019-01-17 2019-04-19 平安科技(深圳)有限公司 Token updating method, device, computer equipment and storage medium
CN110944020A (en) * 2019-12-30 2020-03-31 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted intelligent computing device, cloud server and encrypted communication method
CN111432031A (en) * 2020-04-17 2020-07-17 支付宝(杭州)信息技术有限公司 Internet of things equipment identity information generation method and device and electronic equipment
CN111953634A (en) * 2019-05-15 2020-11-17 北京奇安信科技有限公司 Access control method and device for terminal equipment, computer equipment and storage medium
CN113726521A (en) * 2021-08-27 2021-11-30 腾讯科技(深圳)有限公司 Communication method, communication device, electronic equipment and readable storage medium
CN114006700A (en) * 2021-08-09 2022-02-01 招银云创信息技术有限公司 Client login method and device, computer equipment and storage medium
CN114422226A (en) * 2022-01-13 2022-04-29 企查查科技有限公司 Token processing method and device, computer equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800675B (en) * 2016-09-07 2020-04-07 深圳市腾讯计算机系统有限公司 Data transmission method, terminal and server
CN108881132B (en) * 2017-07-25 2021-03-23 北京旷视科技有限公司 Application authorization method, client, server and computer readable medium
US11303627B2 (en) * 2018-05-31 2022-04-12 Oracle International Corporation Single Sign-On enabled OAuth token
CN109167802B (en) * 2018-11-08 2021-07-13 金蝶软件(中国)有限公司 Method, server and terminal for preventing session hijacking
US10805083B1 (en) * 2019-09-04 2020-10-13 Capital One Services, Llc Systems and methods for authenticated communication sessions
CN110753037A (en) * 2019-09-27 2020-02-04 苏州浪潮智能科技有限公司 Token management method, device and storage medium
CN112688773A (en) * 2019-10-17 2021-04-20 浙江大搜车软件技术有限公司 Token generation and verification method and device
US20220198440A1 (en) * 2020-12-18 2022-06-23 Visa International Service Association Method, System, and Computer Program Product for Generating a Token for a User Based on Another Token of Another User

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6041357A (en) * 1997-02-06 2000-03-21 Electric Classified, Inc. Common session token system and protocol
WO2013132462A1 (en) * 2012-03-08 2013-09-12 Oltio (Proprietary) Limited A method of authenticating a device and encrypting data transmitted between the device and a server
CN109660343A (en) * 2019-01-17 2019-04-19 平安科技(深圳)有限公司 Token updating method, device, computer equipment and storage medium
CN111953634A (en) * 2019-05-15 2020-11-17 北京奇安信科技有限公司 Access control method and device for terminal equipment, computer equipment and storage medium
CN110944020A (en) * 2019-12-30 2020-03-31 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted intelligent computing device, cloud server and encrypted communication method
CN111432031A (en) * 2020-04-17 2020-07-17 支付宝(杭州)信息技术有限公司 Internet of things equipment identity information generation method and device and electronic equipment
CN114006700A (en) * 2021-08-09 2022-02-01 招银云创信息技术有限公司 Client login method and device, computer equipment and storage medium
CN113726521A (en) * 2021-08-27 2021-11-30 腾讯科技(深圳)有限公司 Communication method, communication device, electronic equipment and readable storage medium
CN114422226A (en) * 2022-01-13 2022-04-29 企查查科技有限公司 Token processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN115150145A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US10979231B2 (en) Cross-chain authentication method, system, server, and computer-readable storage medium
CN108235806B (en) Method, device and system for safely accessing block chain, storage medium and electronic equipment
CN111064569B (en) Cluster key obtaining method and device of trusted computing cluster
KR102450811B1 (en) System for key control for in-vehicle network
CN110535641B (en) Key management method and apparatus, computer device, and storage medium
EP3860036A1 (en) Key management method, security chip, service server and information system
CN110932850B (en) Communication encryption method and system
CN110781140B (en) Method, device, computer equipment and storage medium for signing data in blockchain
CN111314060B (en) Key updating method, device and storage medium
CN111080299B (en) Anti-repudiation method for transaction information, client and server
CN113781678A (en) Vehicle Bluetooth key generation and authentication method and system under network-free environment
CN104836784A (en) Information processing method, client, and server
CN112887282A (en) Identity authentication method, device and system and electronic equipment
CN109698746A (en) Negotiate the method and system of the sub-key of generation bound device based on master key
CN113259722B (en) Secure video Internet of things key management method, device and system
US11190351B2 (en) Key generation method and acquisition method, private key update method, chip, and server
CN113434474A (en) Flow auditing method, equipment and storage medium based on federal learning
CN115150145B (en) Crowd-sourced device communication method, device, computer device and storage medium
JP2017532906A (en) How to manage subscriptions on the provisioning server
EP4250631A1 (en) Vehicle diagnosis system, method and apparatus
WO2021089983A1 (en) Validating distributed source content
CN116600297B (en) Registration method, device, system and communication equipment based on 5G private network
US20170222810A1 (en) User permission check system
CN114866309B (en) Data transmission method, system, equipment and medium
WO2022241799A1 (en) Key generation method and apparatus

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