WO2023202026A1 - Data tag generation method and apparatus, storage medium, and electronic apparatus - Google Patents

Data tag generation method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
WO2023202026A1
WO2023202026A1 PCT/CN2022/128398 CN2022128398W WO2023202026A1 WO 2023202026 A1 WO2023202026 A1 WO 2023202026A1 CN 2022128398 W CN2022128398 W CN 2022128398W WO 2023202026 A1 WO2023202026 A1 WO 2023202026A1
Authority
WO
WIPO (PCT)
Prior art keywords
tag
data
smart device
record
serial number
Prior art date
Application number
PCT/CN2022/128398
Other languages
French (fr)
Chinese (zh)
Inventor
张磊
Original Assignee
青岛海尔科技有限公司
海尔智家股份有限公司
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 青岛海尔科技有限公司, 海尔智家股份有限公司 filed Critical 青岛海尔科技有限公司
Publication of WO2023202026A1 publication Critical patent/WO2023202026A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0029Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • G06K19/07758Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card arrangements for adhering the record carrier to further objects or living beings, functioning as an identification tag
    • G06K19/0776Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card arrangements for adhering the record carrier to further objects or living beings, functioning as an identification tag the adhering arrangement being a layer of adhesive, so that the record carrier can function as a sticker
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves

Definitions

  • the present disclosure relates to the field of smart home technology, and specifically to a data tag generation method, device, storage medium and electronic device.
  • NFC Near Field Communication
  • smart devices For example, NFC (Near Field Communication) data tags are used in combination with smart devices to achieve rapid identification and operation of devices, bringing people A smart and convenient operating experience.
  • NFC Near Field Communication
  • the device identification such as the device's serial number or factory code also needs to be programmed into the NFC tag.
  • This method makes the NFC tag generation process complicated, and the device identification can only be used to generate NFC data tags one by one. The production speed is slow and the data tags cannot be prepared in advance before the device is produced.
  • Embodiments of the present disclosure provide a method, device, storage medium, and electronic device for generating data tags, so as to at least solve the problem of low efficiency in generating data tags in related technologies.
  • a method for generating data tags including: obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; The generated number carries tag data of the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
  • a method for generating a data label including: receiving a label serial number request initiated by a label generation application, wherein the label serial number request is used to request a label serial number; responding The tag serial number request generates multiple tag serial numbers; the multiple tag serial numbers are sent to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the multiple tag serial numbers.
  • the smart device type corresponding to the tag serial number generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write the multiple tag data into multiple initial data respectively In the label, multiple target data labels are obtained.
  • a method for generating data tags including: acquiring multiple tag data, wherein the multiple tag data are generated by a tag generation application by acquiring multiple tag serial numbers and all tag data.
  • the smart device types corresponding to the multiple tag serial numbers are obtained by generating tag data carrying the smart device type for each of the tag serial numbers; and burning the multiple tag data to multiple initial data tags respectively. , get multiple target data labels.
  • a device for generating data tags including: a first acquisition module configured to acquire multiple tag serial numbers and intelligence corresponding to the multiple tag serial numbers. Device type; the first generation module is configured to generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; the writing module is configured to generate the multiple tag data respectively.
  • Tag data is written into multiple initial data tags to obtain multiple target data tags.
  • a device for generating a data label including: a first receiving module configured to receive a label serial number request initiated by a label generating application, wherein the label serial number The request is used to request a tag serial number; the second generation module is configured to respond to the tag serial number request and generate multiple tag serial numbers; the sending module is configured to send the multiple tag serial numbers to the tag Generating an application, wherein the tag generating application is used to obtain multiple tag serial numbers and smart device types corresponding to the multiple tag serial numbers; generate a tag carrying the smart device type for each tag serial number.
  • tag data to obtain multiple tag data; write the multiple tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • a device for generating data labels including: a second acquisition module configured to obtain a plurality of label data, wherein the plurality of label data are label generation applications Obtained by obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generating tag data carrying the smart device type for each tag serial number; the programming module is configured In order to burn the plurality of tag data to the plurality of initial data tags respectively, a plurality of target data tags are obtained.
  • a computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the above-mentioned data labeling when running. Generate method.
  • an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned steps through the computer program. How to generate data labels.
  • multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers are obtained; tag data carrying the smart device type is generated for each tag serial number to obtain multiple tag data; respectively Multiple tag data are written into multiple initial data tags to obtain multiple target data tags, that is, multiple tag serial numbers and a type of smart device corresponding to multiple tag serial numbers are obtained in batches, and a smart device type carrying the smart device can be generated in batches.
  • multiple tag data of a device type multiple tag data can be written into multiple initial data tags respectively, and multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to the smart device type.
  • Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
  • Figure 1 is a schematic diagram of the hardware environment of a method for generating data tags according to an embodiment of the present disclosure
  • Figure 2 is a flowchart 1 of a method for generating data tags according to an embodiment of the present disclosure
  • Figure 3 is a schematic structural diagram of an NFC data message body according to an embodiment of the present disclosure.
  • Figure 4 is a format definition diagram of a tag link according to an embodiment of the present disclosure.
  • Figure 5 is a flow chart 2 of a method for generating data tags according to an embodiment of the present disclosure
  • Figure 6 is a flow chart 3 of a method for generating data tags according to an embodiment of the present disclosure
  • Figure 7 is a schematic diagram of a method for generating data tags according to an embodiment of the present disclosure.
  • Figure 8 is a sequence diagram of a method for generating data tags according to an embodiment of the present disclosure.
  • Figure 9 is a scenario interaction diagram of a method for generating data tags according to an embodiment of the present disclosure.
  • Figure 10 is a structural block diagram 1 of a device for generating data tags according to an embodiment of the present disclosure
  • Figure 11 is a structural block diagram 2 of a device for generating data tags according to an embodiment of the present disclosure
  • Figure 12 is a structural block diagram 3 of a device for generating data tags according to an embodiment of the present disclosure
  • Figure 13 is a structural block diagram of an optional electronic device according to an embodiment of the present disclosure.
  • a method for generating data labels is provided.
  • This data label generation method is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology.
  • the above method for generating data tags can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 .
  • the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal.
  • the database can be set up on the server or independently from the server. It is configured to provide data storage services for the server 104, cloud computing and/or edge computing services can be configured on the server or independently of the server, and it is configured to provide data computing services for the server 104.
  • the above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network.
  • the above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network.
  • the above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth.
  • the terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, or a smart projection device.
  • smart TV smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
  • FIG. 1 is a flow chart 1 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S202 obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers
  • Step S204 generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data
  • Step S206 Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • multiple tag serial numbers and a smart device type corresponding to the multiple tag serial numbers can be obtained in batches, multiple tag data carrying the smart device type can be generated in batches, and multiple tag data can be written to multiple tags respectively.
  • multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to smart device types.
  • Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
  • step S202 you can, but are not limited to, obtain multiple tag serial numbers in batches and obtain the smart device type corresponding to each tag serial number in the multiple tag serial numbers one by one, or obtain multiple tags in batches.
  • Serial numbers and smart device types corresponding to multiple tag serial numbers By obtaining multiple tag serial numbers and smart device types corresponding to multiple tag serial numbers in batches, it saves the need to obtain the smart device types corresponding to tag serial numbers. time, improving the efficiency of obtaining the tag serial number and the smart device type corresponding to the tag serial number.
  • each tag serial number may, but is not limited to, correspond to a smart device type.
  • the smart device type may include, but is not limited to, a combination of Chinese tags assigned to different types of smart devices according to the production rules of the device. Coding of words, English letters or numbers, etc., such as: Chinese name of smart device type, English coding of smart device type, or English name of smart device type, etc.
  • Smart devices belonging to different smart device types may, but are not limited to, correspond to different functions, etc., such as: models of instant messaging equipment, models of refrigeration equipment, models of audio-visual playback equipment, etc.
  • multiple tag serial numbers may, but are not limited to, correspond to one type of smart device. If it is necessary to obtain multiple smart device types corresponding to multiple tag serial numbers, the method may, but is not limited to, obtain multiple smart device types corresponding to multiple tag serial numbers.
  • multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers may be obtained, but are not limited to, in the following manner: sending a tag serial number request to the tag management service, where the tag sequence The number request is used to request the allocation of a tag serial number; obtain the multiple tag serial numbers returned by the tag management service in response to the tag serial number request; and obtain the smart device type allocated for the multiple tag serial numbers.
  • the tag sequence may be sent to the tag management service through, but is not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool may be, but is not limited to, a data tag production application, etc.)
  • a data tag production tool provided by a data tag production factory
  • the data tag production tool may be, but is not limited to, a data tag production application, etc.
  • Number request method, batch application for tag serial numbers from the tag management service realizing the convenient and fast batch acquisition of multiple tag serial numbers, avoiding the need to obtain tag serial numbers one by one, simplifying the process of obtaining tag serial numbers, and shortening the time of obtaining tag sequence
  • the time required to obtain the tag serial number improves the efficiency of obtaining the tag serial number.
  • multiple tag serial numbers may be generated through, but not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool may be, but is not limited to, a data tag production application, etc.) Allocate the smart device type corresponding to each tag serial number one by one, or allocate the smart device types corresponding to the partial number of tag serial numbers in batches for multiple tag serial numbers, simplifying the acquisition of smart device types. The process improves the efficiency of obtaining the smart device type corresponding to the tag serial number.
  • tag data carrying the smart device type corresponding to the tag serial number can be generated for each tag serial number among the multiple tag serial numbers, so as to realize the implementation according to the tag serial number.
  • the corresponding smart device type generates tag data, shortening the cycle of generating tag data and improving the efficiency of generating tag data.
  • multiple tag data carrying the smart device type corresponding to each tag serial number may be generated in batches for each of the multiple tag serial numbers, but is not limited to, to avoid Generating tag data according to the smart device corresponding to the tag serial number shortens the time period for generating tag data and improves the efficiency of generating tag data.
  • tag data carrying a smart device type may be generated for each tag serial number in the following manner, but is not limited to: obtaining the device control operation corresponding to the smart device type, wherein: The device control operation is an operation that is allowed to be performed by a smart device belonging to the smart device type; tag data carrying the tag serial number, the smart device type and the device control operation is generated.
  • multiple tag serial numbers can be obtained one by one through, but not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool can be, but is not limited to, a data tag production application, etc.)
  • the device control operations corresponding to the smart device types corresponding to each tag serial number in the tag serial number, or the device control operations corresponding to the smart device types corresponding to multiple tag serial numbers are obtained in batches, etc., which improves the efficiency of obtaining device control operations.
  • the tag data carrying the tag serial number, the smart device type and the device control operation may be generated in the following manner, but is not limited to: linking the call of the control application, the tag serial number, the smart device
  • the type and the device control operation are constructed as tag links; the tag link generates a first tag record according to the tag record format; the installation package identification of the control application generates a second tag record according to the tag record format; the third tag record is generated according to the tag record format.
  • a tag record and a second tag record are determined as the tag data.
  • control application may include, but is not limited to, an application software (application software) that controls a smart device, a web application, etc.
  • calling link may include, but is not limited to, a download address, download address, etc. of the control application. Web pages and download paths, etc., by recording the call link of the control application in the tag data, the control application can be downloaded quickly and conveniently, improving the user experience.
  • the tag data may include, but is not limited to, multiple tag records including a first tag record, a second tag record, a third tag record, etc., and may, but is not limited to, differ according to the operating system.
  • Type generate tag records suitable for different types of operating systems, so that different types of operating systems can recognize tag data, expanding the scope of use of tag data.
  • the first tag record and the second tag record may be, but are not limited to, applicable to smart terminal identification of different operating system types.
  • the call link of the control application carried in the tag data downloads or launches the control application.
  • Android operating system type smart terminals can be, but are not limited to, applicable to the first tag record and the second tag record, etc.
  • Certain operating system types The smart terminal may be, but is not limited to, applicable to the first tag record, or the second tag record, and so on.
  • tag data may be generated in, but is not limited to, standard NFC tag format (ie, the above-mentioned tag record format) or other data formats, etc.
  • the NFC data exchange format defines a message encapsulation format for data transmission between NFC devices and between devices and tags.
  • the protocol believes that the information transmitted between devices can be encapsulated into an NDEF (NFC Data Exchange Format, NFC data exchange format) Message, and a message can be composed of multiple NDEF records, and an NDEF can be composed of multiple Record (record) data.
  • Each Record can, but is not limited to, include multiple header fields and payload fields.
  • Figure 3 is implemented according to the present disclosure. An example of an NFC data message body structure diagram, as shown in Figure 3.
  • a single NDEF Record (NFC Data Exchange Format Record, Near Field Communication Data Exchange Format Record) contains multiple header fields and payload fields.
  • the header can be Not limited to including MB (Message Begin, message start), ME (Message End, message end), CF (Chuck Flag, chunking flag), SR (Short Record, short record), IL (Identification_Length, record identifier length) five A flag bit, and tag type classification TNF (Type Name Format, type format), length information of the variable length area, type identification bit and an optional record identifier ID (Identification, ID for short), etc.
  • Table 1 is a schematic table of an NDEF Record data structure according to an embodiment of the present disclosure, as shown in Table 1.
  • An NDEF message may have no chunked content or may contain multiple chunked contents. Each block can be encoded as a first record block ending in 0, or as multiple intermediate record blocks, and finally as an end block.
  • Table 2 is a TNF definition classification table according to an embodiment of the present disclosure, as shown in Table 2.
  • TNF value The ID and payload fields in the record are empty 0x00 Record types defined by the NFC Forum 0x01 Media types as defined in RFC 2046 0x02 URI types defined in FC 3986 0x03 NFC forum external type 0x04 unknown type 0x05 type that cannot be changed at will 0x06 Reserved value 0x07
  • the tag data may include, but is not limited to, a first tag record and a second tag record.
  • Table 3 is a definition table of data tag content according to an embodiment of the present disclosure, as shown in Table 3. indicates that the tag data may include, but is not limited to, the first Record in the NDEF Record (i.e., the above-mentioned first tag record) and the second Record (i.e., the above-mentioned second tag record).
  • the first Record may, but is not limited to Including Universal Link (universal link, that is, the above-mentioned label link)
  • the second Record can, but is not limited to, include the package name of the IoT home appliance APP (that is, the installation package identification of the above-mentioned control application).
  • Figure 4 is a format definition diagram of a tag link according to an embodiment of the present disclosure, as shown in Figure 4 .
  • the installation package identifier has a one-to-one correspondence with the control application.
  • the control application may include, but is not limited to, the package name of the control application, the name of the installation package of the control application, etc.
  • the tag data may, but is not limited to, carry data such as the tag serial number, the smart device type corresponding to the tag serial number, device control operations, and control application call links.
  • smart device types and device control operations with corresponding relationships may be recorded in the following manner, but are not limited to: initiating an operation record request to the tag management service, wherein the operation record request is used to request the The tag management service records the corresponding smart device types and device control operations.
  • the smart device type and the device control operation with the corresponding relationship may be recorded on the tag management service by, but not limited to, initiating an operation record request to the tag management service.
  • the tag management service may but It is not limited to tag serial number application, data tag information query and update, etc.
  • multiple data tags carrying smart device types can be generated in batches according to the smart device type corresponding to the data tag, which avoids the need to wait for the completion of smart device production before performing data tagging.
  • Generation shortening the time to generate data labels, reducing the complexity of the data label generation process, and improving the efficiency of generating data labels.
  • the data tag may include, but is not limited to, a short-range wireless communication electronic tag developed based on non-contact radio frequency identification technology and combined with wireless interconnection technology, such as an NFC tag. , or RFID (Radio Frequency Identification, radio frequency identification technology) tags, etc., this disclosure does not limit this.
  • a short-range wireless communication electronic tag developed based on non-contact radio frequency identification technology and combined with wireless interconnection technology, such as an NFC tag.
  • RFID Radio Frequency Identification, radio frequency identification technology
  • multiple target data tags may be obtained in the following manner, but are not limited to: using the multiple tag data to write the multiple initial data tags respectively to obtain multiple candidate data tags; The usage rights of the label data in each of the plurality of candidate data labels are set to read-only, thereby obtaining the plurality of target data labels.
  • the usage permission of the tag data in the candidate data tag can be, but is not limited to, set to read-only.
  • the tag data written in the target data tag cannot be processed. Modification or erasure avoids the target data tag becoming unusable due to mistaken operation of erasing or modifying tag data, ensuring the safety of using data tags.
  • FIG. 5 is a flow chart 2 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S502 Receive a tag serial number request initiated by the tag generation application, where the tag serial number request is used to request a tag serial number;
  • Step S504 Respond to the tag serial number request and generate multiple tag serial numbers
  • Step S506 Send the multiple tag serial numbers to the tag generation application, where the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; Each of the tag serial numbers generates tag data carrying the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
  • the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; for each tag serial number Generate tag data carrying the smart device type to obtain multiple tag data; write multiple tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
  • the label generation application may, but is not limited to, apply for one and/or multiple required number of label serial numbers from the label management service by initiating a label serial number request to the label management service. It realizes the convenient and quick acquisition of a specific number of tag serial numbers according to the production needs of data tags.
  • the label management service may, but is not limited to, respond to the label serial number request and generate a specific number of label serial numbers requested by the label generation application.
  • a specific number of tag serial numbers requested by the tag generation application may be randomly generated, but are not limited to, or allocated to the tag generation application from the existing tag serial number set in the tag management service.
  • the tag generation application requests a specific number of tag serial numbers, etc.
  • the generated multiple tag serial numbers may be, but are not limited to, sent to the tag generation application, so that the tag generation application can obtain the multiple tag serial numbers and the tags corresponding to the multiple tag serial numbers.
  • Smart device type generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write multiple tag data into multiple initial data tags respectively to obtain multiple target data tags, etc.
  • smart device types and device control operations with corresponding relationships may be recorded on the label management service in the following manner, but are not limited to: receiving an operation recording request initiated by the label generation application, wherein the operation
  • the recording request is used to request to record the smart device type and the device control operation that have a corresponding relationship.
  • the device control operation is an operation that is allowed to be performed by a device belonging to the smart device type; in response to the operation recording request, record the smart device type that has the corresponding relationship.
  • Device types and device control operations are not limited to: receiving an operation recording request initiated by the label generation application, wherein the operation
  • the recording request is used to request to record the smart device type and the device control operation that have a corresponding relationship.
  • the device control operation is an operation that is allowed to be performed by a device belonging to the smart device type; in response to the operation recording request, record the smart device type that has the corresponding relationship.
  • recording the operation record request of the smart device type and the device control operation having the corresponding relationship can be implemented by, but not limited to, responding to the request initiated by the tag generation application, so that the tag management service can be recorded with the corresponding smart device type and device control operation. Correspondence between smart device types and device control operations.
  • FIG. 6 is a flow chart 3 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
  • Step S602 Obtain multiple tag data, wherein the multiple tag data is generated by the tag generation application for each tag sequence by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers.
  • the number generated carries tag data of the smart device type;
  • Step S604 Burn the multiple tag data to multiple initial data tags respectively to obtain multiple target data tags.
  • multiple tag data are obtained, wherein the multiple tag data is generated by the tag generation application by obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generates smart device tags for each tag serial number.
  • the tag data of the device type is obtained; multiple tag data are burned into multiple initial data tags respectively to obtain multiple target data tags, that is, the smart device type generated by the tag generation application carrying multiple tag serial numbers is obtained.
  • Multiple tag data, multiple tag data are programmed into multiple initial data tags respectively, to obtain multiple target data tags, and batch burning of multiple data tags is realized.
  • the tag generation application may, but is not limited to, acquire multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generate smart device types for each tag serial number.
  • the label data is used as multiple label data, which avoids the need to carry the smart device identification in the data label. Multiple data labels can be generated in batches in advance before the production of the smart device is completed, which improves the efficiency of generating data labels.
  • multiple initial data tags can be programmed with tag data carrying smart device types respectively, but are not limited to, to obtain multiple target data tags, thereby realizing batch programming of data tags and improving the efficiency of burning.
  • the efficiency of writing data tags can be programmed with tag data carrying smart device types respectively, but are not limited to, to obtain multiple target data tags, thereby realizing batch programming of data tags and improving the efficiency of burning. The efficiency of writing data tags.
  • multiple tag data may be obtained in the following manner, but are not limited to: acquiring multiple tag data carrying a first tag record and a second tag record, wherein the first tag record is controlled by The call link of the application, the tag serial number, the smart device type and the tag link constructed by the device control operation corresponding to the smart device type are generated according to the tag record format, and the second tag record is to control the installation of the application Package IDs are generated according to the tag record format.
  • multiple target data tags may be obtained in the following manner, but are not limited to: using the multiple tag data to respectively burn multiple initial data tags to obtain multiple candidate data tags; The usage rights of the tag data in each of the candidate data tags are set to read-only, and the plurality of target data tags are obtained.
  • the usage permission of the tag data in each candidate tag data can be set to read-only, but is not limited to, to prevent the tag data from being erased or modified due to misoperation, causing the data tag to not be used normally. , ensuring the security of tag data in data tags and improving user experience.
  • Figure 7 is a schematic diagram of a method for generating data tags according to an embodiment of the present disclosure. As shown in Figure 7, it may, but is not limited to, include the following steps:
  • Step S701 apply for multiple tag serial numbers.
  • the NFC tag factory i.e., tag generation application
  • Step S702 Generate multiple tag data.
  • the NFC tag factory may, but is not limited to, obtain device models corresponding to multiple NFC tag serial numbers (i.e., the above-mentioned smart device types). It may, but is not limited to, follow the IoT home appliance APP (i.e., the above-mentioned smart device type).
  • the calling link of the control application), the NFC tag serial number (i.e., the above-mentioned tag serial number), the device model and the execution action (i.e., the above-mentioned device control operation) are constructed as a universal link (i.e., the above-mentioned tag link); the tag link is constructed according to the tag
  • the record format generates NDEF Record1 (i.e., the above-mentioned first tag record);
  • the package name of the IoT home appliance APP i.e., the above-mentioned installation package identification of the control application
  • NDEF Record2 i.e., the above-mentioned second tag record
  • Step S703 Burn multiple data tags. You may, but are not limited to, burn multiple NFC tag data into multiple NFC tags (i.e., the above-mentioned initial data tags);
  • Step S704 set the data tag to read-only. You may, but are not limited to, set the usage rights of the tag data in each NFC tag to read-only;
  • Step S705 randomly paste the data tag onto the smart device belonging to the device model carried in the NFC tag (i.e., the above-mentioned smart device type).
  • the IoT home appliance device i.e., the above-mentioned smart device
  • the data greatly simplifies the equipment production process.
  • FIG. 8 is a sequence diagram of a method for generating data tags according to an embodiment of the present disclosure; as shown in FIG. 8 .
  • Figure 9 is a scenario interaction diagram of a method for generating data tags according to an embodiment of the present disclosure.
  • the data tag factory can, but is not limited to, apply for a tag serial number from the tag management service.
  • Figure 10 is a structural block diagram 1 of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 10, it includes:
  • the first acquisition module 1002 is configured to acquire multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
  • the first generation module 1004 is configured to generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
  • the writing module 1006 is configured to write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • multiple tag serial numbers and a smart device type corresponding to the multiple tag serial numbers are obtained in batches, multiple tag data carrying the smart device type can be generated in batches, and the multiple tag data are respectively written into multiple tags.
  • multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to smart device types. Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
  • the first generation module includes: a first acquisition unit configured to acquire a device control operation corresponding to the smart device type, wherein the device control operation is allowed to belong to the smart device type. An operation performed by the smart device; a generating unit configured to generate tag data carrying the tag serial number, the smart device type and the device control operation.
  • the generation unit is configured to: construct the call link of the control application, the tag serial number, the smart device type and the device control operation as a tag link; record the tag link according to the tag Generate a first label record in the format; generate a second label record based on the label record format for the installation package identifier of the control application; determine the first label record and the second label record as the label data.
  • the apparatus further includes: an initiating module configured to initiate an operation record request to the tag management service after obtaining the device control operation corresponding to the smart device type, wherein the operation record request is Yu requests to record the smart device type and the device control operation with the corresponding relationship on the tag management service.
  • an initiating module configured to initiate an operation record request to the tag management service after obtaining the device control operation corresponding to the smart device type, wherein the operation record request is Yu requests to record the smart device type and the device control operation with the corresponding relationship on the tag management service.
  • the first acquisition module includes: a sending unit configured to send a tag serial number request to the tag management service, where the tag serial number request is used to request allocation of a tag serial number; a second acquisition unit, is configured to acquire the multiple tag serial numbers returned by the tag management service in response to the tag serial number request; the third acquisition unit is configured to acquire the smart device type allocated for the multiple tag serial numbers.
  • the writing module includes: a writing unit, configured to write the multiple initial data tags using the multiple tag data respectively, to obtain multiple candidate data tags; and the setting unit, configured to Set the usage rights of the label data in each of the plurality of candidate data labels to read-only to obtain the plurality of target data labels.
  • Figure 11 is a structural block diagram 2 of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 11, it includes:
  • the first receiving module 1102 is configured to receive a tag serial number request initiated by a tag generation application, where the tag serial number request is used to request a tag serial number;
  • the second generation module 1104 is configured to respond to the tag serial number request and generate multiple tag serial numbers
  • the sending module 1106 is configured to send the multiple tag serial numbers to the tag generating application, wherein the tag generating application is used to obtain multiple tag serial numbers and the intelligence corresponding to the multiple tag serial numbers.
  • Device type generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write the multiple tag data into multiple initial data tags respectively to obtain multiple targets Data labels.
  • multiple tag serial numbers may be generated in response to the tag serial number request, but are not limited to, and the multiple tag serial numbers may be sent to the tag generation application,
  • the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; Tag data is written into multiple initial data tags to obtain multiple target data tags.
  • Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
  • the device further includes: a second receiving module configured to receive an operation record request initiated by the label generation application after sending the plurality of label serial numbers to the label generation application,
  • the operation record request is used to request the recording of a corresponding smart device type and a device control operation
  • the device control operation is an operation that is allowed to be performed by a device belonging to the smart device type
  • the recording module is configured to respond to all The above operation record request records the corresponding smart device type and device control operation.
  • Figure 12 is a structural block diagram three of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 12, it includes:
  • the second acquisition module 1202 is configured to acquire multiple tag data, wherein the multiple tag data is obtained by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, as Each of the tag serial numbers is generated and carries tag data of the smart device type;
  • the programming module 1204 is configured to program multiple tag data on multiple initial data tags respectively to obtain multiple target data tags.
  • multiple tag data generated by the tag generation application carrying multiple tag serial numbers corresponding to the smart device types are obtained, and the multiple tag data are respectively burned into multiple initial data tags to obtain multiple target data.
  • Tags realize batch programming of multiple data tags. The above technical solution solves the problem of low efficiency in generating data tags in related technologies and achieves the technical effect of improving the efficiency of generating data tags.
  • the second acquisition module is configured to acquire a plurality of tag data carrying first tag records and second tag records, wherein the first tag record is linked by a call of the control application, and the Tag serial number, the tag link constructed by the smart device type and the device control operation corresponding to the smart device type is generated according to the tag record format, and the second tag record is the installation package identification of the control application according to the tag record format generated;
  • the programming module is configured to program a plurality of initial data tags using the plurality of tag data respectively to obtain a plurality of candidate data tags;
  • the usage permissions are set to read-only and the multiple target data tags are obtained.
  • An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
  • the above-mentioned storage medium may be configured to store program codes for performing the following steps:
  • S13 Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
  • the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
  • Embodiments of the present disclosure also provide an electronic device, including a memory and a processor.
  • a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
  • the above-mentioned processor may be configured to perform the following steps through a computer program:
  • S13 Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
  • the above-mentioned processor can also be configured to perform the following steps through a computer program:
  • the above-mentioned processor can also be configured to perform the following steps through a computer program:
  • an electronic device for implementing the above method of generating a data tag is also provided.
  • the electronic device includes a memory 1302 and a processor 1304.
  • the memory 1302 stores There is a computer program, and the processor 1304 is configured to execute the steps in any of the above method embodiments through the computer program.
  • the above-mentioned electronic device may be located in at least one network device among multiple network devices of the computer network.
  • the structure shown in Figure 13 is only illustrative, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment.
  • FIG. 13 does not limit the structure of the above-mentioned electronic device.
  • the electronic device may also include more or fewer components (such as network interfaces, etc.) than shown in FIG. 13 , or have a different configuration than shown in FIG. 13 .
  • the memory 1302 can be used to store software programs and modules, such as the program instructions/modules corresponding to the data tag generation method and device in the embodiment of the present invention.
  • the processor 1304 runs the software programs and modules stored in the memory 1302, thereby Execute various functional applications and data processing, that is, implement the above-mentioned data label generation method.
  • Memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
  • the memory 1302 may further include memory located remotely relative to the processor 1304, and these remote memories may be connected to the terminal through a network.
  • the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
  • the above-mentioned memory 1302 may include, but is not limited to, the first acquisition module 1002, the first generation module 1004, and the writing module 1006 in the generating device including the above-mentioned data tag, as shown in FIG. 13; or the above-mentioned memory 1302. It may include, but is not limited to, the first receiving module 1102, the second generating module 1104, and the sending module 1106 in the device for generating the data tag; or the memory 1302 may include, but is not limited to, the second acquisition module in the device for generating the data tag.
  • it may also include but is not limited to other module units in the above-mentioned data tag generating device, which will not be described again in this example.
  • the above-mentioned transmission device 1306 is used to receive or send data via a network.
  • Specific examples of the above-mentioned network may include wired networks and wireless networks.
  • the transmission device 1306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through network cables to communicate with the Internet or a local area network.
  • the transmission device 1306 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
  • RF Radio Frequency
  • the above-mentioned electronic device also includes: a display 1308 and a connection bus 1310.
  • the connection bus 1310 is used to connect various module components in the above-mentioned electronic device.
  • the above storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
  • ROM read-only memory
  • RAM random access memory
  • program code such as mobile hard drives, magnetic disks, or optical disks.
  • modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein.
  • the steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided are a data tag generation method and apparatus, a storage medium, and an electronic apparatus, relating to the technical field of smart homes. The data tag generation method comprises: acquiring multiple tag serial numbers and a smart device type corresponding to the multiple tag serial numbers (S202); for each of the tag serial numbers, generating tag data carrying the smart device type, so as to obtain multiple pieces of tag data (S204); and respectively writing the multiple pieces of tag data into multiple initial data tags, so as to obtain multiple target data tags (S206).

Description

数据标签的生成方法、装置、存储介质及电子装置Data tag generation method, device, storage medium and electronic device
本公开要求于2022年04月22日提交中国专利局、申请号为202210428312.7、发明名称“数据标签的生成方法、装置、存储介质及电子装置”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims priority to the Chinese patent application filed with the China Patent Office on April 22, 2022, with application number 202210428312.7 and the invention title "Data tag generation method, device, storage medium and electronic device", the entire content of which is incorporated by reference. incorporated in this disclosure.
技术领域Technical field
本公开涉及智慧家庭技术领域,具体而言,涉及一种数据标签的生成方法、装置、存储介质及电子装置。The present disclosure relates to the field of smart home technology, and specifically to a data tag generation method, device, storage medium and electronic device.
背景技术Background technique
现有技术中,数据标签被广泛应用于物联网家居家电中,比如:NFC(Near Field Communication,近场通信)数据标签与智能设备结合使用,从而实现设备的快速识别和操作,为人们带来了智慧便捷的操作体验。然而在生成NFC数据标签时,往往需要知道该NFC标签需要贴至的具体设备,才能够进行NFC标签的烧写,并且也需要将设备的序列号或者出厂码等设备标识烧写在NFC标签中,这样的方式就导致了NFC标签的生成流程复杂,只能使用设备标识逐个生成NFC数据标签,生产速度慢的同时还无法在设备生产之前提前准备出数据标签。In the existing technology, data tags are widely used in IoT home appliances. For example, NFC (Near Field Communication) data tags are used in combination with smart devices to achieve rapid identification and operation of devices, bringing people A smart and convenient operating experience. However, when generating NFC data tags, it is often necessary to know the specific device to which the NFC tag needs to be attached before the NFC tag can be programmed, and the device identification such as the device's serial number or factory code also needs to be programmed into the NFC tag. , This method makes the NFC tag generation process complicated, and the device identification can only be used to generate NFC data tags one by one. The production speed is slow and the data tags cannot be prepared in advance before the device is produced.
针对相关技术中,生成数据标签的效率较低等问题,尚未提出有效的解决方案。No effective solution has yet been proposed for problems such as low efficiency in generating data labels in related technologies.
发明内容Contents of the invention
本公开实施例提供了一种数据标签的生成方法、装置、存储介质及电子装置,以至少解决相关技术中,生成数据标签的效率较低等问题。Embodiments of the present disclosure provide a method, device, storage medium, and electronic device for generating data tags, so as to at least solve the problem of low efficiency in generating data tags in related technologies.
根据本公开实施例的一个实施例,提供了一种数据标签的生成方法,包括:获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别 将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。According to an embodiment of the present disclosure, a method for generating data tags is provided, including: obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; The generated number carries tag data of the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
根据本公开实施例的一个实施例,还提供了一种数据标签的生成方法,包括:接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;响应所述标签序列号请求,生成多个标签序列号;将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。According to an embodiment of the present disclosure, a method for generating a data label is also provided, including: receiving a label serial number request initiated by a label generation application, wherein the label serial number request is used to request a label serial number; responding The tag serial number request generates multiple tag serial numbers; the multiple tag serial numbers are sent to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the multiple tag serial numbers. The smart device type corresponding to the tag serial number; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write the multiple tag data into multiple initial data respectively In the label, multiple target data labels are obtained.
根据本公开实施例的一个实施例,还提供了一种数据标签的生成方法,包括:获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。According to an embodiment of the present disclosure, a method for generating data tags is also provided, including: acquiring multiple tag data, wherein the multiple tag data are generated by a tag generation application by acquiring multiple tag serial numbers and all tag data. The smart device types corresponding to the multiple tag serial numbers are obtained by generating tag data carrying the smart device type for each of the tag serial numbers; and burning the multiple tag data to multiple initial data tags respectively. , get multiple target data labels.
根据本公开实施例的另一个实施例,还提供了一种数据标签的生成装置,包括:第一获取模块,被设置为获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;第一生成模块,被设置为为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;写入模块,被设置为分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。According to another embodiment of the present disclosure, a device for generating data tags is also provided, including: a first acquisition module configured to acquire multiple tag serial numbers and intelligence corresponding to the multiple tag serial numbers. Device type; the first generation module is configured to generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; the writing module is configured to generate the multiple tag data respectively. Tag data is written into multiple initial data tags to obtain multiple target data tags.
根据本公开实施例的另一个实施例,还提供了一种数据标签的生成装置,包括:第一接收模块,被设置为接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;第二生成模块,被设置为响应所述标签序列号请求,生成多个标签序列号;发送模块,被设置为将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。According to another embodiment of the present disclosure, a device for generating a data label is also provided, including: a first receiving module configured to receive a label serial number request initiated by a label generating application, wherein the label serial number The request is used to request a tag serial number; the second generation module is configured to respond to the tag serial number request and generate multiple tag serial numbers; the sending module is configured to send the multiple tag serial numbers to the tag Generating an application, wherein the tag generating application is used to obtain multiple tag serial numbers and smart device types corresponding to the multiple tag serial numbers; generate a tag carrying the smart device type for each tag serial number. tag data to obtain multiple tag data; write the multiple tag data into multiple initial data tags respectively to obtain multiple target data tags.
根据本公开实施例的另一个实施例,还提供了一种数据标签的生成装置,包 括:第二获取模块,被设置为获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;烧写模块,被设置为分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。According to another embodiment of the present disclosure, a device for generating data labels is also provided, including: a second acquisition module configured to obtain a plurality of label data, wherein the plurality of label data are label generation applications Obtained by obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generating tag data carrying the smart device type for each tag serial number; the programming module is configured In order to burn the plurality of tag data to the plurality of initial data tags respectively, a plurality of target data tags are obtained.
根据本公开实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述数据标签的生成方法。According to yet another aspect of the embodiments of the present disclosure, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the above-mentioned data labeling when running. Generate method.
根据本公开实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述的数据标签的生成方法。According to another aspect of the embodiment of the present disclosure, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-mentioned steps through the computer program. How to generate data labels.
在本公开实施例中,获取多个标签序列号和多个标签序列号所对应的智能设备类型;为每个标签序列号生成携带有智能设备类型的标签数据,得到多个标签数据;分别将多个标签数据写入多个初始数据标签中,得到多个目标数据标签,即批量获取多个标签序列号和多个标签序列号所对应的一种智能设备类型,可以批量生成携带有该智能设备类型的多个标签数据,分别将多个标签数据写入多个初始数据标签中,可以批量得到多个目标数据标签;实现了按照智能设备类型批量生成携带有智能设备类型的多个数据标签。采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。In the embodiment of the present disclosure, multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers are obtained; tag data carrying the smart device type is generated for each tag serial number to obtain multiple tag data; respectively Multiple tag data are written into multiple initial data tags to obtain multiple target data tags, that is, multiple tag serial numbers and a type of smart device corresponding to multiple tag serial numbers are obtained in batches, and a smart device type carrying the smart device can be generated in batches. For multiple tag data of a device type, multiple tag data can be written into multiple initial data tags respectively, and multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to the smart device type. . Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其 他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1是根据本公开实施例的一种数据标签的生成方法的硬件环境示意图;Figure 1 is a schematic diagram of the hardware environment of a method for generating data tags according to an embodiment of the present disclosure;
图2是根据本公开实施例的一种数据标签的生成方法的流程图一;Figure 2 is a flowchart 1 of a method for generating data tags according to an embodiment of the present disclosure;
图3是根据本公开实施例的一种NFC数据消息体结构示意图;Figure 3 is a schematic structural diagram of an NFC data message body according to an embodiment of the present disclosure;
图4是根据本公开实施例的一种标签链接的格式定义图;Figure 4 is a format definition diagram of a tag link according to an embodiment of the present disclosure;
图5是根据本公开实施例的一种数据标签的生成方法的流程图二;Figure 5 is a flow chart 2 of a method for generating data tags according to an embodiment of the present disclosure;
图6是根据本公开实施例的一种数据标签的生成方法的流程图三;Figure 6 is a flow chart 3 of a method for generating data tags according to an embodiment of the present disclosure;
图7是根据本公开实施例的一种数据标签的生成方法的示意图;Figure 7 is a schematic diagram of a method for generating data tags according to an embodiment of the present disclosure;
图8是根据本公开实施例的一种数据标签的生成方法的时序图;Figure 8 is a sequence diagram of a method for generating data tags according to an embodiment of the present disclosure;
图9是根据本公开实施例的一种数据标签的生成方法的情景交互图;Figure 9 is a scenario interaction diagram of a method for generating data tags according to an embodiment of the present disclosure;
图10是根据本公开实施例的一种数据标签的生成装置的结构框图一;Figure 10 is a structural block diagram 1 of a device for generating data tags according to an embodiment of the present disclosure;
图11是根据本公开实施例的一种数据标签的生成装置的结构框图二;Figure 11 is a structural block diagram 2 of a device for generating data tags according to an embodiment of the present disclosure;
图12是根据本公开实施例的一种数据标签的生成装置的结构框图三;Figure 12 is a structural block diagram 3 of a device for generating data tags according to an embodiment of the present disclosure;
图13是根据本公开实施例的一种可选的电子装置的结构框图。Figure 13 is a structural block diagram of an optional electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开保护的范围。In order to enable those skilled in the art to better understand the present disclosure, the following will clearly and completely describe the technical solutions in the present disclosure embodiments in conjunction with the accompanying drawings. Obviously, the described embodiments are only These are part of the embodiments of this disclosure, not all of them. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts should fall within the scope of protection of this disclosure.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该 理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present disclosure described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
根据本公开实施例的一个方面,提供了一种数据标签的生成方法。该数据标签的生成方法广泛应用于智慧家庭(Smart Home)、智能家居、智能家用设备生态、智慧住宅(Intelligence House)生态等全屋智能数字化控制应用场景。可选地,在本实施例中,上述数据标签的生成方法可以应用于如图1所示的由终端设备102和服务器104所构成的硬件环境中。如图1所示,服务器104通过网络与终端设备102进行连接,可被设置为为终端或终端上安装的客户端提供服务(如应用服务等),可在服务器上或独立于服务器设置数据库,被设置为为服务器104提供数据存储服务,可在服务器上或独立于服务器配置云计算和/或边缘计算服务,被设置为为服务器104提供数据运算服务。According to an aspect of an embodiment of the present disclosure, a method for generating data labels is provided. This data label generation method is widely used in whole-house intelligent digital control application scenarios such as smart home, smart home, smart home device ecology, and smart residence (Intelligence House) ecology. Optionally, in this embodiment, the above method for generating data tags can be applied to a hardware environment composed of a terminal device 102 and a server 104 as shown in FIG. 1 . As shown in Figure 1, the server 104 is connected to the terminal device 102 through the network, and can be set to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. The database can be set up on the server or independently from the server. It is configured to provide data storage services for the server 104, cloud computing and/or edge computing services can be configured on the server or independently of the server, and it is configured to provide data computing services for the server 104.
上述网络可以包括但不限于以下至少之一:有线网络,无线网络。上述有线网络可以包括但不限于以下至少之一:广域网,城域网,局域网,上述无线网络可以包括但不限于以下至少之一:WIFI(Wireless Fidelity,无线保真),蓝牙。终端设备102可以并不限定于为PC、手机、平板电脑、智能空调、智能烟机、智能冰箱、智能烤箱、智能炉灶、智能洗衣机、智能热水器、智能洗涤设备、智能洗碗机、智能投影设备、智能电视、智能晾衣架、智能窗帘、智能影音、智能插座、智能音响、智能音箱、智能新风设备、智能厨卫设备、智能卫浴设备、智能扫地机器人、智能擦窗机器人、智能拖地机器人、智能空气净化设备、智能蒸箱、智能微波炉、智能厨宝、智能净化器、智能饮水机、智能门锁等。The above-mentioned network may include but is not limited to at least one of the following: wired network, wireless network. The above-mentioned wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network, and local area network. The above-mentioned wireless network may include at least one of the following: WIFI (Wireless Fidelity, Wireless Fidelity), Bluetooth. The terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet, a smart air conditioner, a smart hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing equipment, a smart dishwasher, or a smart projection device. , smart TV, smart clothes drying rack, smart curtains, smart audio and video, smart sockets, smart audio, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robot, smart window cleaning robot, smart mopping robot, Smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen appliances, smart purifiers, smart water dispensers, smart door locks, etc.
在本实施例中提供了一种数据标签的生成方法,应用于上述终端设备,图2是根据本公开实施例的一种数据标签的生成方法的流程图一,该流程包括如下步骤:In this embodiment, a method for generating data tags is provided, which is applied to the above-mentioned terminal device. Figure 2 is a flow chart 1 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
步骤S202,获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;Step S202, obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
步骤S204,为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;Step S204, generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
步骤S206,分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。Step S206: Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
通过上述步骤,批量获取多个标签序列号和多个标签序列号所对应的一种智能设备类型,可以批量生成携带有该智能设备类型的多个标签数据,分别将多个标签数据写入多个初始数据标签中,可以批量得到多个目标数据标签;实现了按照智能设备类型批量生成携带有智能设备类型的多个数据标签。采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above steps, multiple tag serial numbers and a smart device type corresponding to the multiple tag serial numbers can be obtained in batches, multiple tag data carrying the smart device type can be generated in batches, and multiple tag data can be written to multiple tags respectively. From an initial data tag, multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to smart device types. Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
在上述步骤S202提供的技术方案中,可以但不限于批量获取多个标签序列号并逐个获取多个标签序列号中的每个标签序列号所对应的智能设备类型,或者,批量获取多个标签序列号和多个标签序列号所对应的智能设备类型,通过批量获取多个标签序列号和多个标签序列号所对应的智能设备类型,节约了获取标签序列号所对应的智能设备类型所需的时间,提升了获取标签序列号和标签序列号所对应的智能设备类型的效率。In the technical solution provided in step S202 above, you can, but are not limited to, obtain multiple tag serial numbers in batches and obtain the smart device type corresponding to each tag serial number in the multiple tag serial numbers one by one, or obtain multiple tags in batches. Serial numbers and smart device types corresponding to multiple tag serial numbers. By obtaining multiple tag serial numbers and smart device types corresponding to multiple tag serial numbers in batches, it saves the need to obtain the smart device types corresponding to tag serial numbers. time, improving the efficiency of obtaining the tag serial number and the smart device type corresponding to the tag serial number.
可选地,在本实施例中,每个标签序列号可以但不限于对应着一种智能设备类型,智能设备类型可以但不限于包括按照设备的生产规则分配给不同类型的智能设备的结合中文字词、英文字母或者数字的编码等等,比如:智能设备类型的中文名称、智能设备类型的英文编码或者智能设备类型的英文名称等等。属于不同智能设备类型的智能设备可以但不限于对应着不同的功能等等,比如:即时通讯设备的型号、制冷设备的型号、影音播放设备的型号等等。Optionally, in this embodiment, each tag serial number may, but is not limited to, correspond to a smart device type. The smart device type may include, but is not limited to, a combination of Chinese tags assigned to different types of smart devices according to the production rules of the device. Coding of words, English letters or numbers, etc., such as: Chinese name of smart device type, English coding of smart device type, or English name of smart device type, etc. Smart devices belonging to different smart device types may, but are not limited to, correspond to different functions, etc., such as: models of instant messaging equipment, models of refrigeration equipment, models of audio-visual playback equipment, etc.
可选地,在本实施例中,多个标签序列号可以但不限于对应着一种智能设备类型,在需要获取多个标签序列号所对应的多种智能设备类型的情况下,可以但 不限于重复批量获取待获取智能设备类型的标签序列号中的部分标签序列号所对应的一种智能设备类型,直至获取到所有待获取智能设备类型的标签序列号所对应的智能设备类型,实现了批量获取多个标签序列号所对应的智能设备类型,避免了逐个获取多个标签序列号所对应的智能设备类型,缩短了获取标签序列号所对应的智能设备类型的时间,提升了获取标签序列号所对应的智能设备类型的效率。Optionally, in this embodiment, multiple tag serial numbers may, but are not limited to, correspond to one type of smart device. If it is necessary to obtain multiple smart device types corresponding to multiple tag serial numbers, the method may, but is not limited to, obtain multiple smart device types corresponding to multiple tag serial numbers. It is limited to repeated batch acquisition of one smart device type corresponding to part of the tag serial numbers in the tag serial numbers of the smart device types to be obtained, until all the smart device types corresponding to the tag serial numbers of the smart device types to be obtained are obtained, and the implementation is achieved Obtaining the smart device types corresponding to multiple tag serial numbers in batches avoids acquiring the smart device types corresponding to multiple tag serial numbers one by one, shortens the time to obtain the smart device types corresponding to the tag serial numbers, and improves the efficiency of acquiring tag sequences. The efficiency of the smart device type corresponding to the number.
在一个示例性实施例中,可以但不限于通过以下方式获取多个标签序列号和多个标签序列号所对应的智能设备类型:向标签管理服务发送标签序列号请求,其中,所述标签序列号请求用于请求分配标签序列号;获取所述标签管理服务响应所述标签序列号请求返回的所述多个标签序列号;获取为所述多个标签序列号分配的智能设备类型。In an exemplary embodiment, multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers may be obtained, but are not limited to, in the following manner: sending a tag serial number request to the tag management service, where the tag sequence The number request is used to request the allocation of a tag serial number; obtain the multiple tag serial numbers returned by the tag management service in response to the tag serial number request; and obtain the smart device type allocated for the multiple tag serial numbers.
可选地,在本实施例中,可以但不限于通过为数据标签生产工厂提供的数据标签生产工具(数据标签生产工具可以但不限于为数据标签生产应用等等)向标签管理服务发送标签序列号请求的方式,向标签管理服务批量申请标签序列号,实现了方便快捷地批量获取多个标签序列号,避免了逐个获取标签序列号,简化了获取标签序列号的流程,缩短了获取标签序列号所需的时间,提升了获取标签序列号的效率。Optionally, in this embodiment, the tag sequence may be sent to the tag management service through, but is not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool may be, but is not limited to, a data tag production application, etc.) Number request method, batch application for tag serial numbers from the tag management service, realizing the convenient and fast batch acquisition of multiple tag serial numbers, avoiding the need to obtain tag serial numbers one by one, simplifying the process of obtaining tag serial numbers, and shortening the time of obtaining tag sequence The time required to obtain the tag serial number improves the efficiency of obtaining the tag serial number.
可选地,在本实施例中,可以但不限于通过为数据标签生产工厂提供的数据标签生产工具(数据标签生产工具可以但不限于为数据标签生产应用等等),为多个标签序列号逐个分配每个标签序列号所对应的智能设备类型,或者批量为多个标签序列号中部分数量的标签序列号分配该部分数量的标签序列号所对应的智能设备类型,简化了获取智能设备类型的流程,提升了获取标签序列号所对应的智能设备类型的效率。Optionally, in this embodiment, multiple tag serial numbers may be generated through, but not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool may be, but is not limited to, a data tag production application, etc.) Allocate the smart device type corresponding to each tag serial number one by one, or allocate the smart device types corresponding to the partial number of tag serial numbers in batches for multiple tag serial numbers, simplifying the acquisition of smart device types. The process improves the efficiency of obtaining the smart device type corresponding to the tag serial number.
在上述步骤S204提供的技术方案中,可以但不限于为多个标签序列号中的每个标签序列号生成携带有该标签序列号所对应的智能设备类型的标签数据,实现了按照标签序列号所对应的智能设备类型生成标签数据,缩短了生成标签数据的周期,提升了生成标签数据的效率。In the technical solution provided in the above step S204, tag data carrying the smart device type corresponding to the tag serial number can be generated for each tag serial number among the multiple tag serial numbers, so as to realize the implementation according to the tag serial number. The corresponding smart device type generates tag data, shortening the cycle of generating tag data and improving the efficiency of generating tag data.
可选地,在本实施例中,可以但不限于为多个标签序列号中的每个标签序列号批量生成携带有每个标签序列号所对应的智能设备类型的多个标签数据,避免了按照标签序列号所对应的智能设备生成标签数据,缩短了生成标签数据的时间周期,提升了生成标签数据的效率。Optionally, in this embodiment, multiple tag data carrying the smart device type corresponding to each tag serial number may be generated in batches for each of the multiple tag serial numbers, but is not limited to, to avoid Generating tag data according to the smart device corresponding to the tag serial number shortens the time period for generating tag data and improves the efficiency of generating tag data.
在一个示例性实施例中,可以但不限于通过以下方式为每个所述标签序列号生成携带有智能设备类型的标签数据:获取所述智能设备类型所对应的设备控制操作,其中,所述设备控制操作是允许属于所述智能设备类型的智能设备执行的操作;生成携带有所述标签序列号,所述智能设备类型和所述设备控制操作的标签数据。In an exemplary embodiment, tag data carrying a smart device type may be generated for each tag serial number in the following manner, but is not limited to: obtaining the device control operation corresponding to the smart device type, wherein: The device control operation is an operation that is allowed to be performed by a smart device belonging to the smart device type; tag data carrying the tag serial number, the smart device type and the device control operation is generated.
可选地,在本实施例中,可以但不限于通过为数据标签生产工厂提供的数据标签生产工具(数据标签生产工具可以但不限于为数据标签生产应用等等)逐个获取多个标签序列号中的每个标签序列号的智能设备类型所对应的设备控制操作,或者批量获取多个标签序列号所对应的智能设备类型所对应的设备控制操作等等,提升了获取设备控制操作的效率。Optionally, in this embodiment, multiple tag serial numbers can be obtained one by one through, but not limited to, a data tag production tool provided by a data tag production factory (the data tag production tool can be, but is not limited to, a data tag production application, etc.) The device control operations corresponding to the smart device types corresponding to each tag serial number in the tag serial number, or the device control operations corresponding to the smart device types corresponding to multiple tag serial numbers are obtained in batches, etc., which improves the efficiency of obtaining device control operations.
在一个示例性实施例中,可以但不限于通过以下方式生成携带有标签序列号,智能设备类型和设备控制操作的标签数据:将控制应用的调用链接,所述标签序列号,所述智能设备类型和所述设备控制操作构造为标签链接;将所述标签链接按照标签记录格式生成第一标签记录;将控制应用的安装包标识按照所述标签记录格式生成第二标签记录;将所述第一标签记录和第二标签记录确定为所述标签数据。In an exemplary embodiment, the tag data carrying the tag serial number, the smart device type and the device control operation may be generated in the following manner, but is not limited to: linking the call of the control application, the tag serial number, the smart device The type and the device control operation are constructed as tag links; the tag link generates a first tag record according to the tag record format; the installation package identification of the control application generates a second tag record according to the tag record format; the third tag record is generated according to the tag record format. A tag record and a second tag record are determined as the tag data.
可选地,在本实施例中,控制应用可以但不限于包括控制智能设备的应用APP(application software,应用软件)、网页应用等等,调用链接可以但不限于包括控制应用的下载地址、下载网页和下载路径等等,通过将控制应用的调用链接记录在标签数据中,可以快捷方便的下载控制应用,提升用户的体验。Optionally, in this embodiment, the control application may include, but is not limited to, an application software (application software) that controls a smart device, a web application, etc., and the calling link may include, but is not limited to, a download address, download address, etc. of the control application. Web pages and download paths, etc., by recording the call link of the control application in the tag data, the control application can be downloaded quickly and conveniently, improving the user experience.
可选地,在本实施例中,标签数据中可以但不限于包括第一标签记录、第二标签记录、第三标签记录……等等多个标签记录,可以但不限于根据操作系统的不同类型,生成适用于不同类型的操作系统的标签记录,使得不同类型的操作系 统均能识别出标签数据,扩大了标签数据的使用范围。Optionally, in this embodiment, the tag data may include, but is not limited to, multiple tag records including a first tag record, a second tag record, a third tag record, etc., and may, but is not limited to, differ according to the operating system. Type, generate tag records suitable for different types of operating systems, so that different types of operating systems can recognize tag data, expanding the scope of use of tag data.
可选地,在本实施例中,在标签数据包括第一标签记录和第二标签记录的情况下,第一标签记录和第二标签记录可以但不限于适用于不同操作系统类型的智能终端识别标签数据中携带的控制应用的调用链接下载或者拉起控制应用,比如:安卓操作系统类型的智能终端可以但不限于适用于第一标签记录和第二标签记录等等,某些操作系统类型的智能终端可以但不限于适用于第一标签记录,或者,第二标签记录等等。Optionally, in this embodiment, when the tag data includes a first tag record and a second tag record, the first tag record and the second tag record may be, but are not limited to, applicable to smart terminal identification of different operating system types. The call link of the control application carried in the tag data downloads or launches the control application. For example: Android operating system type smart terminals can be, but are not limited to, applicable to the first tag record and the second tag record, etc. Certain operating system types The smart terminal may be, but is not limited to, applicable to the first tag record, or the second tag record, and so on.
可选地,在本实施例中,可以但不限于按照标准NFC标签格式(即上述的标签记录格式)或者其它的数据格式生成标签数据等等。NFC数据交换格式定义了NFC设备之间以及设备与标签之间传输数据的一种消息封装格式,该协议认为设备之间传输的信息可以封装成一个NDEF(NFC Data Exchange Format,NFC数据交换格式)消息,而一个消息可以由多个NDEF记录构成,一个NDEF可以由多个Record(记录)数据组成,每个Record可以但不限于包括多部头域和有效载荷域,图3是根据本公开实施例的一种NFC数据消息体结构示意图,如图3所示,单个NDEF Record(NFC Data Exchange Format Record,近场通信数据交换格式记录)中包含了多部头域和有效载荷域,首部可以但不限于包含MB(Message Begin,消息开始),ME(Message End,消息结束),CF(Chuck Flag,分块标志),SR(Short Record,短记录),IL(Identification_Length,记录标识符长度)五个标志位,和标签类型分类TNF(Type Name Format,类型格式)、长度可变区域的长度信息、类型识别位和一个可选的记录标识符ID(Identification,简称ID)等等。表1是根据本公开实施例的一种NDEF Record数据结构示意表,如表1所示。Optionally, in this embodiment, tag data may be generated in, but is not limited to, standard NFC tag format (ie, the above-mentioned tag record format) or other data formats, etc. The NFC data exchange format defines a message encapsulation format for data transmission between NFC devices and between devices and tags. The protocol believes that the information transmitted between devices can be encapsulated into an NDEF (NFC Data Exchange Format, NFC data exchange format) Message, and a message can be composed of multiple NDEF records, and an NDEF can be composed of multiple Record (record) data. Each Record can, but is not limited to, include multiple header fields and payload fields. Figure 3 is implemented according to the present disclosure. An example of an NFC data message body structure diagram, as shown in Figure 3. A single NDEF Record (NFC Data Exchange Format Record, Near Field Communication Data Exchange Format Record) contains multiple header fields and payload fields. The header can be Not limited to including MB (Message Begin, message start), ME (Message End, message end), CF (Chuck Flag, chunking flag), SR (Short Record, short record), IL (Identification_Length, record identifier length) five A flag bit, and tag type classification TNF (Type Name Format, type format), length information of the variable length area, type identification bit and an optional record identifier ID (Identification, ID for short), etc. Table 1 is a schematic table of an NDEF Record data structure according to an embodiment of the present disclosure, as shown in Table 1.
表1Table 1
Figure PCTCN2022128398-appb-000001
Figure PCTCN2022128398-appb-000001
Figure PCTCN2022128398-appb-000002
Figure PCTCN2022128398-appb-000002
MB是消息开始的标志,MB=1表明这是NDEF消息的第1个记录。ME是消息结束的标志,ME=1表明这是NDEF消息的最后一个记录,如果ME=0,告诉应用程序后面还有更多的记录。CF是分块消息的标志,CF=0表明这不是分块消息,一个NDEF消息可以没有分块内容,也可以包含多个分块内容。每块可以被编码为结尾是0的首记录块,或多个中间记录块,最后是一个结束块。SR是短记录标志,SR=1说明内容长度域是一个八位组。短记录的布局是用来为长度不到255个八位组的内容做精简封装;SR=0说明内容长度域是32位无符号整数。IL是ID长度,如果IL=1,则ID_LENGTH域出现在头部,长度为1个八位组。如果IL=0,ID_LENGTH域就从记录头部忽略,ID域自然也被忽略。表2是根据本公开实施例的一种TNF定义分类表,如表2所示。MB is the sign of the beginning of the message. MB=1 indicates that this is the first record of the NDEF message. ME is the sign of the end of the message. ME=1 indicates that this is the last record of the NDEF message. If ME=0, it tells the application that there are more records later. CF is the flag of a chunked message. CF=0 indicates that this is not a chunked message. An NDEF message may have no chunked content or may contain multiple chunked contents. Each block can be encoded as a first record block ending in 0, or as multiple intermediate record blocks, and finally as an end block. SR is the short record flag. SR=1 indicates that the content length field is an octet. The short record layout is used to compactly encapsulate content less than 255 octets in length; SR=0 indicates that the content length field is a 32-bit unsigned integer. IL is the ID length. If IL=1, the ID_LENGTH field appears in the header and is 1 octet in length. If IL=0, the ID_LENGTH field is ignored from the record header, and the ID field is naturally ignored. Table 2 is a TNF definition classification table according to an embodiment of the present disclosure, as shown in Table 2.
表2Table 2
TNFTNF value
记录中ID和负载域为空The ID and payload fields in the record are empty 0x000x00
NFC论坛已定义的记录类型Record types defined by the NFC Forum 0x010x01
RFC 2046定义中的媒体类型Media types as defined in RFC 2046 0x020x02
FC 3986中定义的URI类型URI types defined in FC 3986 0x030x03
NFC论坛外部类型NFC forum external type 0x040x04
未知类型unknown type 0x050x05
不可随意改变的类型type that cannot be changed at will 0x060x06
保留值Reserved value 0x070x07
可选地,在本实施例中,标签数据中可以但不限于包括第一标签记录和第二标签记录,表3是根据本公开实施例的一种数据标签内容的定义表,如表3所示,标签数据可以但不限于包括NDEF Record中的第一条Record(即上述的第一标签记录)和第二条Record(即上述的第二标签记录),第一条Record中可以但不限于包括Universal Link(通用链接,即上述的标签链接),第二条Record中可以但不限于包括物联家电APP包名(即上述的控制应用的安装包标识)。图4是根据本公开实施例的一种标签链接的格式定义图,如图4所示。Optionally, in this embodiment, the tag data may include, but is not limited to, a first tag record and a second tag record. Table 3 is a definition table of data tag content according to an embodiment of the present disclosure, as shown in Table 3. indicates that the tag data may include, but is not limited to, the first Record in the NDEF Record (i.e., the above-mentioned first tag record) and the second Record (i.e., the above-mentioned second tag record). The first Record may, but is not limited to Including Universal Link (universal link, that is, the above-mentioned label link), the second Record can, but is not limited to, include the package name of the IoT home appliance APP (that is, the installation package identification of the above-mentioned control application). Figure 4 is a format definition diagram of a tag link according to an embodiment of the present disclosure, as shown in Figure 4 .
表3table 3
Figure PCTCN2022128398-appb-000003
Figure PCTCN2022128398-appb-000003
可选地,在本实施例中,安装包标识与控制应用具有一一对应关系,控制应用的可以但不限于包括控制应用的包名、控制应用的安装包包名等。Optionally, in this embodiment, the installation package identifier has a one-to-one correspondence with the control application. The control application may include, but is not limited to, the package name of the control application, the name of the installation package of the control application, etc.
可选地,在本实施例中,标签数据中可以但不限于携带了标签序列号、该标签序列号所对应的智能设备类型、设备控制操作以及控制应用的调用链接等等数据。Optionally, in this embodiment, the tag data may, but is not limited to, carry data such as the tag serial number, the smart device type corresponding to the tag serial number, device control operations, and control application call links.
在一个示例性实施例中,可以但不限于通过以下方式记录具有对应关系的智能设备类型和设备控制操作:向标签管理服务发起操作记录请求,其中,所述操作记录请求用于请求在所述标签管理服务上记录具有对应关系的智能设备类型和设备控制操作。In an exemplary embodiment, smart device types and device control operations with corresponding relationships may be recorded in the following manner, but are not limited to: initiating an operation record request to the tag management service, wherein the operation record request is used to request the The tag management service records the corresponding smart device types and device control operations.
可选地,在本实施例中,可以但不限于通过向标签管理服务发起操作记录请求的方式,将具有对应关系的智能设备类型和设备控制操作记录在标签管理服务上,标签管理服务可以但不限于用于标签序列号申请、数据标签信息查询和更新等等。Optionally, in this embodiment, the smart device type and the device control operation with the corresponding relationship may be recorded on the tag management service by, but not limited to, initiating an operation record request to the tag management service. The tag management service may but It is not limited to tag serial number application, data tag information query and update, etc.
在上述步骤S206提供的技术方案中,可以但不限于按照该数据标签所对应的智能设备类型批量生成携带有智能设备类型的多个数据标签,避免了等待智能设备生产完成后再进行数据标签的生成,缩短了生成数据标签的时间,降低了数据标签的生成流程的复杂度,提升了生成数据标签的效率。In the technical solution provided in step S206 above, multiple data tags carrying smart device types can be generated in batches according to the smart device type corresponding to the data tag, which avoids the need to wait for the completion of smart device production before performing data tagging. Generation, shortening the time to generate data labels, reducing the complexity of the data label generation process, and improving the efficiency of generating data labels.
可选地,在本实施例中,数据标签可以但不限于包括在非接触式射频识别技术的基础上,结合无线互连技术研发而成的一种近距离无线通讯电子标签,比如:NFC标签,或者RFID(Radio Frequency Identification,射频识别技术)标签等等,本公开对此不做限制。Optionally, in this embodiment, the data tag may include, but is not limited to, a short-range wireless communication electronic tag developed based on non-contact radio frequency identification technology and combined with wireless interconnection technology, such as an NFC tag. , or RFID (Radio Frequency Identification, radio frequency identification technology) tags, etc., this disclosure does not limit this.
在一个示例性实施例中,可以但不限于通过以下方式得到多个目标数据标签:分别使用所述多个标签数据写入所述多个初始数据标签,得到多个候选数据标签;将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。In an exemplary embodiment, multiple target data tags may be obtained in the following manner, but are not limited to: using the multiple tag data to write the multiple initial data tags respectively to obtain multiple candidate data tags; The usage rights of the label data in each of the plurality of candidate data labels are set to read-only, thereby obtaining the plurality of target data labels.
可选地,在本实施例中,可以但不限于将候选数据标签中标签数据的使用权限设置为只读,在候选数据标签写入完成后,无法对目标数据标签中写入的标签数据进行修改或者擦除,避免了因为误操作擦除或者修改标签数据导致目标数据标签无法使用,保证了使用数据标签的安全性。Optionally, in this embodiment, the usage permission of the tag data in the candidate data tag can be, but is not limited to, set to read-only. After the writing of the candidate data tag is completed, the tag data written in the target data tag cannot be processed. Modification or erasure avoids the target data tag becoming unusable due to mistaken operation of erasing or modifying tag data, ensuring the safety of using data tags.
在本实施例中提供了一种数据标签的生成方法,应用于上述服务器,图5是根据本公开实施例的一种数据标签的生成方法的流程图二,该流程包括如下步骤:In this embodiment, a method for generating data tags is provided, which is applied to the above-mentioned server. Figure 5 is a flow chart 2 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
步骤S502,接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;Step S502: Receive a tag serial number request initiated by the tag generation application, where the tag serial number request is used to request a tag serial number;
步骤S504,响应所述标签序列号请求,生成多个标签序列号;Step S504: Respond to the tag serial number request and generate multiple tag serial numbers;
步骤S506,将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。Step S506: Send the multiple tag serial numbers to the tag generation application, where the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; Each of the tag serial numbers generates tag data carrying the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
通过上述步骤,接收标签生成应用发起的标签序列号请求,其中,标签序列号请求用于请求标签序列号;响应标签序列号请求,生成多个标签序列号;将多个标签序列号发送至标签生成应用,其中,标签生成应用用于获取多个标签序列号和多个标签序列号所对应的智能设备类型;为每个标签序列号生成携带有智能 设备类型的标签数据,得到多个标签数据;分别将多个标签数据写入多个初始数据标签中,得到多个目标数据标签,即如果接收到标签生成应用发起的请求标签序列号的标签序列号请求,可以但不限于响应标签序列号请求生成多个标签序列号,将多个标签序列号发送至标签生成应用,标签生成应用用于获取多个标签序列号和多个标签序列号所对应的智能设备类型;为每个标签序列号生成携带有智能设备类型的标签数据,得到多个标签数据;分别将多个标签数据写入多个初始数据标签中,得到多个目标数据标签。采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above steps, receive the label serial number request initiated by the label generation application, where the label serial number request is used to request the label serial number; respond to the label serial number request and generate multiple label serial numbers; send multiple label serial numbers to the label Generate application, wherein the label generation application is used to obtain multiple label serial numbers and the smart device types corresponding to the multiple label serial numbers; generate label data carrying the smart device type for each label serial number, and obtain multiple label data ;Write multiple tag data into multiple initial data tags respectively to obtain multiple target data tags, that is, if a tag serial number request initiated by the tag generation application is received to request a tag serial number, it can, but is not limited to, respond to the tag serial number Request the generation of multiple tag serial numbers, and send the multiple tag serial numbers to the tag generation application. The tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; for each tag serial number Generate tag data carrying the smart device type to obtain multiple tag data; write multiple tag data into multiple initial data tags respectively to obtain multiple target data tags. Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
在上述步骤S502提供的技术方案中,标签生成应用可以但不限于通过向标签管理服务发起标签序列号请求的方式,向标签管理服务申请一个和/或多个等所需求数量的标签序列号,实现了按照数据标签的生产需要方便快捷的获取特定数量的标签序列号。In the technical solution provided in step S502 above, the label generation application may, but is not limited to, apply for one and/or multiple required number of label serial numbers from the label management service by initiating a label serial number request to the label management service. It realizes the convenient and quick acquisition of a specific number of tag serial numbers according to the production needs of data tags.
在上述步骤S504提供的技术方案中,如果标签管理服务接收到标签生成应用发起的标签序列号请求,可以但不限于响应标签序列号请求,生成标签生成应用所请求的特定数量的标签序列号。In the technical solution provided in step S504 above, if the label management service receives a label serial number request initiated by a label generation application, it may, but is not limited to, respond to the label serial number request and generate a specific number of label serial numbers requested by the label generation application.
可选地,在本实施例中,可以但不限于通过随机生成标签生成应用所请求的特定数量的标签序列号,或者,从标签管理服务中已有的标签序列号集合中为标签生成应用分配标签生成应用所请求的特定数量的标签序列号等等。Optionally, in this embodiment, a specific number of tag serial numbers requested by the tag generation application may be randomly generated, but are not limited to, or allocated to the tag generation application from the existing tag serial number set in the tag management service. The tag generation application requests a specific number of tag serial numbers, etc.
在上述步骤S506提供的技术方案中,可以但不限于将生成的多个标签序列号发送至标签生成应用,以供标签生成应用用于获取多个标签序列号和多个标签序列号所对应的智能设备类型;为每个标签序列号生成携带有智能设备类型的标签数据,得到多个标签数据;分别将多个标签数据写入多个初始数据标签中,得到多个目标数据标签等等。In the technical solution provided in the above step S506, the generated multiple tag serial numbers may be, but are not limited to, sent to the tag generation application, so that the tag generation application can obtain the multiple tag serial numbers and the tags corresponding to the multiple tag serial numbers. Smart device type; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write multiple tag data into multiple initial data tags respectively to obtain multiple target data tags, etc.
在一个示例性实施例中,可以但不限于通过以下方式在标签管理服务上记录具有对应关系的智能设备类型和设备控制操作:接收所述标签生成应用发起的操作记录请求,其中,所述操作记录请求用于请求记录具有对应关系的智能设备类型和设备控制操作,所述设备控制操作是允许属于所述智能设备类型的设备执行 的操作;响应所述操作记录请求,记录具有对应关系的智能设备类型和设备控制操作。In an exemplary embodiment, smart device types and device control operations with corresponding relationships may be recorded on the label management service in the following manner, but are not limited to: receiving an operation recording request initiated by the label generation application, wherein the operation The recording request is used to request to record the smart device type and the device control operation that have a corresponding relationship. The device control operation is an operation that is allowed to be performed by a device belonging to the smart device type; in response to the operation recording request, record the smart device type that has the corresponding relationship. Device types and device control operations.
可选地,在本实施例中,可以但不限于通过响应标签生成应用发起的请求记录具有对应关系的智能设备类型和设备控制操作的操作记录请求的方式,实现了在标签管理服务上记录具有对应关系的智能设备类型和设备控制操作。Optionally, in this embodiment, recording the operation record request of the smart device type and the device control operation having the corresponding relationship can be implemented by, but not limited to, responding to the request initiated by the tag generation application, so that the tag management service can be recorded with the corresponding smart device type and device control operation. Correspondence between smart device types and device control operations.
在本实施例中提供了一种数据标签的生成方法,应用于上述服务器,图6是根据本公开实施例的一种数据标签的生成方法的流程图三,该流程包括如下步骤:In this embodiment, a method for generating data tags is provided, which is applied to the above-mentioned server. Figure 6 is a flow chart 3 of a method for generating data tags according to an embodiment of the present disclosure. The process includes the following steps:
步骤S602,获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;Step S602: Obtain multiple tag data, wherein the multiple tag data is generated by the tag generation application for each tag sequence by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers. The number generated carries tag data of the smart device type;
步骤S604,分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。Step S604: Burn the multiple tag data to multiple initial data tags respectively to obtain multiple target data tags.
通过上述步骤,获取多个标签数据,其中,多个标签数据是标签生成应用通过获取多个标签序列号和多个标签序列号所对应的智能设备类型,为每个标签序列号生成携带有智能设备类型的标签数据得到的;分别对多个初始数据标签烧写多个标签数据,得到多个目标数据标签,即获取标签生成应用生成的携带有多个标签序列号所对应的智能设备类型的多个标签数据,分别将多个标签数据烧写到多个初始数据标签中,得到多个目标数据标签,实现了批量烧写多个数据标签,采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above steps, multiple tag data are obtained, wherein the multiple tag data is generated by the tag generation application by obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generates smart device tags for each tag serial number. The tag data of the device type is obtained; multiple tag data are burned into multiple initial data tags respectively to obtain multiple target data tags, that is, the smart device type generated by the tag generation application carrying multiple tag serial numbers is obtained. Multiple tag data, multiple tag data are programmed into multiple initial data tags respectively, to obtain multiple target data tags, and batch burning of multiple data tags is realized. The above technical solution is adopted to solve the problem in related technologies of generating In order to solve the problems such as low efficiency of data labels, the technical effect of improving the efficiency of generating data labels has been achieved.
在上述步骤S602提供的技术方案中,可以但不限于获取标签生成应用通过获取多个标签序列号和多个标签序列号所对应的智能设备类型,为每个标签序列号生成携带有智能设备类型的标签数据作为多个标签数据,避免了在数据标签中需要携带智能设备标识,可以在智能设备生产完成前,进行提前批量生成多个数据标签,提升了生成数据标签的效率。In the technical solution provided in step S602 above, the tag generation application may, but is not limited to, acquire multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, and generate smart device types for each tag serial number. The label data is used as multiple label data, which avoids the need to carry the smart device identification in the data label. Multiple data labels can be generated in batches in advance before the production of the smart device is completed, which improves the efficiency of generating data labels.
在上述步骤S604提供的技术方案中,可以但不限于分别对多个初始数据标 签烧写携带有智能设备类型的标签数据,得到多个目标数据标签,实现了批量烧写数据标签,提升了烧写数据标签的效率。In the technical solution provided in the above step S604, multiple initial data tags can be programmed with tag data carrying smart device types respectively, but are not limited to, to obtain multiple target data tags, thereby realizing batch programming of data tags and improving the efficiency of burning. The efficiency of writing data tags.
在一个示例性实施例中,可以但不限于通过以下方式获取多个标签数据:获取多个携带有第一标签记录和第二标签记录的标签数据,其中,所述第一标签记录是由控制应用的调用链接,所述标签序列号,所述智能设备类型和所述智能设备类型对应的设备控制操作构造的标签链接按照标签记录格式生成的,所述第二标签记录是将控制应用的安装包标识按照所述标签记录格式生成的。In an exemplary embodiment, multiple tag data may be obtained in the following manner, but are not limited to: acquiring multiple tag data carrying a first tag record and a second tag record, wherein the first tag record is controlled by The call link of the application, the tag serial number, the smart device type and the tag link constructed by the device control operation corresponding to the smart device type are generated according to the tag record format, and the second tag record is to control the installation of the application Package IDs are generated according to the tag record format.
在一个示例性实施例中,可以但不限于通过以下方式得到多个目标数据标签:分别使用所述多个标签数据烧写多个初始数据标签,得到多个候选数据标签;将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。In an exemplary embodiment, multiple target data tags may be obtained in the following manner, but are not limited to: using the multiple tag data to respectively burn multiple initial data tags to obtain multiple candidate data tags; The usage rights of the tag data in each of the candidate data tags are set to read-only, and the plurality of target data tags are obtained.
可选地,在本实施例中,可以但不限于将每个候选标签数据中的标签数据的使用权限设置为只读,防止因为误操作而擦除或者修改标签数据,导致数据标签不能正常使用,保证了数据标签中的标签数据的安全性,提升了用户的使用体验。Optionally, in this embodiment, the usage permission of the tag data in each candidate tag data can be set to read-only, but is not limited to, to prevent the tag data from being erased or modified due to misoperation, causing the data tag to not be used normally. , ensuring the security of tag data in data tags and improving user experience.
为了更好的理解上述数据标签的生成方法的过程,以下再结合可选实施例对上述数据标签的生成方法流程进行说明,但不用于限定本公开实施例的技术方案。In order to better understand the process of the above-mentioned data tag generation method, the flow of the above-mentioned data tag generation method will be described below with reference to optional embodiments, but this is not intended to limit the technical solutions of the embodiments of the present disclosure.
在本实施例中提供了一种数据标签的生成方法,图7是根据本公开实施例的一种数据标签的生成方法的示意图;如图7所示,可以但不限于包括以下步骤:This embodiment provides a method for generating data tags. Figure 7 is a schematic diagram of a method for generating data tags according to an embodiment of the present disclosure. As shown in Figure 7, it may, but is not limited to, include the following steps:
步骤S701,申请多个标签序列号,NFC标签工厂(即标签生成应用)可以但不限于向NFC管理服务(即标签管理服务)申请多个NFC标签序列号(即多个标签序列号),每个NFC标签对应一个序列号;Step S701, apply for multiple tag serial numbers. The NFC tag factory (i.e., tag generation application) may, but is not limited to, apply for multiple NFC tag serial numbers (i.e., multiple tag serial numbers) from the NFC management service (i.e., tag management service). Each time Each NFC tag corresponds to a serial number;
步骤S702,生成多个标签数据,NFC标签工厂可以但不限于获取多个NFC标签序列号所对应的设备型号(即上述的智能设备类型),可以但不限于按照物联家电APP(即上述的控制应用的调用链接),NFC标签序列号(即上述的标签序列号),设备型号和执行动作(即上述的设备控制操作)构造为通用链接(即上述的标签链接);将标签链接按照标签记录格式生成NDEF Record1(即上述 的第一标签记录);将物联家电APP的包名(即上述的控制应用的安装包标识)按照标签记录格式生成NDEF Record2(即上述的第二标签记录);将NDEF Record1和NDEF Record2确定为标签数据,生成需要烧写的NFC标签数据;Step S702: Generate multiple tag data. The NFC tag factory may, but is not limited to, obtain device models corresponding to multiple NFC tag serial numbers (i.e., the above-mentioned smart device types). It may, but is not limited to, follow the IoT home appliance APP (i.e., the above-mentioned smart device type). The calling link of the control application), the NFC tag serial number (i.e., the above-mentioned tag serial number), the device model and the execution action (i.e., the above-mentioned device control operation) are constructed as a universal link (i.e., the above-mentioned tag link); the tag link is constructed according to the tag The record format generates NDEF Record1 (i.e., the above-mentioned first tag record); the package name of the IoT home appliance APP (i.e., the above-mentioned installation package identification of the control application) is generated according to the tag record format to generate NDEF Record2 (i.e., the above-mentioned second tag record) ; Determine NDEF Record1 and NDEF Record2 as tag data and generate NFC tag data that needs to be programmed;
步骤S703,烧写多个数据标签,可以但不限于分别将多个NFC标签数据烧写入多个NFC标签(即上述的初始数据标签);Step S703: Burn multiple data tags. You may, but are not limited to, burn multiple NFC tag data into multiple NFC tags (i.e., the above-mentioned initial data tags);
步骤S704,将数据标签设置为只读,可以但不限于将每个NFC标签中的标签数据的使用权限设置为只读;Step S704, set the data tag to read-only. You may, but are not limited to, set the usage rights of the tag data in each NFC tag to read-only;
步骤S705,随机将数据标签随机粘贴到属于NFC标签中携带的设备型号(即上述的智能设备类型)的智能设备上,在正式生产物联家电设备(即上述的智能设备)时,可以但不限于将已经生成好的NFC标签随机粘贴到属于NFC标签中携带的设备型号(即上述的智能设备类型)的智能设备上,不需要一一对应粘贴,也不需要重新烧写或修改NFC标签中的数据,大大简化了设备生产流程。图8是根据本公开实施例的一种数据标签的生成方法的时序图;如图8所示。Step S705, randomly paste the data tag onto the smart device belonging to the device model carried in the NFC tag (i.e., the above-mentioned smart device type). When the IoT home appliance device (i.e., the above-mentioned smart device) is officially produced, it is possible but not necessary. It is limited to randomly pasting the generated NFC tags onto smart devices belonging to the device models carried in the NFC tags (i.e. the above-mentioned smart device types). There is no need to paste them one by one, and there is no need to re-program or modify the NFC tags. The data greatly simplifies the equipment production process. FIG. 8 is a sequence diagram of a method for generating data tags according to an embodiment of the present disclosure; as shown in FIG. 8 .
图9是根据本公开实施例的一种数据标签的生成方法的情景交互图;如图9所示,数据标签工厂可以但不限于通过向标签管理服务申请标签序列号的方式,向标签管理服务批量申请多个标签序列号,可以但不限于获取标签管理服务返回的标签序列号,烧写多个数据标签。Figure 9 is a scenario interaction diagram of a method for generating data tags according to an embodiment of the present disclosure; as shown in Figure 9, the data tag factory can, but is not limited to, apply for a tag serial number from the tag management service. To apply for multiple tag serial numbers in batches, you can, but are not limited to, obtain the tag serial numbers returned by the tag management service and burn multiple data tags.
图10是根据本公开实施例的一种数据标签的生成装置的结构框图一;如图10所示,包括:Figure 10 is a structural block diagram 1 of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 10, it includes:
第一获取模块1002,被设置为获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;The first acquisition module 1002 is configured to acquire multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
第一生成模块1004,被设置为为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;The first generation module 1004 is configured to generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
写入模块1006,被设置为分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。The writing module 1006 is configured to write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
通过上述装置,批量获取多个标签序列号和多个标签序列号所对应的一种智能设备类型,可以批量生成携带有该智能设备类型的多个标签数据,分别将多个标签数据写入多个初始数据标签中,可以批量得到多个目标数据标签;实现了按照智能设备类型批量生成携带有智能设备类型的多个数据标签。采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above device, multiple tag serial numbers and a smart device type corresponding to the multiple tag serial numbers are obtained in batches, multiple tag data carrying the smart device type can be generated in batches, and the multiple tag data are respectively written into multiple tags. From an initial data tag, multiple target data tags can be obtained in batches; multiple data tags carrying smart device types can be generated in batches according to smart device types. Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
可选的,所述第一生成模块,包括:第一获取单元,被设置为获取所述智能设备类型所对应的设备控制操作,其中,所述设备控制操作是允许属于所述智能设备类型的智能设备执行的操作;生成单元,被设置为生成携带有所述标签序列号,所述智能设备类型和所述设备控制操作的标签数据。Optionally, the first generation module includes: a first acquisition unit configured to acquire a device control operation corresponding to the smart device type, wherein the device control operation is allowed to belong to the smart device type. An operation performed by the smart device; a generating unit configured to generate tag data carrying the tag serial number, the smart device type and the device control operation.
可选的,所述生成单元,被设置为:将控制应用的调用链接,所述标签序列号,所述智能设备类型和所述设备控制操作构造为标签链接;将所述标签链接按照标签记录格式生成第一标签记录;将控制应用的安装包标识按照所述标签记录格式生成第二标签记录;将所述第一标签记录和第二标签记录确定为所述标签数据。Optionally, the generation unit is configured to: construct the call link of the control application, the tag serial number, the smart device type and the device control operation as a tag link; record the tag link according to the tag Generate a first label record in the format; generate a second label record based on the label record format for the installation package identifier of the control application; determine the first label record and the second label record as the label data.
可选的,所述装置还包括:发起模块,被设置为在所述获取所述智能设备类型所对应的设备控制操作之后,向标签管理服务发起操作记录请求,其中,所述操作记录请求用于请求在所述标签管理服务上记录具有对应关系的智能设备类型和设备控制操作。Optionally, the apparatus further includes: an initiating module configured to initiate an operation record request to the tag management service after obtaining the device control operation corresponding to the smart device type, wherein the operation record request is Yu requests to record the smart device type and the device control operation with the corresponding relationship on the tag management service.
可选的,所述第一获取模块,包括:发送单元,被设置为向标签管理服务发送标签序列号请求,其中,所述标签序列号请求用于请求分配标签序列号;第二获取单元,被设置为获取所述标签管理服务响应所述标签序列号请求返回的所述多个标签序列号;第三获取单元,被设置为获取为所述多个标签序列号分配的智能设备类型。Optionally, the first acquisition module includes: a sending unit configured to send a tag serial number request to the tag management service, where the tag serial number request is used to request allocation of a tag serial number; a second acquisition unit, is configured to acquire the multiple tag serial numbers returned by the tag management service in response to the tag serial number request; the third acquisition unit is configured to acquire the smart device type allocated for the multiple tag serial numbers.
可选的,所述写入模块,包括:写入单元,被设置为分别使用所述多个标签数据写入所述多个初始数据标签,得到多个候选数据标签;设置单元,被设置为将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为 只读,得到所述多个目标数据标签。Optionally, the writing module includes: a writing unit, configured to write the multiple initial data tags using the multiple tag data respectively, to obtain multiple candidate data tags; and the setting unit, configured to Set the usage rights of the label data in each of the plurality of candidate data labels to read-only to obtain the plurality of target data labels.
图11是根据本公开实施例的一种数据标签的生成装置的结构框图二;如图11所示,包括:Figure 11 is a structural block diagram 2 of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 11, it includes:
第一接收模块1102,被设置为接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;The first receiving module 1102 is configured to receive a tag serial number request initiated by a tag generation application, where the tag serial number request is used to request a tag serial number;
第二生成模块1104,被设置为响应所述标签序列号请求,生成多个标签序列号;The second generation module 1104 is configured to respond to the tag serial number request and generate multiple tag serial numbers;
发送模块1106,被设置为将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。The sending module 1106 is configured to send the multiple tag serial numbers to the tag generating application, wherein the tag generating application is used to obtain multiple tag serial numbers and the intelligence corresponding to the multiple tag serial numbers. Device type; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write the multiple tag data into multiple initial data tags respectively to obtain multiple targets Data labels.
通过上述装置,如果接收到标签生成应用发起的请求标签序列号的标签序列号请求,可以但不限于响应标签序列号请求生成多个标签序列号,将多个标签序列号发送至标签生成应用,标签生成应用用于获取多个标签序列号和多个标签序列号所对应的智能设备类型;为每个标签序列号生成携带有智能设备类型的标签数据,得到多个标签数据;分别将多个标签数据写入多个初始数据标签中,得到多个目标数据标签。采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above device, if a tag serial number request requesting a tag serial number initiated by a tag generation application is received, multiple tag serial numbers may be generated in response to the tag serial number request, but are not limited to, and the multiple tag serial numbers may be sent to the tag generation application, The tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; Tag data is written into multiple initial data tags to obtain multiple target data tags. Adopting the above technical solution solves the problem of low efficiency in generating data labels in related technologies, and achieves the technical effect of improving the efficiency of generating data labels.
可选的,所述装置还包括:第二接收模块,被设置为在所述将所述多个标签序列号发送至所述标签生成应用之后,接收所述标签生成应用发起的操作记录请求,其中,所述操作记录请求用于请求记录具有对应关系的智能设备类型和设备控制操作,所述设备控制操作是允许属于所述智能设备类型的设备执行的操作;记录模块,被设置为响应所述操作记录请求,记录具有对应关系的智能设备类型和设备控制操作。Optionally, the device further includes: a second receiving module configured to receive an operation record request initiated by the label generation application after sending the plurality of label serial numbers to the label generation application, Wherein, the operation record request is used to request the recording of a corresponding smart device type and a device control operation, and the device control operation is an operation that is allowed to be performed by a device belonging to the smart device type; the recording module is configured to respond to all The above operation record request records the corresponding smart device type and device control operation.
图12是根据本公开实施例的一种数据标签的生成装置的结构框图三;如图 12所示,包括:Figure 12 is a structural block diagram three of a device for generating data tags according to an embodiment of the present disclosure; as shown in Figure 12, it includes:
第二获取模块1202,被设置为获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;The second acquisition module 1202 is configured to acquire multiple tag data, wherein the multiple tag data is obtained by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, as Each of the tag serial numbers is generated and carries tag data of the smart device type;
烧写模块1204,被设置为分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。The programming module 1204 is configured to program multiple tag data on multiple initial data tags respectively to obtain multiple target data tags.
通过上述装置,获取标签生成应用生成的携带有多个标签序列号所对应的智能设备类型的多个标签数据,分别将多个标签数据烧写到多个初始数据标签中,得到多个目标数据标签,实现了批量烧写多个数据标签,采用上述技术方案,解决了相关技术中,生成数据标签的效率较低等问题,实现了提升生成数据标签的效率的技术效果。Through the above device, multiple tag data generated by the tag generation application carrying multiple tag serial numbers corresponding to the smart device types are obtained, and the multiple tag data are respectively burned into multiple initial data tags to obtain multiple target data. Tags realize batch programming of multiple data tags. The above technical solution solves the problem of low efficiency in generating data tags in related technologies and achieves the technical effect of improving the efficiency of generating data tags.
可选的,所述第二获取模块,被设置为获取多个携带有第一标签记录和第二标签记录的标签数据,其中,所述第一标签记录是由控制应用的调用链接,所述标签序列号,所述智能设备类型和所述智能设备类型对应的设备控制操作构造的标签链接按照标签记录格式生成的,所述第二标签记录是将控制应用的安装包标识按照所述标签记录格式生成的;Optionally, the second acquisition module is configured to acquire a plurality of tag data carrying first tag records and second tag records, wherein the first tag record is linked by a call of the control application, and the Tag serial number, the tag link constructed by the smart device type and the device control operation corresponding to the smart device type is generated according to the tag record format, and the second tag record is the installation package identification of the control application according to the tag record format generated;
所述烧写模块,被设置为分别使用所述多个标签数据烧写多个初始数据标签,得到多个候选数据标签;将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。The programming module is configured to program a plurality of initial data tags using the plurality of tag data respectively to obtain a plurality of candidate data tags; The usage permissions are set to read-only and the multiple target data tags are obtained.
本公开的实施例还提供了一种存储介质,该存储介质包括存储的程序,其中,上述程序运行时执行上述任一项的方法。An embodiment of the present disclosure also provides a storage medium that includes a stored program, wherein the method of any of the above items is executed when the program is run.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
S11,获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;S11, obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
S12,为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;S12, generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
S13,分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。S13: Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
可选地,在本实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
S21,接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;S21. Receive a label serial number request initiated by the label generation application, wherein the label serial number request is used to request a label serial number;
S22,响应所述标签序列号请求,生成多个标签序列号;S22, respond to the tag serial number request and generate multiple tag serial numbers;
S23,将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。S23. Send the multiple tag serial numbers to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; for each Each of the tag serial numbers generates tag data carrying the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
可选地,在本实施例中,上述存储介质还可以被设置为存储用于执行以下步骤的程序代码:Optionally, in this embodiment, the above-mentioned storage medium can also be configured to store program codes for performing the following steps:
S31,获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;S31. Acquire multiple tag data, wherein the multiple tag data is generated by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers. Obtained by generating tag data carrying the smart device type;
S32,分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。S32: Burn the multiple tag data to multiple initial data tags respectively to obtain multiple target data tags.
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present disclosure also provide an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传 输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to perform the following steps through a computer program:
S11,获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;S11, obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
S12,为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;S12, generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
S13,分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。S13: Write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
可选地,在本实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program:
S21,接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;S21. Receive a label serial number request initiated by the label generation application, wherein the label serial number request is used to request a label serial number;
S22,响应所述标签序列号请求,生成多个标签序列号;S22, respond to the tag serial number request and generate multiple tag serial numbers;
S23,将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。S23. Send the multiple tag serial numbers to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; for each Each of the tag serial numbers generates tag data carrying the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
可选地,在本实施例中,上述处理器还可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor can also be configured to perform the following steps through a computer program:
S31,获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;S31. Acquire multiple tag data, wherein the multiple tag data is generated by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers. Obtained by generating tag data carrying the smart device type;
S32,分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。S32: Burn the multiple tag data to multiple initial data tags respectively to obtain multiple target data tags.
根据本发明实施例的又一个方面,还提供了一种用于实施上述数据标签的生成方法的电子装置,如图13所示,该电子装置包括存储器1302和处理器1304,该存储器1302中存储有计算机程序,该处理器1304被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to another aspect of the embodiment of the present invention, an electronic device for implementing the above method of generating a data tag is also provided. As shown in Figure 13, the electronic device includes a memory 1302 and a processor 1304. The memory 1302 stores There is a computer program, and the processor 1304 is configured to execute the steps in any of the above method embodiments through the computer program.
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the above-mentioned electronic device may be located in at least one network device among multiple network devices of the computer network.
可选地,本领域普通技术人员可以理解,图13所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图13其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图13中所示更多或者更少的组件(如网络接口等),或者具有与图13所示不同的配置。Optionally, those of ordinary skill in the art can understand that the structure shown in Figure 13 is only illustrative, and the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, and a mobile Internet device (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 13 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components (such as network interfaces, etc.) than shown in FIG. 13 , or have a different configuration than shown in FIG. 13 .
其中,存储器1302可用于存储软件程序以及模块,如本发明实施例中的数据标签的生成方法和装置对应的程序指令/模块,处理器1304通过运行存储在存储器1302内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据标签的生成方法。存储器1302可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1302可进一步包括相对于处理器1304远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。作为一种示例,上述存储器1302可以如图13所示的包括但不限于包括上述数据标签的生成装置中的第一获取模块1002、第一生成模块1004、写入模块1006;或者上述存储器1302中可以但不限于包括上述数据标签的生成装置中的第一接收模块1102、第二生成模块1104、发送模块1106;或者上述存储器1302中可以但不限于包括上述数据标签的生成装置中的第二获取模块1202、烧写模块1204。The memory 1302 can be used to store software programs and modules, such as the program instructions/modules corresponding to the data tag generation method and device in the embodiment of the present invention. The processor 1304 runs the software programs and modules stored in the memory 1302, thereby Execute various functional applications and data processing, that is, implement the above-mentioned data label generation method. Memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1302 may further include memory located remotely relative to the processor 1304, and these remote memories may be connected to the terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof. As an example, the above-mentioned memory 1302 may include, but is not limited to, the first acquisition module 1002, the first generation module 1004, and the writing module 1006 in the generating device including the above-mentioned data tag, as shown in FIG. 13; or the above-mentioned memory 1302. It may include, but is not limited to, the first receiving module 1102, the second generating module 1104, and the sending module 1106 in the device for generating the data tag; or the memory 1302 may include, but is not limited to, the second acquisition module in the device for generating the data tag. Module 1202, programming module 1204.
此外,还可以包括但不限于上述数据标签的生成装置中的其他模块单元,本示例中不再赘述。In addition, it may also include but is not limited to other module units in the above-mentioned data tag generating device, which will not be described again in this example.
可选地,上述的传输装置1306用于经由一个网络接收或者发送数据。上述 的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1306包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1306为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned transmission device 1306 is used to receive or send data via a network. Specific examples of the above-mentioned network may include wired networks and wireless networks. In one example, the transmission device 1306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through network cables to communicate with the Internet or a local area network. In one example, the transmission device 1306 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
此外,上述电子装置还包括:显示器1308和连接总线1310,所述连接总线1310用于连接上述电子装置中的各个模块部件。In addition, the above-mentioned electronic device also includes: a display 1308 and a connection bus 1310. The connection bus 1310 is used to connect various module components in the above-mentioned electronic device.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), Various media that can store program code, such as mobile hard drives, magnetic disks, or optical disks.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference can be made to the examples described in the above-mentioned embodiments and optional implementations, and details will not be described again in this embodiment.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. , optionally, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be in a sequence different from that herein. The steps shown or described are performed either individually as individual integrated circuit modules, or as multiple modules or steps among them as a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.
以上所述仅是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above are only preferred embodiments of the present disclosure. It should be pointed out that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications can also be made. should be regarded as the scope of protection of this disclosure.

Claims (22)

  1. 一种数据标签的生成方法,包括:A method for generating data labels, including:
    获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;Obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
    为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;Generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data;
    分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。The plurality of tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
  2. 根据权利要求1所述的方法,其中,所述为每个所述标签序列号生成携带有所述智能设备类型的标签数据,包括:The method according to claim 1, wherein generating tag data carrying the smart device type for each tag serial number includes:
    获取所述智能设备类型所对应的设备控制操作,其中,所述设备控制操作是允许属于所述智能设备类型的智能设备执行的操作;Obtain a device control operation corresponding to the smart device type, wherein the device control operation is an operation that is allowed to be performed by a smart device belonging to the smart device type;
    生成携带有所述标签序列号,所述智能设备类型和所述设备控制操作的标签数据。Generate tag data carrying the tag serial number, the smart device type and the device control operation.
  3. 根据权利要求2所述的方法,其中,所述生成携带有所述标签序列号,所述智能设备类型和所述设备控制操作的标签数据,包括:The method according to claim 2, wherein the generating tag data carrying the tag serial number, the smart device type and the device control operation includes:
    将控制应用的调用链接,所述标签序列号,所述智能设备类型和所述设备控制操作构造为标签链接;Construct the call link of the control application, the tag serial number, the smart device type and the device control operation as a tag link;
    将所述标签链接按照标签记录格式生成第一标签记录;Generate the first tag record according to the tag record format using the tag link;
    将控制应用的安装包标识按照所述标签记录格式生成第二标签记录;Generate a second label record according to the label record format with the installation package identifier of the control application;
    将所述第一标签记录和第二标签记录确定为所述标签数据。The first tag record and the second tag record are determined as the tag data.
  4. 根据权利要求2所述的方法,其中,在所述获取所述智能设备类型所对应的设备控制操作之后,所述方法还包括:The method according to claim 2, wherein after obtaining the device control operation corresponding to the smart device type, the method further includes:
    向标签管理服务发起操作记录请求,其中,所述操作记录请求用于请求在 所述标签管理服务上记录具有对应关系的智能设备类型和设备控制操作。Initiate an operation record request to the tag management service, where the operation record request is used to request to record the corresponding smart device type and device control operation on the tag management service.
  5. 根据权利要求1所述的方法,其中,所述获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,包括:The method according to claim 1, wherein the obtaining multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers includes:
    向标签管理服务发送标签序列号请求,其中,所述标签序列号请求用于请求分配标签序列号;Send a tag serial number request to the tag management service, where the tag serial number request is used to request allocation of a tag serial number;
    获取所述标签管理服务响应所述标签序列号请求返回的所述多个标签序列号;Obtain the multiple tag serial numbers returned by the tag management service in response to the tag serial number request;
    获取为所述多个标签序列号分配的智能设备类型。Obtain the smart device type assigned to the multiple tag serial numbers.
  6. 根据权利要求1所述的方法,其中,所述分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签,包括:The method according to claim 1, wherein said writing the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags includes:
    分别使用所述多个标签数据写入所述多个初始数据标签,得到多个候选数据标签;Use the plurality of label data to write the plurality of initial data labels respectively to obtain a plurality of candidate data labels;
    将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。Set the usage rights of the label data in each of the plurality of candidate data labels to read-only to obtain the plurality of target data labels.
  7. 一种数据标签的生成方法,包括:A method for generating data labels, including:
    接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;Receive a label serial number request initiated by a label generation application, wherein the label serial number request is used to request a label serial number;
    响应所述标签序列号请求,生成多个标签序列号;Respond to the tag serial number request and generate multiple tag serial numbers;
    将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。Send the multiple tag serial numbers to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers; for each The tag serial number generates tag data carrying the smart device type to obtain multiple tag data; the multiple tag data are respectively written into multiple initial data tags to obtain multiple target data tags.
  8. 根据权利要求7所述的方法,其中,在所述将所述多个标签序列号发送至所述 标签生成应用之后,所述方法还包括:The method of claim 7, wherein after sending the plurality of tag serial numbers to the tag generation application, the method further includes:
    接收所述标签生成应用发起的操作记录请求,其中,所述操作记录请求用于请求记录具有对应关系的智能设备类型和设备控制操作,所述设备控制操作是允许属于所述智能设备类型的设备执行的操作;Receive an operation record request initiated by the label generation application, wherein the operation record request is used to request the recording of a corresponding smart device type and a device control operation, and the device control operation is to allow devices belonging to the smart device type the operation performed;
    响应所述操作记录请求,记录具有对应关系的智能设备类型和设备控制操作。In response to the operation record request, the smart device type and the device control operation having a corresponding relationship are recorded.
  9. 一种数据标签的生成方法,包括:A method for generating data labels, including:
    获取多个标签数据,其中,所述多个标签数据是标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;Acquire multiple tag data, wherein the multiple tag data is generated by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers. Obtained from tag data of the smart device type;
    分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。The plurality of tag data are respectively programmed to the plurality of initial data tags to obtain multiple target data tags.
  10. 根据权利要求9所述的方法,其中,The method of claim 9, wherein
    所述获取多个标签数据,包括:获取多个携带有第一标签记录和第二标签记录的标签数据,其中,所述第一标签记录是由控制应用的调用链接,所述标签序列号,所述智能设备类型和所述智能设备类型对应的设备控制操作构造的标签链接按照标签记录格式生成的,所述第二标签记录是将控制应用的安装包标识按照所述标签记录格式生成的;Obtaining multiple tag data includes: acquiring multiple tag data carrying a first tag record and a second tag record, wherein the first tag record is linked by a call of the control application, the tag serial number, The tag link constructed by the smart device type and the device control operation corresponding to the smart device type is generated according to the tag record format, and the second tag record is generated by using the installation package identifier of the control application according to the tag record format;
    所述分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签,包括:分别使用所述多个标签数据烧写多个初始数据标签,得到多个候选数据标签;将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。The step of separately burning the plurality of tag data on the plurality of initial data tags to obtain a plurality of target data tags includes: respectively using the plurality of tag data to program a plurality of initial data tags to obtain a plurality of candidate data tags; Set the usage rights of the label data in each of the plurality of candidate data labels to read-only to obtain the plurality of target data labels.
  11. 一种数据标签的生成装置,包括:A device for generating data labels, including:
    第一获取模块,被设置为获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;The first acquisition module is configured to acquire multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers;
    第一生成模块,被设置为为每个所述标签序列号生成携带有所述智能设备 类型的标签数据,得到多个标签数据;The first generation module is configured to generate tag data carrying the smart device type for each tag serial number, and obtain multiple tag data;
    写入模块,被设置为分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。The writing module is configured to write the plurality of tag data into multiple initial data tags respectively to obtain multiple target data tags.
  12. 根据权利要求11所述的装置,其中,所述第一生成模块,包括:The device according to claim 11, wherein the first generation module includes:
    第一获取单元,被设置为获取所述智能设备类型所对应的设备控制操作,其中,所述设备控制操作是允许属于所述智能设备类型的智能设备执行的操作;The first acquisition unit is configured to acquire a device control operation corresponding to the smart device type, wherein the device control operation is an operation that is allowed to be performed by a smart device belonging to the smart device type;
    生成单元,被设置为生成携带有所述标签序列号,所述智能设备类型和所述设备控制操作的标签数据。A generating unit configured to generate tag data carrying the tag serial number, the smart device type and the device control operation.
  13. 根据权利要求12所述的装置,其中,所述生成单元,被设置为:The device according to claim 12, wherein the generating unit is configured to:
    将控制应用的调用链接,所述标签序列号,所述智能设备类型和所述设备控制操作构造为标签链接;Construct the call link of the control application, the tag serial number, the smart device type and the device control operation as a tag link;
    将所述标签链接按照标签记录格式生成第一标签记录;Generate the first tag record according to the tag record format using the tag link;
    将控制应用的安装包标识按照所述标签记录格式生成第二标签记录;Generate a second label record according to the label record format with the installation package identifier of the control application;
    将所述第一标签记录和第二标签记录确定为所述标签数据。The first tag record and the second tag record are determined as the tag data.
  14. 根据权利要求12所述的装置,其中,所述装置还包括:The device of claim 12, wherein the device further comprises:
    发起模块,被设置为在所述获取所述智能设备类型所对应的设备控制操作之后,向标签管理服务发起操作记录请求,其中,所述操作记录请求用于请求在所述标签管理服务上记录具有对应关系的智能设备类型和设备控制操作。An initiating module, configured to initiate an operation record request to the tag management service after obtaining the device control operation corresponding to the smart device type, wherein the operation record request is used to request recording on the tag management service There is a corresponding relationship between smart device types and device control operations.
  15. 根据权利要求11所述的装置,其中,所述第一获取模块,包括:The device according to claim 11, wherein the first acquisition module includes:
    发送单元,被设置为向标签管理服务发送标签序列号请求,其中,所述标签序列号请求用于请求分配标签序列号;A sending unit configured to send a tag serial number request to the tag management service, wherein the tag serial number request is used to request allocation of a tag serial number;
    第二获取单元,被设置为获取所述标签管理服务响应所述标签序列号请求返回的所述多个标签序列号;The second acquisition unit is configured to acquire the plurality of tag serial numbers returned by the tag management service in response to the tag serial number request;
    第三获取单元,被设置为获取为所述多个标签序列号分配的智能设备类型。The third obtaining unit is configured to obtain the smart device type assigned to the plurality of tag serial numbers.
  16. 根据权利要求11所述的装置,其中,所述写入模块,包括:The device according to claim 11, wherein the writing module includes:
    写入单元,被设置为分别使用所述多个标签数据写入所述多个初始数据标签,得到多个候选数据标签;a writing unit configured to write the plurality of initial data tags using the plurality of tag data respectively to obtain a plurality of candidate data tags;
    设置单元,被设置为将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。The setting unit is configured to set the usage rights of the tag data in each of the plurality of candidate data tags to read-only to obtain the plurality of target data tags.
  17. 一种数据标签的生成装置,包括:A device for generating data labels, including:
    第一接收模块,被设置为接收标签生成应用发起的标签序列号请求,其中,所述标签序列号请求用于请求标签序列号;The first receiving module is configured to receive a tag serial number request initiated by the tag generation application, wherein the tag serial number request is used to request a tag serial number;
    第二生成模块,被设置为响应所述标签序列号请求,生成多个标签序列号;The second generation module is configured to respond to the tag serial number request and generate multiple tag serial numbers;
    发送模块,被设置为将所述多个标签序列号发送至所述标签生成应用,其中,所述标签生成应用用于获取多个标签序列号和所述多个标签序列号所对应的智能设备类型;为每个所述标签序列号生成携带有所述智能设备类型的标签数据,得到多个标签数据;分别将所述多个标签数据写入多个初始数据标签中,得到多个目标数据标签。A sending module configured to send the multiple tag serial numbers to the tag generation application, wherein the tag generation application is used to obtain multiple tag serial numbers and the smart devices corresponding to the multiple tag serial numbers. Type; generate tag data carrying the smart device type for each tag serial number to obtain multiple tag data; write the multiple tag data into multiple initial data tags respectively to obtain multiple target data Label.
  18. 根据权利要求17所述的装置,其中,所述装置还包括:The device of claim 17, further comprising:
    第二接收模块,被设置为在所述将所述多个标签序列号发送至所述标签生成应用之后,接收所述标签生成应用发起的操作记录请求,其中,所述操作记录请求用于请求记录具有对应关系的智能设备类型和设备控制操作,所述设备控制操作是允许属于所述智能设备类型的设备执行的操作;The second receiving module is configured to receive an operation record request initiated by the label generation application after sending the plurality of label serial numbers to the label generation application, wherein the operation record request is used to request Record the smart device type and the device control operation that have a corresponding relationship, and the device control operation is an operation that is allowed to be performed by a device belonging to the smart device type;
    记录模块,被设置为响应所述操作记录请求,记录具有对应关系的智能设备类型和设备控制操作。The recording module is configured to respond to the operation recording request and record the corresponding smart device type and device control operation.
  19. 一种数据标签的生成装置,包括:A device for generating data labels, including:
    第二获取模块,被设置为获取多个标签数据,其中,所述多个标签数据是 标签生成应用通过获取多个标签序列号和所述多个标签序列号所对应的智能设备类型,为每个所述标签序列号生成携带有所述智能设备类型的标签数据得到的;The second acquisition module is configured to acquire multiple tag data, wherein the multiple tag data is generated by the tag generation application by acquiring multiple tag serial numbers and the smart device types corresponding to the multiple tag serial numbers, for each tag data. The tag serial number is obtained by generating tag data carrying the smart device type;
    烧写模块,被设置为分别对多个初始数据标签烧写所述多个标签数据,得到多个目标数据标签。The programming module is configured to program multiple tag data on multiple initial data tags respectively to obtain multiple target data tags.
  20. 根据权利要求19所述的装置,其中,The device of claim 19, wherein:
    所述第二获取模块,被设置为获取多个携带有第一标签记录和第二标签记录的标签数据,其中,所述第一标签记录是由控制应用的调用链接,所述标签序列号,所述智能设备类型和所述智能设备类型对应的设备控制操作构造的标签链接按照标签记录格式生成的,所述第二标签记录是将控制应用的安装包标识按照所述标签记录格式生成的;The second acquisition module is configured to acquire a plurality of tag data carrying a first tag record and a second tag record, wherein the first tag record is linked by a call of the control application, the tag serial number, The tag link constructed by the smart device type and the device control operation corresponding to the smart device type is generated according to the tag record format, and the second tag record is generated by using the installation package identification of the control application according to the tag record format;
    所述烧写模块,被设置为分别使用所述多个标签数据烧写多个初始数据标签,得到多个候选数据标签;将所述多个候选数据标签中的每个候选数据标签中标签数据的使用权限设置为只读,得到所述多个目标数据标签。The programming module is configured to program a plurality of initial data tags using the plurality of tag data respectively to obtain a plurality of candidate data tags; The usage permissions are set to read-only and the multiple target data tags are obtained.
  21. 一种计算机可读的存储介质,所述计算机可读的存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至10中任一项所述的方法。A computer-readable storage medium includes a stored program, wherein the method of any one of claims 1 to 10 is executed when the program is run.
  22. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至10中任一项所述的方法。An electronic device includes a memory and a processor, a computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 10 through the computer program.
PCT/CN2022/128398 2022-04-22 2022-10-28 Data tag generation method and apparatus, storage medium, and electronic apparatus WO2023202026A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210428312.7 2022-04-22
CN202210428312.7A CN116976368A (en) 2022-04-22 2022-04-22 Data tag generation method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
WO2023202026A1 true WO2023202026A1 (en) 2023-10-26

Family

ID=88419016

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128398 WO2023202026A1 (en) 2022-04-22 2022-10-28 Data tag generation method and apparatus, storage medium, and electronic apparatus

Country Status (2)

Country Link
CN (1) CN116976368A (en)
WO (1) WO2023202026A1 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120085828A1 (en) * 2010-10-11 2012-04-12 Andrew Ziegler PROMOTIONAL HANG TAG, TAG, OR LABEL COMBINED WITH PROMOTIONAL PRODUCT SAMPLE, WITH INTERACTIVE QUICK RESPONSE (QR CODE, MS TAG) OR OTHER SCAN-ABLE INTERACTIVE CODE LINKED TO ONE OR MORE INTERNET UNIFORM RESOURCE LOCATORS (URLs) FOR INSTANTLY DELIVERING WIDE BAND DIGITAL CONTENT, PROMOTIONS AND INFOTAINMENT BRAND ENGAGEMENT FEATURES BETWEEN CONSUMERS AND MARKETERS
EP2746992A1 (en) * 2012-12-20 2014-06-25 Bernard Barink Method and apparatus for providing printed and encoded RFID tags
US20150038086A1 (en) * 2013-08-01 2015-02-05 Samsung Electronics Co., Ltd. Method of controlling nfc-related service provision and apparatus performing the same
CN204731809U (en) * 2015-07-13 2015-10-28 上海先码信息科技有限公司 Radio-frequency (RF) identification work system
CN106326786A (en) * 2016-08-26 2017-01-11 易联(北京)物联网科技有限公司 Automatic batch processing method based on NFC chip anti-counterfeiting authentication
CN106339883A (en) * 2016-08-26 2017-01-18 易联(北京)物联网科技有限公司 Commodity tracing method based on NFC chip anti-counterfeit authentication
CN110197520A (en) * 2019-04-25 2019-09-03 珠海格力电器股份有限公司 Label generating method, device, terminal device and computer readable storage medium
CN113627958A (en) * 2021-08-25 2021-11-09 芯电智联(北京)科技有限公司 NFC anti-counterfeiting tracing method and server
CN113780495A (en) * 2021-09-01 2021-12-10 芯电智联(北京)科技有限公司 NFC tag data writing method and terminal
CN114330608A (en) * 2021-11-12 2022-04-12 杭州春笙物联科技有限公司 Method and system for batch code writing by using RFID group reading technology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120085828A1 (en) * 2010-10-11 2012-04-12 Andrew Ziegler PROMOTIONAL HANG TAG, TAG, OR LABEL COMBINED WITH PROMOTIONAL PRODUCT SAMPLE, WITH INTERACTIVE QUICK RESPONSE (QR CODE, MS TAG) OR OTHER SCAN-ABLE INTERACTIVE CODE LINKED TO ONE OR MORE INTERNET UNIFORM RESOURCE LOCATORS (URLs) FOR INSTANTLY DELIVERING WIDE BAND DIGITAL CONTENT, PROMOTIONS AND INFOTAINMENT BRAND ENGAGEMENT FEATURES BETWEEN CONSUMERS AND MARKETERS
EP2746992A1 (en) * 2012-12-20 2014-06-25 Bernard Barink Method and apparatus for providing printed and encoded RFID tags
US20150038086A1 (en) * 2013-08-01 2015-02-05 Samsung Electronics Co., Ltd. Method of controlling nfc-related service provision and apparatus performing the same
CN204731809U (en) * 2015-07-13 2015-10-28 上海先码信息科技有限公司 Radio-frequency (RF) identification work system
CN106326786A (en) * 2016-08-26 2017-01-11 易联(北京)物联网科技有限公司 Automatic batch processing method based on NFC chip anti-counterfeiting authentication
CN106339883A (en) * 2016-08-26 2017-01-18 易联(北京)物联网科技有限公司 Commodity tracing method based on NFC chip anti-counterfeit authentication
CN110197520A (en) * 2019-04-25 2019-09-03 珠海格力电器股份有限公司 Label generating method, device, terminal device and computer readable storage medium
CN113627958A (en) * 2021-08-25 2021-11-09 芯电智联(北京)科技有限公司 NFC anti-counterfeiting tracing method and server
CN113780495A (en) * 2021-09-01 2021-12-10 芯电智联(北京)科技有限公司 NFC tag data writing method and terminal
CN114330608A (en) * 2021-11-12 2022-04-12 杭州春笙物联科技有限公司 Method and system for batch code writing by using RFID group reading technology

Also Published As

Publication number Publication date
CN116976368A (en) 2023-10-31

Similar Documents

Publication Publication Date Title
CN105471686B (en) Terminal control method, device and system
CN112995348B (en) Control method, device and system of Internet of things equipment
CN102802059B (en) The method of configuration machine top box, Apparatus and system
CN106411667B (en) Intelligent home multi-cloud control method and system based on network chip
WO2016058366A1 (en) Smart home appliance control method and home control center
WO2013178174A1 (en) Capability open platform, method and gateway for achieving terminal device plug and play management
CN111885144B (en) Equipment binding method and device
WO2018192304A1 (en) Intelligent terminal, network entry device, network distribution system, and method
WO2016193417A1 (en) Home appliance control method and control system
CN102891890B (en) Exchange method between a kind of terminal and relevant device, system
US11449319B2 (en) Method and apparatus for downloading bundle to smart secure platform by using activation code
CN111405042B (en) Electronic device discovery method and device, storage medium and electronic device
CN112751699B (en) OTA upgrading and upgrading management method, equipment, network and storage medium
CN108390795B (en) Household appliance and monitoring method thereof, smart home system and readable storage medium
CN114244644A (en) Smart home control method and device, storage medium and electronic device
CN115486038B (en) Internet of things configuration method, internet of things configuration device, computer equipment and storage medium
WO2017088795A1 (en) Method and device for controlling smart appliance
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
US9684938B2 (en) Methods for generating electronic appliance identifier and managing information by using electronic appliance identifier
WO2023202026A1 (en) Data tag generation method and apparatus, storage medium, and electronic apparatus
CN106797393A (en) For being the method for labeling assignments action in network, corresponding network and control device
WO2024001163A1 (en) Attribute data conversion method and apparatus, storage medium, and electronic device
CN106997179A (en) The method and intelligence control system of intelligent control platform management equipment
CN114019821A (en) Smart home control method, device and system
CN105282753A (en) Intelligent network method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22938246

Country of ref document: EP

Kind code of ref document: A1