CN114189554B - Information interaction method, device and readable storage medium - Google Patents

Information interaction method, device and readable storage medium Download PDF

Info

Publication number
CN114189554B
CN114189554B CN202111363081.8A CN202111363081A CN114189554B CN 114189554 B CN114189554 B CN 114189554B CN 202111363081 A CN202111363081 A CN 202111363081A CN 114189554 B CN114189554 B CN 114189554B
Authority
CN
China
Prior art keywords
information
information item
item
values
string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111363081.8A
Other languages
Chinese (zh)
Other versions
CN114189554A (en
Inventor
赵小川
黄杰
马燕琳
郑君哲
董忆雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China North Computer Application Technology Research Institute
Original Assignee
China North Computer Application Technology Research Institute
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 China North Computer Application Technology Research Institute filed Critical China North Computer Application Technology Research Institute
Priority to CN202111363081.8A priority Critical patent/CN114189554B/en
Publication of CN114189554A publication Critical patent/CN114189554A/en
Application granted granted Critical
Publication of CN114189554B publication Critical patent/CN114189554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Abstract

The present disclosure relates to an information interaction method, apparatus, and readable storage medium, the method comprising: acquiring an information set to be transmitted; for each first information item in a set plurality of information items, converting information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one information item in the plurality of information items; combining the converted values according to a set combination mode to obtain a first value string; and sending the first numerical string to an information transmission object corresponding to the information set.

Description

Information interaction method, device and readable storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of communication, in particular to an information interaction method, an information interaction device and a readable storage medium.
Background
For information interaction between devices, information can be transmitted between the devices in a coding mode.
Currently, information can be transmitted in a coding mode of text strings. But this coding scheme does not have good readability for the device end.
Disclosure of Invention
It is an object of embodiments of the present disclosure to provide a new technical solution for information interaction.
According to a first aspect of the present disclosure, there is provided an information interaction method, including: acquiring an information set to be transmitted; for each first information item in a set plurality of information items, converting information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one information item in the plurality of information items; combining the converted values according to a set combination mode to obtain a first value string; and sending the first numerical string to an information transmission object corresponding to the information set.
Optionally, the plurality of information items includes at least one second information item for indicating the information transmission object; before said transmitting said first string of values to an information transfer object corresponding to said set of information, said method further comprises: and determining at least one information transmission object according to the information corresponding to each second information item in the information set, and taking the at least one information transmission object as the information transmission object corresponding to the information set.
Optionally, the converting the information corresponding to the first information item in the information set into a corresponding numeric value with a set binary data format according to a set transcoding rule corresponding to the first information item includes: obtaining a selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the first information item is the second information item, wherein one target object comprises a group of or one information transmission object, and the selection condition comprises one of selection and non-selection; obtaining corresponding binary values according to the selection condition of each target object corresponding to the first information item, wherein different bits in the binary values correspond to different target objects respectively, and the values of the bits in the binary values are matched with the selection condition of the corresponding target objects; the binary values are converted into corresponding values having a set binary data format.
Optionally, the at least one second information item includes: grouping information items and at least one member information item; wherein the set of information transfer objects comprises at least one information transfer object.
Optionally, before the selecting condition of each target object corresponding to the first information item is obtained according to the information corresponding to the first information item in the information set, the method further includes: determining an attribute of the first information item; executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the attribute of the first information item is the grouping information item; determining whether the selection condition of each target object corresponding to the grouping information item is not selected under the condition that the attribute of the first information item is the member information item; and executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the selection condition of each target object corresponding to the grouping information item is not all non-selected.
Optionally, the method further comprises: receiving a second numerical string sent by the information transmission object; splitting the second numerical string according to the combination mode to obtain a splitting result; converting the numerical value with the set binary data format corresponding to the first information item in the split result into corresponding information according to a set transcoding rule corresponding to the first information item when the split result comprises the numerical value with the set binary data format corresponding to the first information item; and executing preset processing on the converted information.
Optionally, before the obtaining the first numerical string, the method further includes: processing the converted values to set calculation rules to obtain target values serving as frame verification; and combining the converted values according to a set combination mode to obtain a first value string, wherein the method comprises the following steps of: and combining the target value and each converted value according to a set combination mode to obtain a first value string.
According to a second aspect of the present disclosure, there is also provided an information interaction device, including: the acquisition module is used for acquiring an information set to be transmitted; the first processing module is used for converting information corresponding to the first information items in the information set into corresponding numerical values with a set system data format according to a set transcoding rule corresponding to the first information items for each first information item in the set plurality of information items, wherein the first information item is any one information item in the plurality of information items; the second processing module is used for combining the converted numerical values according to a set combination mode to obtain a first numerical value string; and an output module for transmitting the first numerical string to an information transmission object corresponding to the information set.
According to a third aspect of the present disclosure, there is also provided an information interaction device comprising a memory for storing a computer program and a processor; the processor is configured to execute the computer program to implement the method according to the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is also provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method according to the first aspect of the present disclosure.
One beneficial effect of the embodiment of the disclosure is that the information set to be transmitted is obtained; for each first information item in the set plurality of information items, converting the information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one of the plurality of information items; combining the converted values according to a set combination mode to obtain a first value string; the first string of values is sent to an information transfer object corresponding to the information set. Therefore, in this embodiment, each item of information to be transmitted is uniformly converted into corresponding values with a set binary data format, and the values are combined into a value string and output.
Other features of the disclosed embodiments and their advantages will become apparent from the following detailed description of exemplary embodiments of the disclosure, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the embodiments of the disclosure.
FIG. 1 is a schematic diagram of an electronic device constituent structure capable of implementing an information interaction method according to one embodiment;
FIG. 2 is a flow diagram of a method of information interaction according to one embodiment;
FIG. 3 is a flow diagram of a method of information interaction according to another embodiment;
FIG. 4 is a block schematic diagram of an information interaction device according to one embodiment;
fig. 5 is a schematic diagram of a hardware structure of an information interaction device according to an embodiment.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
< hardware configuration >
Fig. 1 is a schematic diagram of an electronic device 1000 that may be used to implement embodiments of the present disclosure.
The electronic device 1000 may be a smart phone, a portable computer, a desktop computer, a tablet computer, a server, etc., and is not limited herein.
The electronic device 1000 may include, but is not limited to, a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a graphics processor GPU, a microprocessor MCU, etc. for executing a computer program written in an instruction set of an architecture such as x86, arm, RISC, MIPS, SSE, etc. The memory 1200 includes, for example, ROM (read only memory), RAM (random access memory), nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a serial interface, a parallel interface, and the like. The communication device 1400 can perform wired communication using an optical fiber or a cable, or perform wireless communication, for example, and specifically can include WiFi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display, a touch display, or the like. The input device 1600 may include, for example, a touch screen, keyboard, somatosensory input, and the like. The speaker 1700 is for outputting audio signals. Microphone 1800 is used to collect audio signals.
The memory 1200 of the electronic device 1000 is used for storing a computer program for controlling the processor 1100 to operate to implement the method according to the embodiments of the present disclosure. The skilled person can design the computer program according to the disclosure of the present disclosure. How the computer program controls the processor to operate is well known in the art and will not be described in detail here. The electronic device 1000 may be installed with an intelligent operating system (e.g., windows, linux, android, IOS, etc. systems) and application software.
It will be appreciated by those skilled in the art that although a plurality of devices of the electronic device 1000 are shown in fig. 1, the electronic device 1000 of the embodiments of the present disclosure may involve only some of the devices thereof, for example, only the processor 1100 and the memory 1200, etc.
Various embodiments and examples according to the present invention are described below with reference to the accompanying drawings.
< method example >
Fig. 2 is a flow diagram of a method of information interaction according to one embodiment. The implementation body of the present embodiment may be the electronic device 1000 shown in fig. 1.
As shown in fig. 2, the information interaction method of the present embodiment may include the following steps S210 to S240:
Step S210, acquiring an information set to be transmitted.
The information interaction device of the embodiment can be electronic equipment such as a remote controller and a control platform for controlling intelligent unmanned equipment. The user can issue a control command through the information interaction device, and the set of information corresponding to the control command is required to be transmitted to the corresponding intelligent unmanned equipment.
In detail, the user can issue a control command by a setting manner. The setting mode may be a voice input mode or a gesture input mode. In this way, the above-described information set can be obtained by information identification.
Based on this, in one embodiment of the disclosure, the acquiring the information set to be transmitted may include: responding to an information input operation executed by the outside according to a setting mode, and acquiring target information input by the outside according to the setting mode; performing identification processing on the target information to obtain an identification result; and acquiring information corresponding to each information item respectively according to the identification result to obtain the information set.
In this embodiment, the user may input information corresponding to the control command by voice or gesture. Correspondingly, the information interaction device can perform corresponding online or offline identification processing on the information input by the user so as to obtain an identification result. Further, information for various preset information items may be obtained as an information set to be transmitted in combination with the recognition result.
For example, there may be example 1 speech: unmanned aerial vehicle No. 1, unmanned aerial vehicle No. 2, unmanned aerial vehicle No. 5, unmanned aerial vehicle No. 2, unmanned aerial vehicle No. 6, the group is built. Example 2 speech: group 1 details area 3.
In one embodiment of the present disclosure, please refer to the following table 1, the preset information items may include a message type, an instruction type, valid data, and a frame check. In other embodiments of the present disclosure, the preset information items may be part of these information items, such as an information item that may only have valid data.
In one embodiment of the present disclosure, please refer to the following table 1, the information item of the effective data may be specifically subdivided into information items of a group, an unmanned plane, an unmanned vehicle, a mechanical dog, an execution operation, an operation number, and an operation unit. This implementation is applicable in situations where a user is required to specify an information interaction object.
In other embodiments of the present disclosure, the information item of the valid data may include only the information items of the execution operation, the number of operations, and the unit of operation. This implementation is applicable without requiring the user to specify an information interaction object. For example, the information interaction device may output information to one or more intelligent unmanned devices that are stationary.
In detail, referring to table 1, for the information of the basic information items of the frame identifier header, the effective data length, the message sequence number, and the end of the frame, although the information needs to be transmitted to the intelligent unmanned device, the information may be preset or obtained in other manners, and not obtained through the information set.
Referring to table 1, when the message type is a command, the intelligent unmanned device may only execute the corresponding control operation without replying, and when the message type is replying, the intelligent unmanned device may reply to the execution result after executing the corresponding control operation.
As shown in table 1, the numerical string of the present embodiment may have 18 bytes including 7 bytes of the code-start portion, 8 bytes of the valid data portion, and 3 bytes of the code-end portion. The code head mainly sets the current code type, code sequence number and other contents; the effective data part mainly comprises actions, action subjects and the like which are currently executed; the end of coding includes a frame check bit and an end of frame bit.
TABLE 1
In detail, in a feasible implementation manner, the effective data length, the message type, the instruction type, the message sequence number and other information are also transmitted to the intelligent unmanned equipment, so that operations such as management, backup, review and the like of the transmitted information can be conveniently performed. And by transmitting the information of the frame identification head and the frame end to the intelligent unmanned equipment, the operations such as checking, identifying and the like of the transmitted information can be conveniently performed.
Step S220, for each first information item in the set plurality of information items, converting the information corresponding to the first information item in the information set into a corresponding numerical value having a set binary data format according to a set transcoding rule corresponding to the first information item, where the first information item is any one of the plurality of information items.
As described above, assuming that the preset plurality of information items are respectively a message type, an instruction type, valid data, and frame check, the information item of valid data may be specifically subdivided into information items of a group, an unmanned aerial vehicle, a mechanical dog, an execution operation, an operation number, and an operation unit, and information of the preset information items may be recorded in the above information set.
In this embodiment, in order to improve the readability of the device for information, the information to be transmitted may be converted into a corresponding value having a set binary data format. Preferably, it can be converted to a 16-ary value. Possibly, it can also be converted into a 32-ary value, etc. Thus, the information interaction device sends, for example, a 16-ary value to the intelligent unmanned device to improve the readability of the intelligent unmanned device for the received information.
In detail, various setting information items may have corresponding transcoding rules.
As shown in table 2, table 2 shows the transcoding rules of the respective information items under the information item of valid data.
As shown in table 2, the valid data portion includes 8 bytes, the first 4 bytes being the selected equipment number; the 5 th byte is the type of action to be executed; bytes 6-8 are metrics corresponding to different action types, such as "angle", "meter", "target", etc.
The specific transcoding rules for this information item for performing the operation may be as shown in table 3 below.
TABLE 2
TABLE 3 Table 3
As shown in table 3, the action instructions are mainly divided into 4 parts, the basic instructions are basic operations such as unlocking and locking, the active instructions are motion instructions such as advancing and retreating, the action instructions are functional instructions such as following and striking, and the task instructions are combat task instructions such as detecting and monitoring.
As shown in tables 2 and 3, by providing various setting information items with corresponding transcoding rules, the same 16-ary number can represent different information under different information items. A 16 number such as 0x01 may represent unlocking in an information item of an operation, and may represent angle in an information item of an operation unit. Therefore, a limited number of 16-system numbers can be utilized to accurately represent a large amount of information of categories, and the management and adjustment of the transcoding rules are facilitated.
Referring to Table 4 below, table 4 shows examples of possible voice commands.
As shown in table 4, after obtaining the 16-ary numbers of the respective setting information items and the 16-ary numbers of the respective basic information items, the combination processing of these 16-ary numbers can be performed to obtain the respective numerical strings.
TABLE 4 Table 4
Step S230, combining the converted values according to a set combination mode to obtain a first value string.
In this step, taking 16-ary as an example, after converting the information corresponding to each information item in the information set into the corresponding 16-ary number, these 16-ary numbers may be combined into a numerical string of 16-ary numbers. As shown in table 1, the obtained 16-ary numbers may be combined in a top-down manner as shown in table 1 to obtain a corresponding numerical string.
In view of the situations of data mishandling, data falsification, etc., in order to provide accurate control of the information transmission object, as shown in tables 1 to 4, an information item of frame check may be further provided.
Based on this, in one embodiment of the present disclosure, before the deriving the first numerical string, the method further includes: and performing processing of setting calculation rules on each converted value to obtain a target value serving as frame verification.
In this embodiment, the frame check values are calculated specifically according to the converted values, so as to achieve the effect of comprehensively checking the key information. As long as any information in the information set is transmitted in error or is not transmitted, verification is not passed, so that accurate execution of the control instruction is ensured.
Correspondingly, the combining the converted values according to the set combination mode to obtain a first value string includes: and combining the target value and each converted value according to a set combination mode to obtain a first value string.
In this step, the combination of the respective values obtained by conversion can be realized by referring to the code combination order shown in tables 1 to 4. Correspondingly, the information transmission object combines the coding combination sequence to realize the splitting operation of the numerical string.
In this embodiment, the value string sent to the information transmission object includes frame verification, and after the information transmission object receives the data string, the validity of the value string can be verified through the corresponding 16-ary number of the frame verification, so as to avoid the problems of data loss, misoperation, malicious tampering and the like in the encoding transmission process from affecting the accurate control of the information transmission object.
In one embodiment of the present disclosure, the first numerical string includes: a first set value as a frame identification header located before each of the converted values, and a second set value as an end of frame located after each of the converted values; wherein the first set value and the second set value both have the set binary data format.
In this embodiment, please refer to tables 1 to 4, the generated numerical string includes a fixed header and a fixed tail, and the header and the tail are consistent with the other information item, for example, all converted into 16-system numbers, so as to ensure the consistency of the numerical formats. The fixed head and tail arrangement can facilitate the information transmission object to quickly and accurately identify each received numerical string.
In one embodiment of the present disclosure, before the obtaining the first numerical string, the method further includes: and obtaining the target serial number according to the obtained serial number of the last numerical string. In detail, the obtained individual numerical strings may be sequentially ordered to obtain corresponding serial numbers.
Correspondingly, the combining the converted values according to the set combination mode to obtain a first value string includes: and combining the target serial number and each converted numerical value according to a set combination mode to obtain a first numerical value string.
In this step, the combination of the respective values obtained by conversion can be realized by referring to the code combination order shown in tables 1 to 4. By setting the serial number in the numerical string, the execution of subsequent checking and storing operations can be facilitated.
Step S240, transmitting the first numerical string to an information transmission object corresponding to the information set.
In the step, the numerical value strings obtained by combination are sent to corresponding information transmission objects, and the information transmission objects can be intelligent unmanned equipment such as unmanned aerial vehicles, unmanned vehicles, mechanical dogs and the like.
Taking 16 system as an example, after receiving the numerical string, the intelligent unmanned device can perform splitting processing according to a splitting mode corresponding to the combination mode, so as to obtain each 16 system number, and execute corresponding control operations and the like by combining the 16 system numbers.
As can be seen from the foregoing, the present embodiment provides an information interaction method, which obtains an information set to be transmitted; for each first information item in the set plurality of information items, converting the information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one of the plurality of information items; combining the converted values according to a set combination mode to obtain a first value string; the first string of values is sent to an information transfer object corresponding to the information set. Therefore, in this embodiment, each item of information to be transmitted is uniformly converted into corresponding values with a set binary data format, and the values are combined into a value string and output.
In detail, for the case where the object controlled by the information interaction device is fixed, such as a case where one remote controller is used only to control one unmanned aerial vehicle or a group of unmanned aerial vehicles, the remote controller may send the first numerical string to the one unmanned aerial vehicle or the group of unmanned aerial vehicles.
For the situation that the object controlled by the information interaction device is not fixed, for example, one remote controller can control a plurality of unmanned aerial vehicles, a user can select the unmanned aerial vehicle controlled at the current time according to the requirement, information for indicating the object controlled at the current time is concentrated in the information, and the remote controller can send a first numerical string to the unmanned aerial vehicle controlled at the current time according to the information.
Based on this, in one embodiment of the present disclosure, the plurality of information items includes at least one second information item for indicating the information transmission object.
In this embodiment, the user needs to specify an information transmission object, and the preset information item includes at least one information item for indicating the information transmission object, for example, may include information items for indicating a group, an unmanned aerial vehicle, and a mechanical dog as shown in table 1.
Correspondingly, before the sending the first numerical string to the information transmission object corresponding to the information set, the method further comprises: and determining at least one information transmission object according to the information corresponding to each second information item in the information set, and taking the at least one information transmission object as the information transmission object corresponding to the information set.
In this embodiment, the information interaction device may determine each information transmission object of the current time according to the information for indicating the information transmission object recorded in the information set. And then the generated numerical value string can be sent to each determined information transmission object.
For example, for a plurality of unmanned aerial vehicles, the user can specify what number of unmanned aerial vehicles are currently controlled by voice. Correspondingly, the information interaction device can convert the serial number of the unmanned aerial vehicle into a corresponding 16-system number, and then send a numerical string comprising the 16-system number to the unmanned aerial vehicle.
Therefore, the embodiment can realize flexible selection of the information transmission objects, and support the user to control each information transmission object which needs to be controlled each time according to the needs, so that the user experience is better.
For the above-described encoding scheme of directly converting the number of the information transmission object specified by the user into a 16-ary number, the user can specify only one of the plurality of objects at a time. Based on this, considering that the user may flexibly control one or more of the plurality of objects at a time, referring to table 2 above, a coding manner of obtaining a corresponding binary number according to the number and converting the binary number into a 16-ary number may also be adopted. In this way, for 8 objects, the user can flexibly select at least one of them, thereby satisfying the situation that the user can control a plurality of objects at a time.
Based on this, in one embodiment of the disclosure, the converting the information corresponding to the first information item in the information set into the corresponding numeric value with the set binary data format according to the set transcoding rule corresponding to the first information item may include the following steps A1 to A3:
and step A1, obtaining a selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set when the first information item is the second information item, wherein one target object comprises a group of or one information transmission object, and the selection condition comprises one of selection and non-selection.
In this embodiment, taking the information items shown in table 1 as an example, the first information items may be message types, instruction types, valid data (including four types of grouping, unmanned aerial vehicle, and mechanical dog), and frame check. The second information item can be information items such as a group, an unmanned aerial vehicle and a mechanical dog.
Thus, the target object may be any one of a group, an unmanned aerial vehicle, and a mechanical dog.
For the second information item, the coding is performed by combining binary numbers, and for other information items, the coding can be performed by adopting a preset mapping relation.
As shown in table 2, for 8 groups, if the user selects the groups 8, 7, 5, and 4, the selection condition of each group of the 8 groups can be obtained according to the information of the information item corresponding to the group in the information set.
And step A2, obtaining corresponding binary values according to the selection condition of each target object corresponding to the first information item, wherein different bits in the binary values correspond to different target objects respectively, and the values of the bits in the binary values are matched with the selection condition of the corresponding target object.
As shown in table 2, for 8 groups, if the user selects the 8 th, 7 th, 5 th and 4 th groups, but not the 6 th, 3 nd, 2 nd and 1 th groups, the corresponding binary numbers can be obtained according to the selection condition of each group and the serial number of the group: 11011000.
and step A3, converting the binary value into a corresponding numerical value with a set binary data format.
In this step, the obtained binary values may be directly converted into corresponding 16-ary values, for example, binary numbers: 11011000 is converted to 16-ary numbers: 0xD8. Further, this 16-ary number may be: 0xD8 is combined with the other 16-ary numbers obtained to obtain corresponding numerical strings. Correspondingly, the information interaction device can further send the numerical string to corresponding intelligent unmanned equipment in the 8 th, 7 th, 5 th and 4 th groups.
Correspondingly, after receiving the numerical string, the intelligent unmanned equipment can also check whether the information interaction device accurately transmits in a directional mode through corresponding analysis of binary values. For example, if an unmanned aerial vehicle in group 1 receives the numerical string, it can be determined that the information interaction device sends an error by analyzing the binary value, so that a control instruction corresponding to the numerical string may not be executed.
Therefore, the encoding mode provided by the embodiment can meet the requirement of a user for controlling a plurality of objects at one time, so that the object control is more flexible and the user experience is better.
Moreover, in a possible implementation manner, for the case that the user selects a plurality of objects, a corresponding mapping relationship may also be set, and information of the plurality of objects selected by the user is converted into a corresponding 16-ary number. However, since the number of objects and the individual objects of the plurality of objects can be changed, a large number of mapping relationships need to be set. The binary number combined coding method provided by the embodiment does not have the problem, does not need to design and store a large number of mapping relations, can support the requirement of selecting a plurality of objects by a user only by executing simple binary number generating and converting operations, and simplifies scheme design.
With the above-described binary number-combined encoding scheme, since one binary number corresponds to only 8 objects, for the case where the number of objects is far greater than 8, it is possible to solve the problem by adding information items or grouping.
For example, for the mode of adding information items, if there are 64 unmanned aerial vehicles, the 64 unmanned aerial vehicles can be divided into 8 parts, one part is provided with 8 unmanned aerial vehicles, one part corresponds to one information item, namely, the corresponding 8 information items need to be designed, and the selection condition of the 64 unmanned aerial vehicles can be accurately recorded. But this implementation results in a relatively long length of the generated data string.
For the grouping mode, please refer to table 1-table 2, if there are 64 unmanned aerial vehicles, the 64 unmanned aerial vehicles can be divided into 8 groupings, one grouping has 8 unmanned aerial vehicles, the grouping corresponds to one information item, the unmanned aerial vehicle corresponds to one information item, namely, the selection condition of the 64 unmanned aerial vehicles can be accurately recorded by designing the corresponding 2 information items. Correspondingly, this implementation may avoid longer lengths of the generated data strings.
Based on this, in one embodiment of the present disclosure, the at least one second information item includes: grouping information items and at least one member information item; wherein the set of information transfer objects comprises at least one information transfer object.
Referring to tables 1 to 2, the at least one member information item may be three items of unmanned aerial vehicle information item, unmanned vehicle information item and mechanical dog information item. Wherein, the number of various information transmission objects included in one group can be 8 at most. In this way, when the coding modes shown in table 1 and table 2 are adopted, the information interaction device of the embodiment can flexibly control part or all of at most 64 unmanned aerial vehicles, 64 unmanned vehicles and 64 mechanical dogs as required, and can generally meet the actual control requirements of users.
It can be seen that the present embodiment combines grouping and binary numbers to implement transcoding of information transmission objects, and may have advantages of supporting control of a larger number of information transmission objects, enabling a user to control a plurality of information transmission objects at the same time, and having a shorter length of a numerical string to be transmitted.
In a possible implementation, there may be some information transfer objects that exist separately from the information transfer objects that exist in the respective groupings to be independent of the information transfer objects other than any grouping. For example, some unmanned aerial vehicles exist in a group, and some unmanned aerial vehicles exist alone.
Thus, the presence of the above-mentioned group information items may not only have the above-mentioned advantages, but may also be used to distinguish whether the information of the member information items is directed to an information transmission object within the group or an information transmission object outside the group, so as to achieve an effective distinction of the information transmission objects inside and outside the group.
For the information transmission objects in the group and the group, the above-mentioned binary number combination mode may be adopted for the transcoding process, and for the information transmission objects existing alone, this transcoding mode may not be adopted, for example, a transcoding mode of directly converting into 16-ary numbers may be adopted.
In this implementation, the number of various information transmission objects outside the group can reach 255 at maximum. For example, in table 1, the number of unmanned aerial vehicles, and mechanical dogs outside the group may be 1 to 255. Correspondingly, a user can control at most 1 unmanned aerial vehicle, 1 unmanned aerial vehicle and 1 mechanical dog outside the marshalling at a time.
Based on this, in one embodiment of the present disclosure, before the selecting condition of each target object corresponding to the first information item is obtained according to the information corresponding to the first information item in the information set, the method may further include the following steps B1 to B4:
and step B1, determining the attribute of the first information item.
In this embodiment, for the same information transmission object, in order to realize accurate selection of the encoding mode, the attribute of the information item is acquired first.
In this step, the first information item is an information item for indicating an information transmission object, so that it is necessary to further determine whether its attribute is a group information item or a member information item.
As shown in tables 1 and 2, the member information items include information items corresponding to unmanned aerial vehicles, and mechanical dogs.
And B2, executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the attribute of the first information item is the grouping information item.
In this step, if the information item is a group information item, the encoding is performed by using the above-described encoding method using the binary value.
And B3, determining whether the selection condition of each target object corresponding to the grouping information item is not selected or not under the condition that the attribute of the first information item is the member information item.
In this step, if it is a member information item, it is further determined whether the member information item is in-group or independent of out-of-group.
In detail, considering that when a user selects an independent information transmission object outside a group, no group is generally selected, it is possible to determine whether a member information item selected by the user is inside or outside the group in combination with a group selection case.
In detail, if the user does not select any group, the selection of each object (i.e., one group is one object) corresponding to the group information item is not selected, and the binary number corresponding to the group information item is 00000000. Conversely, the user may be said to select an information transfer object within the consist.
And step B4, executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the selection condition of each target object corresponding to the grouping information item is not non-selection.
In this step, if the user selects one or more groups, the above-described encoding processing method combined with binary numbers is performed for the member information item to perform transcoding.
Therefore, the embodiment can realize the accurate distinction of the information transmission objects in the group and the information transmission objects outside the group, accurately perform corresponding code conversion processing according to the information transmission objects, support the flexible control of the user on the information transmission objects in the group and the information transmission objects outside the group, and have good user experience.
Based on the foregoing, in one embodiment of the disclosure, after determining whether the selection condition of each target object corresponding to the grouping information item is not selected, the method may further include: and under the condition that the selection condition of each target object corresponding to the grouping information items is not selected, converting the numerical information corresponding to the first information item in the information set into corresponding numerical values with the set binary data format.
In this step, the user does not select any group, that is, controls the information transmission object outside the group, and therefore, the above-described encoding processing method combined with binary numbers may not be used for the transcoding. In this embodiment, for the information transmission object outside the group, a transcoding method of directly converting the information transmission object into a 16-ary number may be used.
For example, if the user designates the No. 15 unmanned aerial vehicle outside the control group, the numerical information of the number 15 can be converted into a corresponding 16-ary value.
In addition, in order to facilitate the user to control a plurality of information transmission objects outside the group at a time, in a possible implementation manner, the encoding processing can be performed on the information transmission objects outside the group by adopting the binary number combination manner. Correspondingly, the information transmission object corresponds to the information transmission object outside the group, for example, after the corresponding 16-ary value is converted into a binary value, the selection indicated by the binary value corresponds to the information transmission object outside the group.
In this implementation, taking table 1 as an example, the number of unmanned aerial vehicles, and mechanical dogs outside the group may be 1 to 8. Correspondingly, the user can control 8 unmanned aerial vehicles, 8 unmanned vehicles and 8 mechanical dogs outside the marshalling at most at a time.
In this implementation manner, since the same transcoding rule is adopted for the information transmission objects inside and outside the group, the information interaction device does not need to execute the steps B1 to B4, but directly performs transcoding processing of each second information item, and determines whether to send the numerical string to the information transmission object inside the group or send the numerical string to the information transmission object outside the group in combination with the group selection condition.
Correspondingly, the information transmission object which receives the numerical string can complete the numerical conversion of each second information item based on the transcoding rule. Then, the information transmission object can determine whether the selection condition of each member information item is aimed at the information transmission object outside the group or the information transmission object inside the group according to the selection condition of the group information item so as to ensure the accurate information interaction.
In detail, besides the information interaction device can send the numerical string to the information transmission object to achieve the control purpose, the information transmission object can also send the numerical string to the information interaction device to achieve the purposes of reply, notification and the like. Preferably, the obtaining mode of the numerical strings sent by the two can be consistent, so that the information interaction between the two can be accurately performed.
Based on this, in one embodiment of the present disclosure, the method may further include the following steps C1 to C4:
and step C1, receiving a second numerical string sent by the information transmission object.
In detail, the information transmission object may send a numerical string to the information interaction device to reply to the execution condition of the control instruction, and may actively notify the information interaction device of its own state.
Referring to table 5 below, table 5 shows the encoding scheme corresponding to the reply purpose. It can be seen that the coding scheme shown in table 5 is consistent with the implementation principle of the coding schemes shown in tables 1 to 2.
Referring to table 6 below, table 6 shows the coding scheme corresponding to the notification purpose. It can be seen that the coding scheme shown in table 6 is consistent with the implementation principle of the coding schemes shown in tables 1 to 2.
TABLE 5
TABLE 6
And C2, splitting the second numerical string according to the combination mode to obtain a splitting result.
In this step, since the same encoding processing method is adopted, the numerical string sent by the information transmission object can be split according to the above combination method, so as to obtain a corresponding splitting result. For example, the split result includes 16-ary values corresponding to the respective setting information items and the basic information items.
And C3, converting the numerical value with the set binary data format corresponding to the first information item in the splitting result into corresponding information according to a set transcoding rule corresponding to the first information item when the splitting result comprises the numerical value with the set binary data format corresponding to the first information item.
In detail, the information item corresponding to the numerical string transmitted by the information interaction device is not identical to the information item corresponding to the received numerical string. For example, table 1 and table 2 have setting information items of an execution operation, the number of operations, and an operation unit, and table 5 and table 6 do not have these setting information items and additionally include other information items such as information items corresponding to reply contents shown in table 5, and information items corresponding to notification contents shown in table 6.
Thus, in this step, for those common information items, the corresponding 16-ary numbers in the split result are converted into the corresponding information according to the set transcoding rules corresponding to the information items.
Also for those non-common information items, the corresponding 16-ary numbers in the split result can be converted into corresponding information according to the pre-stored set transcoding rules corresponding to the information items.
For example, please refer to table 6, the 16-ary numbers of the information items corresponding to the state contents: after conversion processing is performed on 0x01, corresponding information can be obtained: offline.
And step C4, performing preset processing on the converted information.
In this step, the converted information may be subjected to a preset process, for example, display, storage, or the like.
As can be seen from the above, the embodiment supports unified, accurate and rapid information interaction between two information interaction parties, and has good information interaction effect.
In summary, the information interaction manner provided in this embodiment may have at least the following characteristics:
1) The embodiment is suitable for the field of man-machine interaction, provides a set of high-reliability voice interaction coding scheme, can realize accurate correspondence between a voice recognition result and a complex unmanned equipment control instruction, and simultaneously performs reliable long-distance transmission.
2) Based on the interactive coding mode provided by the embodiment, the unmanned equipment can have good readability and high-efficiency transmission efficiency.
3) The embodiment can solve the problems of large data volume, easy loss of transmission data, inconsistent coding formats and the like of the traditional coding mode, and can be directly applied to interaction between voice instructions and unmanned equipment.
4) The embodiment provides a coding mode based on a 16-system data format, which has the characteristics of simplicity and high efficiency in coding, can effectively avoid the problem of data loss in the coding transmission process, and is more suitable for wireless long-distance transmission; meanwhile, the efficient and consistent coding scheme is very easy to expand, and can simultaneously adapt to coding requirements of various unmanned equipment.
Fig. 3 presents a flow diagram of a method of information interaction according to an embodiment. The implementation body of the present embodiment may be the electronic device 1000 shown in fig. 1.
As shown in fig. 3, the information interaction method of this embodiment may include the following steps S301 to S316:
step S301, an information set to be transmitted is acquired.
Step S302, for each first information item of the set plurality of information items, performing the following step S303, wherein the first information item is any one of the plurality of information items, and the plurality of information items includes at least one second information item for indicating the information transmission object; the at least one second information item includes a group information item and at least one member information item; the set of information transfer objects includes at least one information transfer object.
Step S303, in the case where the first information item is the second information item, determining an attribute of the first information item, and executing the following step S304 or step S305.
Step S304, in the case where the attribute of the first information item is the grouping information item, the following step S306 is performed.
In step S305, if the attribute of the first information item is the member information item, it is determined whether the selection condition of each target object corresponding to the group information item is not selected, and if the selection condition of each target object corresponding to the group information item is not selected, the following step S306 is executed.
Step S306, obtaining a selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set, where one target object includes a group of or one information transmission object, and the selection condition includes one of selection and non-selection.
Step S307, obtaining a corresponding binary value according to the selection condition of each target object corresponding to the first information item, where different bits in the binary value respectively correspond to different target objects, and the values of the bits in the binary value are matched with the selection condition of the corresponding target object.
Step S308, converting the binary value into a corresponding numerical value with a set binary data format.
Step S309, the converted values are subjected to a process of setting a calculation rule to obtain a target value as a frame check.
Step S310, combining the target value and each converted value according to a set combination mode, so as to obtain a first value string.
Step S311, determining at least one information transmission object according to the information corresponding to each of the second information items in the information set, as the information transmission object corresponding to the information set.
Step S312, transmitting the first numerical string to an information transmission object corresponding to the information set.
Step S313, receiving a second numerical string sent by the information transmission object.
And step S314, splitting the second numerical string according to the combination mode to obtain a splitting result.
Step S315, when the split result includes a value having the set binary data format corresponding to the first information item, converting the value having the set binary data format corresponding to the first information item in the split result into corresponding information according to a set transcoding rule corresponding to the first information item.
Step S316, performing a preset process on the converted information.
< device example >
Fig. 4 is a functional block diagram of an information interaction device 400 according to one embodiment. As shown in fig. 4, the information interaction device 400 may include an acquisition module 410, a first processing module 420, a second processing module 430, and an output module 440.
Wherein, the obtaining module 410 is configured to obtain an information set to be transmitted. The first processing module 420 is configured to, for each first information item of a set plurality of information items, convert information corresponding to the first information item in the information set into a corresponding value having a set binary data format according to a set transcoding rule corresponding to the first information item, where the first information item is any one of the plurality of information items. The second processing module 430 is configured to combine the converted values according to a set combination manner to obtain a first numerical string. The output module 440 is configured to send the first numerical string to an information transmission object corresponding to the information set.
The information interaction device 400 may be the electronic apparatus 1000 shown in fig. 1.
In this embodiment, an information set to be transmitted is acquired; for each first information item in the set plurality of information items, converting the information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one of the plurality of information items; combining the converted values according to a set combination mode to obtain a first value string; the first string of values is sent to an information transfer object corresponding to the information set. Therefore, in this embodiment, each item of information to be transmitted is uniformly converted into corresponding values with a set binary data format, and the values are combined into a value string and output.
In one embodiment of the disclosure, the plurality of information items includes at least one second information item for indicating the information transmission object; the information interaction device 400 further comprises a first module. The first module is configured to determine, before the output module 440 sends the first numerical string to an information transmission object corresponding to the information set, at least one information transmission object as an information transmission object corresponding to the information set according to information corresponding to each of the second information items in the information set.
In one embodiment of the present disclosure, the first processing module 420 is configured to obtain, when the first information item is the second information item, a selection condition of each target object corresponding to the first information item according to information corresponding to the first information item in the information set, where one target object includes a group of or one information transmission object, and the selection condition includes one of selection and non-selection; obtaining corresponding binary values according to the selection condition of each target object corresponding to the first information item, wherein different bits in the binary values correspond to different target objects respectively, and the values of the bits in the binary values are matched with the selection condition of the corresponding target objects; the binary values are converted into corresponding values having a set binary data format.
In one embodiment of the present disclosure, the at least one second information item includes: grouping information items and at least one member information item; wherein the set of information transfer objects comprises at least one information transfer object.
In one embodiment of the present disclosure, the first processing module 420 is configured to determine an attribute of the first information item before obtaining, according to information in the information set corresponding to the first information item, a selection condition of each target object corresponding to the first information item; executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the attribute of the first information item is the grouping information item; determining whether the selection condition of each target object corresponding to the grouping information item is not selected under the condition that the attribute of the first information item is the member information item; and executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the selection condition of each target object corresponding to the grouping information item is not all non-selected.
In one embodiment of the present disclosure, the information interaction device 400 further includes: a second module, configured to receive a second numeric string sent by the information transmission object; the third module is used for splitting the second numerical string according to the combination mode to obtain a splitting result; a fourth module, configured to, when the splitting result includes a value having the set binary data format corresponding to the first information item, convert the value having the set binary data format corresponding to the first information item in the splitting result into corresponding information according to a set transcoding rule corresponding to the first information item; and a fifth module for executing preset processing on the converted information.
In one embodiment of the present disclosure, the information interaction device 400 further includes a sixth module. The sixth module is configured to perform a process of setting a calculation rule on each value obtained by the conversion before the second processing module 430 obtains the first value string, so as to obtain a target value as a frame check; the second processing module 430 is configured to combine the target value and each converted value according to a set combination manner, so as to obtain a first value string.
Fig. 5 is a schematic diagram of a hardware structure of an information interaction device 500 according to another embodiment.
As shown in fig. 5, the information interaction device 500 includes a processor 510 and a memory 520, the memory 520 storing an executable computer program, the processor 510 being configured to perform a method according to any of the above method embodiments, according to control of the computer program.
The information interaction device 500 may be the electronic apparatus 1000 shown in fig. 1.
The modules of the information interaction device 500 may be implemented by the processor 510 executing the computer program stored in the memory 520 in this embodiment, or may be implemented by other circuit structures, which are not limited herein.
The present invention may be a system, method, and/or computer program product. The computer program product may include a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer readable program instructions, which can execute the computer readable program instructions.
Various aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (9)

1. An information interaction method, comprising:
acquiring an information set to be transmitted;
for each first information item in a set plurality of information items, converting information corresponding to the first information item in the information set into a corresponding numerical value with a set binary data format according to a set transcoding rule corresponding to the first information item, wherein the first information item is any one information item in the plurality of information items;
combining the converted values according to a set combination mode to obtain a first value string;
Transmitting the first numerical string to an information transmission object corresponding to the information set;
wherein the plurality of information items include at least one second information item for indicating the information transmission object, and the converting the information corresponding to the first information item in the information set into a corresponding value having a set binary data format according to a set transcoding rule corresponding to the first information item includes:
obtaining a selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the first information item is the second information item, wherein one target object comprises a group of or one information transmission object, and the selection condition comprises one of selection and non-selection;
obtaining corresponding binary values according to the selection condition of each target object corresponding to the first information item, wherein different bits in the binary values correspond to different target objects respectively, and the values of the bits in the binary values are matched with the selection condition of the corresponding target objects;
the binary values are converted into corresponding values having a set binary data format.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
before said transmitting said first string of values to an information transfer object corresponding to said set of information, said method further comprises:
and determining at least one information transmission object according to the information corresponding to each second information item in the information set, and taking the at least one information transmission object as the information transmission object corresponding to the information set.
3. The method of claim 1, wherein the at least one second information item comprises: grouping information items and at least one member information item;
wherein the set of information transfer objects comprises at least one information transfer object.
4. A method according to claim 3, wherein before said obtaining a selection of each target object corresponding to said first information item from said information corresponding to said first information item in said information set, said method further comprises:
determining an attribute of the first information item;
executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the attribute of the first information item is the grouping information item;
Determining whether the selection condition of each target object corresponding to the grouping information item is not selected under the condition that the attribute of the first information item is the member information item;
and executing the step of obtaining the selection condition of each target object corresponding to the first information item according to the information corresponding to the first information item in the information set under the condition that the selection condition of each target object corresponding to the grouping information item is not all non-selected.
5. The method according to claim 1, wherein the method further comprises:
receiving a second numerical string sent by the information transmission object;
splitting the second numerical string according to the combination mode to obtain a splitting result;
converting the numerical value with the set binary data format corresponding to the first information item in the split result into corresponding information according to a set transcoding rule corresponding to the first information item when the split result comprises the numerical value with the set binary data format corresponding to the first information item;
and executing preset processing on the converted information.
6. The method of claim 1, wherein prior to said deriving the first string of values, the method further comprises:
Processing the converted values to set calculation rules to obtain target values serving as frame verification;
and combining the converted values according to a set combination mode to obtain a first value string, wherein the method comprises the following steps of:
and combining the target value and each converted value according to a set combination mode to obtain a first value string.
7. An information interaction device, comprising:
the acquisition module is used for acquiring an information set to be transmitted;
the first processing module is used for converting information corresponding to the first information items in the information set into corresponding numerical values with a set system data format according to a set transcoding rule corresponding to the first information items for each first information item in the set plurality of information items, wherein the first information item is any one information item in the plurality of information items;
the second processing module is used for combining the converted numerical values according to a set combination mode to obtain a first numerical value string; the method comprises the steps of,
the output module is used for sending the first numerical string to an information transmission object corresponding to the information set;
Wherein the plurality of information items comprise at least one second information item for indicating the information transmission object, and the first processing module is configured to obtain, according to information corresponding to the first information item in the information set, a selection condition of each target object corresponding to the first information item, where one target object includes a group of or one information transmission object, and the selection condition includes one of selection and non-selection, where the first information item is the second information item; obtaining corresponding binary values according to the selection condition of each target object corresponding to the first information item, wherein different bits in the binary values correspond to different target objects respectively, and the values of the bits in the binary values are matched with the selection condition of the corresponding target objects; the binary values are converted into corresponding values having a set binary data format.
8. An information interaction device comprising a memory and a processor, the memory for storing a computer program; the processor is configured to execute the computer program to implement the method according to any one of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any of claims 1-6.
CN202111363081.8A 2021-11-17 2021-11-17 Information interaction method, device and readable storage medium Active CN114189554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111363081.8A CN114189554B (en) 2021-11-17 2021-11-17 Information interaction method, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111363081.8A CN114189554B (en) 2021-11-17 2021-11-17 Information interaction method, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN114189554A CN114189554A (en) 2022-03-15
CN114189554B true CN114189554B (en) 2023-09-15

Family

ID=80540281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111363081.8A Active CN114189554B (en) 2021-11-17 2021-11-17 Information interaction method, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN114189554B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6513002B1 (en) * 1998-02-11 2003-01-28 International Business Machines Corporation Rule-based number formatter
CN102855113A (en) * 2012-08-14 2013-01-02 深圳市文鼎创数据科技有限公司 Encoding method and device for outputting information through display screen, and terminal
CN103067162A (en) * 2012-11-15 2013-04-24 新浪技术(中国)有限公司 Method and device of data transmission
CN104580243A (en) * 2015-01-23 2015-04-29 中国兵器工业集团第五三研究所 Device and method for implementing data transmission between physical isolation networks based on hexadecimal codes
CN105263129A (en) * 2015-08-31 2016-01-20 小米科技有限责任公司 Data transmission method and device
CN107612692A (en) * 2017-09-25 2018-01-19 咪咕文化科技有限公司 A kind of information processing method, device and storage medium
CN109040011A (en) * 2018-06-14 2018-12-18 深圳市买买提信息科技有限公司 Method, apparatus, system and the terminal device of data processing
CN109582295A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 A kind of data processing method, device, storage medium and processor
CN110958024A (en) * 2019-12-13 2020-04-03 深圳市道通智能航空技术有限公司 Serial port data encoding method and device, embedded device and communication system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046670A1 (en) * 2001-06-15 2003-03-06 Marlow Mark J. Binary object system for automated data translation
US8583701B2 (en) * 2009-08-06 2013-11-12 Sap Ag Uniform data model and API for representation and processing of semantic data
US11068671B2 (en) * 2018-06-12 2021-07-20 Consortium P, Inc. Integration of disparate systems through the use of multi-UID RFiD encoding device system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6513002B1 (en) * 1998-02-11 2003-01-28 International Business Machines Corporation Rule-based number formatter
CN102855113A (en) * 2012-08-14 2013-01-02 深圳市文鼎创数据科技有限公司 Encoding method and device for outputting information through display screen, and terminal
CN103067162A (en) * 2012-11-15 2013-04-24 新浪技术(中国)有限公司 Method and device of data transmission
CN104580243A (en) * 2015-01-23 2015-04-29 中国兵器工业集团第五三研究所 Device and method for implementing data transmission between physical isolation networks based on hexadecimal codes
CN105263129A (en) * 2015-08-31 2016-01-20 小米科技有限责任公司 Data transmission method and device
CN107612692A (en) * 2017-09-25 2018-01-19 咪咕文化科技有限公司 A kind of information processing method, device and storage medium
CN109582295A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 A kind of data processing method, device, storage medium and processor
CN109040011A (en) * 2018-06-14 2018-12-18 深圳市买买提信息科技有限公司 Method, apparatus, system and the terminal device of data processing
CN110958024A (en) * 2019-12-13 2020-04-03 深圳市道通智能航空技术有限公司 Serial port data encoding method and device, embedded device and communication system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Calculation and analysis of interaction flowfield over tiltrotor aircraft in conversion mode;Li Huan等;Fourth Chinese International Turbomachinery Conference (CITC 2020);全文 *
Deep Learning-based Emotion Spatial Regression in Speech Recognition for Human-computer Interaction;Jui-Feng Yeh等;2019 IEEE 2nd International Conference on Knowledge Innovation and Invention (ICKII);全文 *
基于GSM技术的无线数据传输模块设计;董殿永;周根荣;姜平;左小峰;肖红升;;自动化与仪表(第11期);全文 *
基于单片机的高精度称重系统的研制;赵健;电子技术;全文 *
电气火灾监控报警系统管理平台开发;孙伟;万方数据知识服务平台;正文第2-5章 *
董殿永等.基于GSM技术的无线数据传输模块设计.自动化与仪表.2010,全文. *

Also Published As

Publication number Publication date
CN114189554A (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN108304846B (en) Image recognition method, device and storage medium
JP7208952B2 (en) Method and apparatus for generating interaction models
CN1790326B (en) System for synchronizing natural language input element and graphical user interface
US10755052B2 (en) Semantic disambiguation method, device, server and storage medium
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN108564944B (en) Intelligent control method, system, equipment and storage medium
CN108415939B (en) Dialog processing method, device and equipment based on artificial intelligence and computer readable storage medium
US20200260277A1 (en) Method for wireless access authentication
US10936815B2 (en) Removable spell checker device
CN111291882A (en) Model conversion method, device, equipment and computer storage medium
CN112966824A (en) Deployment method and device of inference library and electronic equipment
CN111611797A (en) Prediction data labeling method, device and equipment based on Albert model
US20230139106A1 (en) Conversion method and apparatus for deep learning model, server, and storage medium
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
CN108320740B (en) Voice recognition method and device, electronic equipment and storage medium
JP2023550211A (en) Method and apparatus for generating text
US20210165647A1 (en) System for performing automatic code correction for disparate programming languages
CN110807111A (en) Three-dimensional graph processing method and device, storage medium and electronic equipment
CN116756564A (en) Training method and using method of task solution-oriented generation type large language model
US20230108637A1 (en) Generating sorted lists of chat bot design nodes using escalation logs
CN105471998A (en) Method and device for synchronizing application data in multiple terminals
CN114189554B (en) Information interaction method, device and readable storage medium
CN107272998A (en) The control method and device of projection terminal
CN107862035A (en) Network read method, device, Intelligent flat and the storage medium of minutes
US20230140997A1 (en) Method and Apparatus for Selecting Sample Corpus Used to Optimize Translation Model

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant