CN113343641A - Equipment identification method, device and system and cloud server - Google Patents

Equipment identification method, device and system and cloud server Download PDF

Info

Publication number
CN113343641A
CN113343641A CN202110686348.0A CN202110686348A CN113343641A CN 113343641 A CN113343641 A CN 113343641A CN 202110686348 A CN202110686348 A CN 202110686348A CN 113343641 A CN113343641 A CN 113343641A
Authority
CN
China
Prior art keywords
equipment
information
target
identification code
attribute information
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.)
Granted
Application number
CN202110686348.0A
Other languages
Chinese (zh)
Other versions
CN113343641B (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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Hubei Ecarx Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hubei Ecarx Technology Co Ltd filed Critical Hubei Ecarx Technology Co Ltd
Priority to CN202110686348.0A priority Critical patent/CN113343641B/en
Publication of CN113343641A publication Critical patent/CN113343641A/en
Application granted granted Critical
Publication of CN113343641B publication Critical patent/CN113343641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application provides a device identification method, a device identification system and a cloud server, wherein the method comprises the following steps: the method comprises the steps of obtaining attribute information of target equipment and project information to which the target equipment belongs, wherein the attribute information is uploaded by a local equipment terminal, obtaining an identification code of the target equipment according to the attribute information and the project information of the target equipment, and feeding back the attribute information, the project information and the identification code of the target equipment to the local equipment terminal. According to the technical scheme, the attribute information and the item information of the target equipment are uploaded to the cloud end through the local equipment end, the identification codes of the target equipment are uniformly generated by the cloud end and are fed back to the local equipment end, the identification codes of the target equipment can be guaranteed to be different from one another, and the problem that the equipment provided by different suppliers has the same identification is solved.

Description

Equipment identification method, device and system and cloud server
Technical Field
The application relates to the technical field of automobile control systems, in particular to a device identification method, device and system and a cloud server.
Background
With the development of automobile research and development technologies, in the process of vehicle research and development, more and more enterprises pay attention to the research and development of control systems of automobiles, when research and development personnel research and develop the control systems of vehicles, the control systems can be loaded with zero-device equipment provided by various different suppliers, the control systems mainly identify and distinguish the equipment through equipment identifiers, and when the equipment with the same identifier exists, the control systems can be mistakenly identified.
In the prior art, in order to avoid the situation that the control system generates false identification, a supplier mainly combines and superposes information such as a production batch of equipment, a product serial number of the equipment, a type of the equipment and the like by himself to generate an identification code to identify each equipment, so that each equipment which finally leaves a factory is ensured to have a unique identification.
However, in the method in the prior art, only the unique device identifier of the same vendor can be ensured, and if a developer carries devices provided by a plurality of vendors for a control system during development of the control system, the devices of different vendors may still have the same identifier.
Disclosure of Invention
The application provides a device identification method, device and system and a cloud server, which are used for solving the problem that devices among different suppliers have the same identification in the prior art.
In a first aspect, an embodiment of the present application provides an apparatus identification method, including:
acquiring attribute information of target equipment uploaded by a local equipment terminal and project information to which the target equipment belongs, wherein the project information is used for indicating a service scene applied by the target equipment;
acquiring an identification code of the target equipment according to the attribute information of the target equipment and the item information, wherein the identification code is used for distinguishing and identifying the target equipment;
and feeding back the attribute information, the item information and the identification code of the target equipment to the local equipment terminal.
In a possible design of the first aspect, the obtaining an identification code of the target device according to the attribute information of the target device and the item information includes:
constructing and obtaining an item identification code according to the item information to which the target equipment belongs;
according to the project identification code, creating a device number storage pool corresponding to the project identification code;
generating a device number according to a preset rule and the project information, and storing the device number into the device number storage pool;
and acquiring the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device.
In another possible design of the first aspect, the target device is a vehicle machine, the item information to which the target device belongs includes provider information, device type information, device batch information, device vehicle type information, device item name, and purchasing party information, and acquiring the item identifier according to the item information to which the target device belongs includes:
and constructing and obtaining the project identification code according to the supplier information, the equipment type information, the equipment batch information, the equipment belonging vehicle type information, the equipment belonging project name and the purchasing party information.
In yet another possible design of the first aspect, the generating a device number according to a preset rule and the item information includes:
acquiring the equipment type, the equipment model and the supplier code of the target equipment according to the project information;
and randomly generating more than two different equipment numbers according to the equipment type, the equipment model, the supplier code, the attribute information and the current date information of the target equipment.
In yet another possible design of the first aspect, the obtaining the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device includes:
determining whether the product serial number has a corresponding equipment number;
if the product serial number does not have a corresponding device number, selecting a target device number from the device number storage pool as an identification code of the target device;
and if the corresponding equipment number exists in the product serial number, taking the equipment number corresponding to the product serial number as the identification code of the target equipment.
In yet another possible design of the first aspect, before generating the device number according to the preset rule and the item information, the method further includes:
and obtaining an adjustment strategy of the preset rule, and updating the preset rule according to the adjustment strategy.
In yet another possible design of the first aspect, the feeding back the attribute information, the item information, and the identification code of the target device to the local device includes:
encrypting the attribute information, the item information and the identification code of the target equipment according to a preset encryption algorithm to obtain encrypted data;
and sending the encrypted data to the local equipment end, wherein the encrypted data is used for decrypting by the local equipment end according to a preset decryption algorithm to obtain the attribute information, the item information and the identification code of the target equipment.
In yet another possible design of the first aspect, after feeding back the attribute information, the item information, and the identification code of the target device to the local device, the method further includes:
acquiring a verification result uploaded by the local equipment terminal, wherein the verification result is obtained by verifying the attribute information, the item information and the identification code of the target equipment by the local equipment terminal;
and constructing a corresponding relation between the identification code of the target equipment and the attribute information according to the checking result.
In a second aspect, an embodiment of the present application provides an apparatus for identifying a device, including:
the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for acquiring attribute information of target equipment uploaded by a local equipment terminal and project information to which the target equipment belongs, and the project information is used for indicating an application scene of the target equipment;
the acquisition module is used for acquiring an identification code of the target equipment according to the attribute information of the target equipment and the item information, wherein the identification code is used for distinguishing and identifying the target equipment;
and the feedback module is used for feeding back the attribute information, the item information and the identification code of the target equipment to the local equipment terminal.
In a third aspect, an embodiment of the present application provides a cloud server, including a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executes computer-executable instructions stored by the memory, causing the at least one processor to perform the method as described above.
In a fourth aspect, an embodiment of the present application provides an equipment identification system, including a local equipment end and a cloud server in communication connection with the local equipment end, where the local equipment end is provided with a software system and a service system associated with the software system;
the cloud server is used for acquiring attribute information of the target equipment uploaded by the software system and project information to which the target equipment belongs, and acquiring an identification code of the target equipment according to the attribute information of the target equipment and the project information to which the target equipment belongs;
the software system is used for acquiring the identification code of the target equipment and distributing the identification code of the target equipment to the service system;
and the service system is used for executing preset service operation on the target equipment according to the identification code of the target equipment.
In a fifth aspect, the present application provides a readable storage medium, in which computer instructions are stored, and when executed by a processor, the computer instructions are used to implement the method as described above.
In a sixth aspect, the present application provides a program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the method described above.
According to the device identification method, the device, the system and the cloud server, the attribute information and the affiliated project information of the target device are uploaded to the cloud end through the local device end, the identification codes of the target devices are generated uniformly by the cloud end and are fed back to the local device end, the identification codes of the target devices can be guaranteed to be different, and the problem that the devices provided by different suppliers have the same identification is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application;
fig. 1 is a schematic view of a scenario of a device identification method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a first embodiment of an apparatus identification method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second embodiment of an apparatus identification method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a third embodiment of a device identification method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus identification device according to an embodiment of the present application;
fig. 6 is a system framework diagram of an apparatus identification system provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of a cloud server provided in the embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms referred to in this application are explained first:
an automobile control system:
an automobile control system is a system for assisting a driver in driving an automobile or automatically driving an automobile instead of the driver, and the automobile control system is just like an operating system in a smart phone, can operate various software services, such as high-precision map positioning, environment perception, driving strategies, vehicle control logic and the like, and is a software system operated on the operating system.
Fig. 1 is a scene schematic diagram of the device identification method provided in the embodiment of the present application, in this embodiment, a local device end may be a mobile terminal or a computer, as shown in fig. 1, taking the local device end as a mobile phone as an example, a mobile phone 11 performs data communication with a cloud server 12 through a network, and uploads attribute information and project information of various devices carried in an automobile control system. The cloud server 12 generates a plurality of different identifiers according to the attribute information and the project information of each device, so as to identify each target device.
In real-life applications, devices required to be carried by a control system may be various, for example, devices provided by different suppliers, and differences between manufacturers easily cause the same situation of identification information of the devices, whereas a large number of service modules in a software system operated in the control system need unique identifiers of the devices to perform device identification at a software level, for example, message pushing, which needs to find a target device receiving a pushed message according to the unique identifier.
In the prior art, in order to identify a device, the following schemes are specifically included:
1. the scheme is that the international mobile equipment identification code is acquired as the unique identification by utilizing the autonomous networking capability of the mobile phone, but some devices loaded on an automobile control system may not have the networking function and cannot be networked autonomously.
2. The device information superposition identification scheme is that a manufacturer generates a device identification by using a multi-information superposition calculation mode through device inherent information data, for example: the Serial Number (SN), the device type, and the device production batch are subjected to superposition operation to obtain a plurality of identification codes to identify each device, but because the specifications used by different manufacturers are different, the devices produced by different manufacturers still have the same probability.
3. The software system information superposition equipment inherent information identification scheme is operated in a mode of superposing equipment information and software system information to generate equipment identification. When different devices of the software system are carried, the device identification increases software information, the probability of repeated occurrence of manufacturer device identification is reduced, and global uniqueness still cannot be guaranteed.
4. The service module using the equipment identification code is responsible for generating and using the equipment identification code, so that strong dependence is generated on the service module and the equipment identification code generating service. Once the identification code generation algorithm is optimized and adjusted, large-scale equipment upgrading work is faced, and the cost is high.
In summary, there is no suitable method in the prior art for effectively identifying devices, so that the software system can accurately identify each different device.
In order to solve the above problems, embodiments of the present application provide an apparatus identification method, apparatus, system, and cloud server, after multidimensional data are aggregated and uploaded to the cloud server, the cloud server performs centralized operation to generate an unique identifier of an apparatus, and stores and distributes the unique identifier, so as to ensure that the identifier of the apparatus is globally unique, and an apparatus supplier only needs to complete entry of apparatus attribute information according to respective specifications, and does not need to adjust apparatus information according to a purchaser's requirement. Meanwhile, the generated identification code is stored in the operation server, and compared with the identification code stored in a local equipment terminal, the identification code has better data security. The identification code generating algorithm of the cloud server can be directly modified and adjusted subsequently, and the adjustment is very flexible and convenient. Finally, after the identification code is issued to the local equipment terminal by the cloud service, the identification code of the target equipment can be distributed to the business module communicated with the local equipment terminal by the local equipment terminal, the business module does not need to apply for the identification code of the target equipment from the cloud server, and efficiency and instantaneity are guaranteed.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic flowchart of a first embodiment of a device identification method provided in the present application, where the method may be applied to a cloud server. As shown in fig. 2, the device identification method may specifically include the following steps:
s201, acquiring attribute information of the target equipment uploaded by the local equipment terminal and project information to which the target equipment belongs.
The project information is used for indicating a service scene applied by the target device. In this embodiment, the attribute information is specific information of the target device and cannot be changed or modified, the item information may be information that is given to the target device when the target device is applied to a certain item, and the item information of the target device may be changed under different items.
Illustratively, the attribute information includes a product serial number of the target device, and the item information includes supplier information, device type information, device batch information, device-belonging vehicle type information, device-belonging item name, and purchaser information of the target device.
Specifically, when an automobile manufacturer develops a control system, the manufacturer (a) wishes to carry a vehicle equipment for a certain type of vehicle (C) on a certain project (B), and the supplier (D) determines a certain equipment (SN) which provides a certain batch (F) after using a certain type of equipment (E) based on the above information, wherein all of A, B, C, D, E, F pieces of information can be used as project information, and SN refers to a product serial number of the equipment and can be used as attribute information.
The car machine is a vehicle-mounted information entertainment product arranged in a car, can realize information communication between people and the car in function, can be arranged on a vehicle driving table, and is a vehicle-mounted terminal with multiple functions of on-line navigation, road condition information, travel guide, shopping, entertainment audio and video and the like.
In this embodiment, the local device may be a mobile phone, and the item information and the attribute information may be obtained from a supplier or written in a production line, and then input into the mobile phone.
S202, acquiring the identification code of the target device according to the attribute information and the item information of the target device.
The identification code is used for distinguishing and identifying the target device. Illustratively, the identification codes may be in the form of numbers and/or letters, and the number of the numbers and/or letters may be 32, so as to ensure that each identification code is different from each other, so that different target devices can have different identification codes to facilitate identification by the software system.
For example, the identification code of the target device may be generated by a preset rule or a preset algorithm, for example, a vendor code, a device model, and a device type are acquired from the item information, and then ten thousand identification codes different from each other are randomly generated by a random algorithm in combination with the current date information (including the year, month, and day) and the product serial number in the attribute information.
For example, the preset rule or the preset algorithm is pre-stored in the cloud server, and the preset rule or the preset algorithm may be subsequently adjusted and optimized.
S203, feeding back the attribute information, the item information and the identification code of the target equipment to the local equipment terminal.
In this embodiment, in a research and development project of a certain control system, a plurality of target devices may be used, and the cloud server may correspond to an identification code for each target device according to its own attribute information, and feed back the attribute information, the project information, and the identification code to the local device side.
Illustratively, the local device side can check the attribute information, the item information and the identification code, specifically, the attribute information and the item information stored locally can be compared with the attribute information and the item information fed back by the cloud side, and if the attribute information and the item information are matched with each other, whether the identification code is empty or not is checked, and the checking process is completed.
According to the embodiment of the application, the attribute information of the equipment and the belonging project information are collected by the local equipment terminal, uploaded to the cloud terminal, and the cloud terminal generates the different identification codes in a unified manner and sends the identification codes to the local equipment terminal, so that the target equipment used in the project related to the control system can be ensured to have the unique identification, and the problem that the equipment provided by different suppliers has the same identification is avoided.
For example, in some embodiments, the step S202 may be specifically implemented by the following steps:
according to the project information to which the target equipment belongs, a project identification code is constructed;
according to the project identification code, establishing a device number storage pool corresponding to the project identification code;
generating a device number according to a preset rule and the project information, and storing the device number into a device number storage pool;
and acquiring the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device.
For example, taking the target device as the car machine device, a certain manufacturer (a) wants to carry a car machine device for a certain car type (C) on a certain item (B), and a supplier (D) determines to provide a certain device (SN) for a certain batch (F) after using a certain type of device (E) based on the above information, and the item information to which the car machine device belongs includes the certain manufacturer (i.e. purchaser information), the certain item (i.e. item name to which the device belongs), the certain car type (i.e. car type information to which the device belongs), the certain supplier (i.e. supplier information), the certain type of device (i.e. device type information), and the certain batch (i.e. device batch information), and the item identification code can be constructed according to the above six information.
In this embodiment, the item identification code is used to identify the item information to which the current target device belongs, and a corresponding device number storage pool is created, where a plurality of different device numbers may be generated according to a preset rule in the device number storage pool, and these device numbers will be used as the identification code of the target device.
For example, when there are multiple target devices, it is necessary to remove a corresponding device number from the device number storage pool according to the attribute information of each target device, and use the device number as the identification code of the target device, thereby avoiding confusion.
According to the embodiment of the application, the item identification codes are constructed, the generated different equipment numbers are stored in the equipment number storage pool, and the local equipment side can select one equipment number from the equipment number storage pool as the identification code of the target equipment according to the attribute information of the target equipment, so that the condition that the multiple target equipment have the same identification is avoided.
On the basis of the above embodiments, in some embodiments, the step "generating the device number according to the preset rule and the item information" may be specifically implemented by the following steps:
acquiring the equipment type, the equipment model and the supplier code of the target equipment according to the project information;
and generating more than two different equipment numbers at random according to the equipment type, the equipment model, the supplier code, the attribute information and the current date information of the target equipment.
Illustratively, a preset algorithm can be stored in the cloud server, and a plurality of different device numbers are generated according to the device type, the device model, the vendor code, the attribute information and the current date information of the target device by using the preset algorithm.
The preset algorithm may be, for example, a random algorithm or a superposition algorithm.
Further, in some embodiments, the attribute information may be a product serial number of the target device, and the step "obtaining the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device" may be specifically implemented by the following steps:
determining whether the product serial number has a corresponding equipment number;
if the product serial number does not have a corresponding equipment number, selecting a target equipment number from the equipment number storage pool as an identification code of the target equipment;
and if the corresponding equipment number exists in the product serial number, taking the equipment number corresponding to the product serial number as the identification code of the target equipment.
Specifically, the local device side takes out a device number from the device number storage pool through the product serial number of the target device, as the identification code, the cloud server can bind the product serial number with the taken-out device number, subsequently, if the local device side still needs to use the identification code of the target device, the cloud server directly feeds back the corresponding device number to the local device side according to the binding relation, if the product serial number of a new target device is not bound with the device number, the cloud server can take out a device number from the device number storage pool, as the identification code of the new target device, and bind the product serial number of the new target device with the taken-out device number, thereby facilitating subsequent requests.
According to the embodiment of the application, the corresponding relation between the product serial number and the equipment number is established through the cloud server, each target equipment can be guaranteed to have a corresponding unique equipment number as the identification code, the follow-up change of the equipment number of the target equipment is guaranteed, and confusion is avoided.
Further, in some embodiments, the above method for identifying a device further includes the following steps:
and obtaining an adjustment strategy of the preset rule, and updating the preset rule according to the adjustment strategy.
In this embodiment, the rule of predetermineeing can be adjusted, can be directly upload the adjustment strategy to the high in the clouds, adjust the rule of predetermineeing of operation, the rule of change generation identification code that can be quick need not carry out procedures such as loaded down with trivial details upgrading synchronization to target device, possesses better nimble adaptability.
In some embodiments, the step S203 may be specifically implemented by the following steps:
encrypting the attribute information, the item information and the identification code of the target equipment according to a preset encryption algorithm to obtain encrypted data;
and sending the encrypted data to the local equipment terminal.
The encrypted data is used for the local equipment end to decrypt according to a preset decryption algorithm to obtain attribute information, item information and an identification code of the target equipment.
For example, the preset encryption algorithm corresponds to the preset decryption algorithm, the preset encryption algorithm and the preset decryption algorithm may be symmetric encryption or asymmetric encryption, when symmetric encryption is performed, the same set of keys are used for encryption and decryption, and when asymmetric encryption is performed, different keys are used for encryption and decryption.
According to the embodiment of the application, the attribute information, the project information and the identification code of the target device are encrypted, so that the safety of the information in the issuing process can be ensured, other unauthorized local device sides are prevented from accessing the cloud server, and the identification code of the device is obtained.
In some embodiments, after step S203, the method further includes the following steps:
acquiring a verification result uploaded by a local equipment terminal;
and according to the checking result, constructing a corresponding relation between the identification code of the target equipment and the attribute information.
And the verification result is obtained by verifying the attribute information, the item information and the identification code of the target equipment by the local equipment terminal.
Specifically, the local device side may verify the attribute information and the project information of the target device issued by the cloud server based on the locally stored attribute information and the project information of the target device, determine whether the attribute information and the project information are consistent, verify whether the identification code is empty when the matching is consistent, upload a verification result of successful verification to the cloud server if the identification code is not empty, and upload a verification result of failed verification to the cloud server if the matching is inconsistent or the identification code is empty.
The cloud server establishes a binding relationship between the identification code and the attribute information according to the verification result if the verification is successful, and directly issues the identification code corresponding to the attribute information to the local equipment end according to the binding relationship when the subsequent local equipment end needs to request the identification code of the target equipment from the cloud server again. If the verification fails, the cloud server does not establish the binding relationship between the identification code and the attribute information, and when the subsequent local device requests the identification code of the target device from the cloud server, the cloud server selects one device number from the device number storage pool as the identification code of the target device.
Exemplarily, fig. 3 is a schematic flow diagram of a second embodiment of an apparatus identification method provided in an embodiment of the present application, and as shown in fig. 3, the apparatus identification method includes the following steps:
s301, acquiring a 6 code and an SN code.
Specifically, the item information includes 6 codes, where the 6 codes are supplier information, device type information, device batch information, device-belonging vehicle type information, device-belonging item name, and purchaser information of the target device, respectively, and the attribute information is an SN code, that is, a product serial number of the target device.
S302, requesting the identification code of the equipment.
Specifically, the device side uploads the six codes and the SN code to the cloud server, and requests the identification code of the target device from the cloud server.
And S303, generating an identification code according to a preset algorithm.
Specifically, the cloud server can generate a plurality of different device numbers according to the uploaded six codes and the SN code, and the device numbers serve as identification codes of the target devices.
And S304, returning the identification code.
Specifically, the cloud server can encrypt the identification code, the six codes and the SN code and return the encrypted file to a local device side.
S305, caching and checking the identification code.
Specifically, the device side starts decryption after taking the encrypted file returned by the cloud server, checks whether the six codes and the SN code are matched with the six codes and the SN code stored locally after decryption is successful, judges whether the identification code exists and is not empty if the six codes and the SN code are matched, and reports the identification code to the cloud server after the verification is successful.
S306, confirming the validity of the identification code.
Specifically, after receiving the information that the verification on the device side is successful, the cloud server confirms the validity of the identification code of the target device, constructs the binding relationship between the SN code of the target device and the identification code of the target device, and subsequently, if the device side reapplies the identification code of the target device, the cloud server directly issues the corresponding identification code to the device side according to the binding relationship.
Exemplarily, fig. 4 is a schematic flow diagram of a third embodiment of the device identification method provided in the embodiment of the present application, as shown in fig. 4, a distribution subscription module and a service module are loaded in a local device, and after acquiring an identification code of a target device, the distribution subscription module distributes the identification code to each subscribed service module according to a subscription distribution matrix, where the device identification method includes the following steps:
s401, requesting the identification code of the target device.
S402, inquiring the identification code of the target device.
And S403, returning the identification code of the target device.
And S404, monitoring the change of the identification code of the registered equipment.
Specifically, the service module may register a monitoring item in the subscription module, and monitor whether the identification code of the target device changes, for example, when the cloud service adjusts the preset algorithm, the generated identification code may change.
And S405, notifying the change of the equipment identification code.
Specifically, when the distribution subscription module finds that the identification code of the target device changes, the distribution subscription module immediately notifies the service module.
S406, a callback for the change of the identification code of the equipment is performed in a reverse registration mode.
Specifically, when the service module does not care about the change of the identification code of the target device any more, a reverse registration method can be called to unbind, so that monitoring items are eliminated, and whether the identification code of the target device is changed or not is monitored.
Fig. 5 is a schematic structural diagram of an apparatus identifier device according to an embodiment of the present application, where the apparatus identifier device may be integrated in an automobile control system, or may be integrated in a terminal device with a communication function, such as a mobile phone or a computer, and as shown in fig. 5, the apparatus identifier device 50 includes a receiving module 51, an obtaining module 52, and a feedback module 53.
The receiving module 51 is configured to obtain attribute information of a target device uploaded by the local device side and item information to which the target device belongs. The obtaining module 52 is configured to obtain the identification code of the target device according to the attribute information and the item information of the target device. The feedback module 53 is configured to feed back the attribute information, the item information, and the identification code of the target device to the local device.
The item information is used for indicating an application scene of the target device, and the identification code is used for distinguishing and identifying the target device.
In some embodiments, the obtaining module 52 may be specifically configured to:
according to the project information to which the target equipment belongs, a project identification code is constructed;
according to the project identification code, establishing a device number storage pool corresponding to the project identification code;
generating a device number according to a preset rule and the project information, and storing the device number into a device number storage pool;
and acquiring the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device.
Optionally, in some embodiments, if the target device is a vehicle device, and the item information to which the target device belongs includes provider information, device type information, device batch information, device-belonging vehicle type information, device-belonging item name, and purchasing party information, the obtaining module 52 may be specifically configured to:
and constructing and obtaining the project identification code according to the supplier information, the equipment type information, the equipment batch information, the equipment-belonging vehicle type information, the equipment-belonging project name and the purchasing party information.
Optionally, in some embodiments, the obtaining module 52 may be specifically configured to:
acquiring the equipment type, the equipment model and the supplier code of the target equipment according to the project information;
and generating more than two different equipment numbers at random according to the equipment type, the equipment model, the supplier code, the attribute information and the current date information of the target equipment.
Optionally, in some embodiments, if the attribute information of the target device is a product serial number, the obtaining module 52 may be specifically configured to:
determining whether the product serial number has a corresponding equipment number;
if the product serial number does not have a corresponding equipment number, selecting a target equipment number from the equipment number storage pool as an identification code of the target equipment;
and if the corresponding equipment number exists in the product serial number, taking the equipment number corresponding to the product serial number as the identification code of the target equipment.
Optionally, in some embodiments, the device identification apparatus 50 further includes an adjusting module, configured to:
and obtaining an adjustment strategy of the preset rule, and updating the preset rule according to the adjustment strategy.
In some embodiments, the feedback module 53 may be specifically configured to:
encrypting the attribute information, the item information and the identification code of the target equipment according to a preset encryption algorithm to obtain encrypted data;
and sending the encrypted data to the local equipment end, wherein the encrypted data is used for the local equipment end to decrypt according to a preset decryption algorithm to obtain the attribute information, the item information and the identification code of the target equipment.
In some embodiments, the device identification apparatus 50 may further include a checking module, configured to:
acquiring a verification result uploaded by a local equipment end, wherein the verification result is obtained by verifying attribute information, item information and an identification code of a target device by the local equipment end;
and according to the checking result, constructing a corresponding relation between the identification code of the target equipment and the attribute information.
Fig. 6 is a system framework schematic diagram of an apparatus identification system provided in an embodiment of the present application, and as shown in fig. 6, the apparatus identification system includes: the system comprises a local device end 61 and a cloud server 62 which is in communication connection with the local device end.
The local device end 61 may be provided with a software system 611 and a service system 612 associated with the software system, for example, the software system 611 may be an automobile control system, and the service system 612 may be a message push system.
The cloud server 62 is configured to obtain attribute information of the target device and item information to which the target device belongs, which are uploaded by the software system, and obtain an identification code of the target device according to the attribute information of the target device and the item information to which the target device belongs.
The software system 611 is configured to acquire the identifier of the target device and distribute the identifier of the target device to the service system.
The service system 612 is configured to execute a preset service operation on the target device according to the identifier of the target device.
For example, when the service system 612 is a message push system, the preset service operation performed by the service system may specifically be to push a relevant message notification to the target device.
Fig. 7 is a schematic structural diagram of a cloud server provided in the embodiment of the present application. As shown in fig. 7, the cloud server 70 includes: at least one processor 71, memory 72, bus 73.
Wherein: the processor 71 and the memory 72 communicate with each other via a bus 73.
The memory 72 stores computer-executable instructions. The at least one processor 71 is configured to execute the computer-executable instructions, so that the at least one processor 71 can specifically execute the relevant steps in the method described in the above embodiments.
In particular, the computer-executable instructions may include program code.
The memory may comprise high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
The present embodiment also provides a readable storage medium, in which computer instructions are stored, and when at least one processor of the cloud server executes the computer instructions, the cloud server executes the methods provided in the foregoing embodiments.
The present embodiments also provide a program product comprising computer instructions stored in a readable storage medium. The computer instructions can be read from a readable storage medium by at least one processor of the cloud server, and the execution of the computer instructions by the at least one processor causes the cloud server to implement the methods provided in the various embodiments described above.
In the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It is to be understood that the various numerical references referred to in the embodiments of the present application are merely for convenience of description and distinction and are not intended to limit the scope of the embodiments of the present application. In the embodiment of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiment of the present application.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. An equipment identification method is applied to a cloud server and comprises the following steps:
acquiring attribute information of target equipment uploaded by a local equipment terminal and project information to which the target equipment belongs, wherein the project information is used for indicating a service scene applied by the target equipment;
acquiring an identification code of the target equipment according to the attribute information of the target equipment and the item information, wherein the identification code is used for distinguishing and identifying the target equipment;
and feeding back the attribute information, the item information and the identification code of the target equipment to the local equipment terminal.
2. The method according to claim 1, wherein the acquiring the identification code of the target device according to the attribute information of the target device and the item information comprises:
constructing and obtaining an item identification code according to the item information to which the target equipment belongs;
according to the project identification code, creating a device number storage pool corresponding to the project identification code;
generating a device number according to a preset rule and the project information, and storing the device number into the device number storage pool;
and acquiring the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device.
3. The method according to claim 2, wherein the target device is a vehicle-mounted device, the item information to which the target device belongs includes provider information, device type information, device batch information, device-belonging vehicle type information, device-belonging item name, and purchaser information, and the obtaining the item identification code according to the item information to which the target device belongs includes:
and constructing and obtaining the project identification code according to the supplier information, the equipment type information, the equipment batch information, the equipment belonging vehicle type information, the equipment belonging project name and the purchasing party information.
4. The method according to claim 3, wherein the generating a device number according to a preset rule and the item information comprises:
acquiring the equipment type, the equipment model and the supplier code of the target equipment according to the project information;
and randomly generating more than two different equipment numbers according to the equipment type, the equipment model, the supplier code, the attribute information and the current date information of the target equipment.
5. The method of claim 4, wherein the attribute information of the target device is a product serial number, and the obtaining the identification code of the target device according to the device number stored in the device number storage pool and the attribute information of the target device comprises:
determining whether the product serial number has a corresponding equipment number;
if the product serial number does not have a corresponding device number, selecting a target device number from the device number storage pool as an identification code of the target device;
and if the corresponding equipment number exists in the product serial number, taking the equipment number corresponding to the product serial number as the identification code of the target equipment.
6. The method according to claim 2, wherein before generating the device number according to the preset rule and the item information, the method further comprises:
and obtaining an adjustment strategy of the preset rule, and updating the preset rule according to the adjustment strategy.
7. The method according to claim 1, wherein the feeding back the attribute information, the item information, and the identification code of the target device to the local device side includes:
encrypting the attribute information, the item information and the identification code of the target equipment according to a preset encryption algorithm to obtain encrypted data;
and sending the encrypted data to the local equipment end, wherein the encrypted data is used for decrypting by the local equipment end according to a preset decryption algorithm to obtain the attribute information, the item information and the identification code of the target equipment.
8. The method according to any one of claims 1 to 7, wherein after the feeding back the attribute information, the item information, and the identification code of the target device to the local device, further comprising:
acquiring a verification result uploaded by the local equipment terminal, wherein the verification result is obtained by verifying the attribute information, the item information and the identification code of the target equipment by the local equipment terminal;
and constructing a corresponding relation between the identification code of the target equipment and the attribute information according to the checking result.
9. An apparatus identification device, comprising:
the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for acquiring attribute information of target equipment uploaded by a local equipment terminal and project information to which the target equipment belongs, and the project information is used for indicating an application scene of the target equipment;
the acquisition module is used for acquiring an identification code of the target equipment according to the attribute information of the target equipment and the item information, wherein the identification code is used for distinguishing and identifying the target equipment;
and the feedback module is used for feeding back the attribute information, the item information and the identification code of the target equipment to the local equipment terminal.
10. A cloud server comprising a memory and at least one processor;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of any one of claims 1-8.
11. An equipment identification system is characterized by comprising a local equipment end and a cloud server in communication connection with the local equipment end, wherein the local equipment end is provided with a software system and a business system related to the software system;
the cloud server is used for acquiring attribute information of the target equipment uploaded by the software system and project information to which the target equipment belongs, and acquiring an identification code of the target equipment according to the attribute information of the target equipment and the project information to which the target equipment belongs;
the software system is used for acquiring the identification code of the target equipment and distributing the identification code of the target equipment to the service system;
and the service system is used for executing preset service operation on the target equipment according to the identification code of the target equipment.
12. A readable storage medium having stored therein computer instructions, which when executed by a processor, are adapted to implement the method of any one of claims 1-8.
13. A program product comprising computer instructions, characterized in that the computer instructions, when executed by a processor, implement the method of any of claims 1-8.
CN202110686348.0A 2021-06-21 2021-06-21 Equipment identification method, device, system and cloud server Active CN113343641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110686348.0A CN113343641B (en) 2021-06-21 2021-06-21 Equipment identification method, device, system and cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110686348.0A CN113343641B (en) 2021-06-21 2021-06-21 Equipment identification method, device, system and cloud server

Publications (2)

Publication Number Publication Date
CN113343641A true CN113343641A (en) 2021-09-03
CN113343641B CN113343641B (en) 2024-01-16

Family

ID=77478331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110686348.0A Active CN113343641B (en) 2021-06-21 2021-06-21 Equipment identification method, device, system and cloud server

Country Status (1)

Country Link
CN (1) CN113343641B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780950A (en) * 2021-09-14 2021-12-10 北京京东振世信息技术有限公司 Data processing method, device, server and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430189A (en) * 2011-03-24 2013-12-04 Sk普兰尼特有限公司 Identification code processing system, identification code processing method thereof, and apparatus for supporting same
CN107342984A (en) * 2017-06-13 2017-11-10 浙江大华技术股份有限公司 A kind of system, method and device for apparatus bound
CN109525540A (en) * 2017-09-20 2019-03-26 中移(杭州)信息技术有限公司 A kind of smart machine binding method and device
CN111698255A (en) * 2020-06-15 2020-09-22 南京领行科技股份有限公司 Service data transmission method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430189A (en) * 2011-03-24 2013-12-04 Sk普兰尼特有限公司 Identification code processing system, identification code processing method thereof, and apparatus for supporting same
CN107342984A (en) * 2017-06-13 2017-11-10 浙江大华技术股份有限公司 A kind of system, method and device for apparatus bound
CN109525540A (en) * 2017-09-20 2019-03-26 中移(杭州)信息技术有限公司 A kind of smart machine binding method and device
CN111698255A (en) * 2020-06-15 2020-09-22 南京领行科技股份有限公司 Service data transmission method, device and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113780950A (en) * 2021-09-14 2021-12-10 北京京东振世信息技术有限公司 Data processing method, device, server and readable storage medium

Also Published As

Publication number Publication date
CN113343641B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US11005885B2 (en) Cloaking authority system
CN108694330B (en) Internet of things data management method, platform and equipment
US20150200804A1 (en) In-vehicle apparatus for efficient reprogramming and control method thereof
EP3267652B1 (en) Information sharing system, computer, and information sharing method
CN109644136A (en) The believable vehicle remote information processing analyzed using block chain data
US20190052611A1 (en) Secured data transmission using identity-based cryptography
US11456874B2 (en) Vehicle control system for cybersecurity and financial transactions
CN109017676B (en) Vehicle control method, device and storage medium
US11882213B2 (en) Method for key generation upon request by a secure access device, using an electronic control unit of a vehicle
CN113343641B (en) Equipment identification method, device, system and cloud server
US11628788B2 (en) Vehicle accident management using peer-to-peer networks and systems
CN105955784A (en) Elevator program upgrade and backup methods and systems, and mobile terminals
US20230327882A1 (en) Non-reputable vehicle change history
CN114785557B (en) Whole vehicle symmetric key distribution system, method and storage medium
CN102957539A (en) Digital signature management and verification system and method for distributed software
CN114844624A (en) Secure transmission of commands to a vehicle during assembly
JP2010211543A (en) Vehicle failure diagnostic device
CN112529642B (en) Invoice management method, system, equipment and storage medium based on block chain
CN110866412A (en) Parking authentication system and method based on RFID (radio frequency identification) tag and vehicle-mounted card reader
KR20220153696A (en) Method for providing alternative charging services for electric vehicles
JP6436137B2 (en) Server apparatus, information processing method, and program
CN110851849A (en) Encryption method and device for free map image data
CN111062058B (en) Block chain-based key pair processing method and device, terminal and readable storage medium
CN102833222A (en) Access method and device
JP2022027058A (en) Data distribution system and data distribution method

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
TA01 Transfer of patent application right

Effective date of registration: 20220328

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: 430056 building B, No.7 building, kaidixiexin kechuangyuan, South taizihu innovation Valley, Wuhan Economic and Technological Development Zone, Wuhan City, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant