CN112732606A - Information interaction method, system, equipment and computer readable storage medium - Google Patents

Information interaction method, system, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112732606A
CN112732606A CN202110019418.7A CN202110019418A CN112732606A CN 112732606 A CN112732606 A CN 112732606A CN 202110019418 A CN202110019418 A CN 202110019418A CN 112732606 A CN112732606 A CN 112732606A
Authority
CN
China
Prior art keywords
information
extended
basic
field
receiver
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.)
Withdrawn
Application number
CN202110019418.7A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110019418.7A priority Critical patent/CN112732606A/en
Publication of CN112732606A publication Critical patent/CN112732606A/en
Priority to PCT/CN2021/143271 priority patent/WO2022148302A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information interaction method, a system, equipment and a computer readable storage medium, which are applied to an information sender to obtain target information to be sent; determining basic information and extended information in the target information; packaging the basic information according to a preset basic information structure body to obtain a basic information field; packaging the extended information according to a preset extended information structure body to obtain an extended information field; sending the basic information field and the extended information field to an information receiver; the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance. In the application, the information sending party sends the basic information and the extended information to the information receiving party through the data structure body, so that the information receiving party can process the basic information and the extended information independently, the information interaction mode is flexible, information extension is convenient, and the applicability is good.

Description

Information interaction method, system, equipment and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information interaction method, system, device, and computer-readable storage medium.
Background
Currently, in the process of information interaction between an information sender and an information receiver, due to the version difference between the information sender and the information receiver, new data may not be transmitted between the information sender and the information receiver, and at this time, the information sender needs to perform data expansion with the information receiver. For example, data expansion is performed by expanding a data structure, that is, a data structure for interaction between an information sending party and an information receiving party is defined, and when a new demand is added by one party, corresponding data expansion is performed at the end of the structure. The method is easy to realize the overall processing of data between the information sender and the information receiver, but the method is lack of flexibility and expansibility and has poor applicability.
In summary, how to improve the applicability of information interaction is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide an information interaction method which can solve the technical problem of improving the applicability of information interaction to a certain extent. The application also provides an information interaction system, equipment and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
an information interaction method is applied to an information sender and comprises the following steps:
acquiring target information to be sent;
determining basic information and extended information in the target information;
packaging the basic information according to a preset basic information structure body to obtain a basic information field;
packaging the extended information according to a preset extended information structure body to obtain an extended information field;
sending the basic information field and the extended information field to an information receiver;
the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
Preferably, after the sending the basic information field and the extended information field to the information receiving party, the method further includes:
receiving expanded information field response information sent by the information receiver;
analyzing the expanded information field response information;
if the expanded information field response information indicates that the information receiver has the interactive function of the expanded information, marking the expanded information as the basic information;
and if the expanded information field response information indicates that the information receiver does not have the interactive function of the expanded information, the expanded information is forbidden to be sent to the information receiver.
Preferably, after the marking the extended information as the basic information, the method further includes:
and adding structure information of the extended information to the basic information structure.
Preferably, the adding of the structure information of the extension information to the basic information structure includes:
receiving an information adding response result sent by the information receiver;
if the addition information response result represents that addition information is agreed, adding structure information of the extended information in the basic information structure according to the addition information;
wherein the additional information includes additional information of structure information in which the extended information is added to the basic information structure.
Preferably, the extended information structure includes structure information of the additional information;
the method for encapsulating the extended information according to the preset extended information structure body to obtain the extended information field comprises the following steps:
determining the added information of the structure information to which the extended information is added in the basic information structure;
and according to the extended information structure, packaging the extended information and the added information to obtain an extended information field.
Preferably, the additional information includes offset information of the extended information in the basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information, and an identifier for transmitting the extended information.
An information interaction method is applied to an information receiver and comprises the following steps:
receiving a basic information field and an expanded information field sent by an information sender;
according to a preset basic information structure, deblocking the basic information field to obtain basic information;
according to a preset extended information structure body, decapsulating the extended information field to obtain extended information;
judging whether the mobile terminal has the interaction function of the expansion information, if so, interacting the basic information and the expansion information with the information sender; if not, interacting the basic information with the information sender;
the information sender acquires target information to be sent; determining the basic information and the extended information in the target information; packaging the basic information according to the basic information structure body to obtain the basic information field; packaging the extended information according to the extended information structure body to obtain the extended information field; the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
An information interaction system applied to an information sender comprises:
the first acquisition module is used for acquiring target information to be sent;
the first determining module is used for determining basic information and extended information in the target information;
the first packaging module is used for packaging the basic information according to a preset basic information structure body to obtain a basic information field;
the second packaging module is used for packaging the extended information according to a preset extended information structure body to obtain an extended information field;
the first sending module is used for sending the basic information field and the extended information field to an information receiving party;
the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
An information interaction device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the information interaction method as described above when executing the computer program.
A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the information interaction method as set forth in any one of the preceding claims.
The application provides an information interaction method, which is applied to an information sender and used for obtaining target information to be sent; determining basic information and extended information in the target information; packaging the basic information according to a preset basic information structure body to obtain a basic information field; packaging the extended information according to a preset extended information structure body to obtain an extended information field; sending the basic information field and the extended information field to an information receiver; the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance. In the application, the information sending party sends the basic information and the extended information to the information receiving party through the data structure body, so that the information receiving party can process the basic information and the extended information independently, the information interaction mode is flexible, information extension is convenient, and the applicability is good. The information interaction system, the information interaction equipment and the computer readable storage medium solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of an information interaction method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an information interaction system according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an information interaction device according to an embodiment of the present application;
fig. 4 is another schematic structural diagram of an information interaction device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of an information interaction method according to an embodiment of the present disclosure.
The information interaction method provided by the embodiment of the application is applied to an information sender, and can comprise the following steps:
step S101: and acquiring target information to be sent.
In practical application, an information sender may obtain target information to be sent first, where the target information may be information generated by the information sender under external triggering, or information directly received by the information sender, and the like, and the application is not limited in this respect. And the type of the target information and the like can also be determined according to actual needs.
Step S102: determining basic information and extended information in the target information; the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance.
In practical applications, basic information and extended information may exist in target information sent by an information sender to an information receiver, the basic information is interaction information agreed by the information sender and the information receiver in advance, and the extended information is interaction information not agreed by the information sender and the information receiver in advance, so that the information receiver can interact the basic information without interacting the extended information, and therefore the basic information and the extended information need to be determined in the target information so as to perform corresponding processing on the basic information and the extended information subsequently.
Step S103: and packaging the basic information according to a preset basic information structure body to obtain a basic information field.
In practical application, the basic information structure bodies can be preset by the information sending party and the information receiving party so as to interact the basic information according to the basic information structure bodies, that is, the information sending party can package the basic information according to the preset basic information structure bodies to obtain the basic information fields.
In a specific application scenario, in order to manage basic information, a corresponding basic information structure may be set according to the type of information.
Step S104: and packaging the extended information according to a preset extended information structure body to obtain an extended information field.
In practical applications, although the information sending party does not know whether the information receiving party can exchange the extended information with itself, the information sending party needs to send the extended information to the information receiving party so that the information receiving party can process the extended information, so the information sending party and the information receiving party need to set an extended information structure for transmitting the extended information in advance, and correspondingly, the information sending party can package the extended information according to the preset extended information structure to obtain the extended information field.
Step S105: and sending the basic information field and the extended information field to an information receiver.
In practical application, after obtaining the basic information field and the extended information field, the information sender can send the basic information field and the extended information field to the information receiver, so that the information receiver can perform information interaction with the information sender according to the basic information field and the extended information field. In a specific application scenario, after the information receiver obtains the basic information field and the extended information field, the basic information field can be unpacked according to a preset basic information structure body to obtain basic information; unpacking the extended information field according to a preset extended information structure body to obtain extended information; judging whether the mobile terminal has the interactive function of the expansion information, if so, interacting basic information and the expansion information with an information sender; if not, only exchanging basic information with the information sender. Therefore, the information interaction function can be expanded on the basis of not influencing the basic information interaction between the information sender and the information receiver.
The application provides an information interaction method, which is applied to an information sender and used for obtaining target information to be sent; determining basic information and extended information in the target information; packaging the basic information according to a preset basic information structure body to obtain a basic information field; packaging the extended information according to a preset extended information structure body to obtain an extended information field; sending the basic information field and the extended information field to an information receiver; the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance. In the application, the information sending party sends the basic information and the extended information to the information receiving party through the data structure body, so that the information receiving party can process the basic information and the extended information independently, the information interaction mode is flexible, information extension is convenient, and the applicability is good.
In the information interaction method provided by the embodiment of the application, after the information sending party sends the basic information field and the extended information field to the information receiving party, the information sending party can also receive the extended information field response information sent by the information receiving party; analyzing the expanded information field response information; if the expansion information field response information representation information receiver has the interaction function of the expansion information, marking the expansion information as basic information; and if the expanded information field response information representation information receiver does not have the interactive function of the expanded information, forbidding to send the expanded information to the information receiver.
That is, in practical application, after obtaining the basic information and the extended information, the information receiver can generate corresponding extended information field response information according to whether the information receiver has the extended information interaction function and send the corresponding extended information field response information to the information sender; correspondingly, the information sender needs to analyze the expanded information field response information, if the expanded information field response information representation information receiver has the interactive function of the expanded information, the expanded information is marked as basic information, and if the expanded information field response information representation information receiver does not have the interactive function of the expanded information, the expanded information is forbidden to be sent to the information receiver, so that the information sender and the information receiver are prevented from repeatedly sending the expanded information.
In practical application, after the information sender marks the extended information as basic information, the structure information of the extended information can be added into the basic information structure, so that the basic information structure can be directly applied to exchange the extended information with the information receiver. Specifically, the information sender may agree with the information receiver to expand the added information of the information in the basic information structure, for example, the information sender may determine the added information, send the added information to the information receiver, and receive an added information response result sent by the information receiver; if the adding information response result represents that the adding information is approved, adding structure information of the extended information in the basic information structure according to the adding information; the added information includes added information of structure information in which extended information is added to the basic information structure.
In a specific application scenario, in order to avoid sending information to an information receiver for multiple times by an information sender, structure information for adding information can be set in an extended information structure, and correspondingly, in the process of encapsulating extended information according to a preset extended information structure by the information sender to obtain an extended information field, the added information of the structure information for adding the extended information in a basic information structure can be determined; and packaging the extended information and the added information according to the extended information structure body to obtain an extended information field. In the process, after the information receiving party judges that the information receiving party has the expanded information interaction function, the expanded information can be marked as basic information, a corresponding structure body of the expanded information is added in the basic information structure body according to the added information, and then the expanded information can be interacted with the information sending party according to the basic information structure body.
In a specific application scenario, the additional information may include offset information of the extended information in the basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information, a flag for sending the extended information, and the like.
For convenience of understanding, an information interaction process between a BMC (baseboard management controller) and a BIOS (Basic Input Output System) is taken as an example to describe the information interaction method provided by the present application:
the BIOS classifies asset information that needs to be interacted, such as CPU (Central Processing Unit) asset information, PCIE (peripheral component interface express, high speed serial computer extended bus standard) asset information, memory asset information, onboard hard disk asset information, BIOS/ME version information, TPM (Total produced Maintenance) asset information, and the like;
for each type of asset information, the BIOS and the BMC define a basic information structure matched with the type, taking PCIE asset information as an example, the basic information structure may include a device type, an on-board screen, a bus number, a dev number, a func number, and the like of PCIE devices, and the basic information structure may be as follows:
typedef struct
{
UINT8 ucIndex;
UINT8 ucSlot;
UINT16 ucVendorID;
UINT16 ucDeviceID;
UINT8 ucBusNo;
UINT8 ucDevNo;
UINT8 ucFuncNo;
}PCIE_BASE_DATA;
the BIOS and the BMC define an extended information structure, and the definition of the extended information structure can be as follows:
Typedef struct
{
BOOL blinUsed; indicating whether the extended information is in use
UINT16 uwOffset; v/offset indicating expansion of the extended information into the basic information structure
UINT8 ucNetFn; /netfn when the extended information is transmitted
UINT8 ucSetCmd; // configuring the command word required for the extended information
UINT8 ucGetCmd; command word required to obtain the extended information
}PCIE_EXTEND_DATA;
The general structure of information interaction between the BIOS and the BMC may be as follows:
typedef struct
{
PCIE_BASE_DATA stPCIEBaseData;
PCIE_EXTEND_DATA stPCIEExxtendData[20]
}PCIE_DATA;
the BIOS processes the PCIE _ BASE _ DATA according to the basic information; if the extended information needs to be sent to the BMC, PCIE _ extension _ DATA is processed according to the extended information, for example, a subpadeviceid field is extended behind ucDeviceID, and occupies 2 bytes, then in an array element defined by PCIE _ extension _ DATA, bliused is TRUE, ucNetFn, ucSetCmd, and ucGetCmd are netfn and command words required for querying the field and configuring the field;
the BIOS sends the PCIE _ BASE _ DATA and the PCIE _ EXTEND _ DATA to the BMC;
the BMC analyzes the basic information according to the structure of the PCIE _ DATA, and when the PCIE _ EXTEND _ DATA is judged to have the extended information and has the extended information interaction function, the extended information is filled to the position appointed by the PCIE _ BASE _ DATA according to the offset, and a new basic information structure body after the extended is constructed.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an information interaction system according to an embodiment of the present application.
The information interaction system provided by the embodiment of the application is applied to an information sender, and may include:
a first obtaining module 101, configured to obtain target information to be sent;
a first determining module 102, configured to determine basic information and extended information in the target information;
the first encapsulation module 103 is configured to encapsulate basic information according to a preset basic information structure to obtain a basic information field;
the second packaging module 104 is configured to package the extended information according to a preset extended information structure to obtain an extended information field;
a first sending module 105, configured to send the basic information field and the extended information field to an information receiving party;
the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance.
The information interaction system provided by the embodiment of the application is applied to an information sender, and may further include:
the first receiving module is used for receiving the expanded information field response information sent by the information receiver after the first sending module sends the basic information field and the expanded information field to the information receiver;
the first analysis module is used for analyzing the expanded information field response information; if the expansion information field response information representation information receiver has the interaction function of the expansion information, marking the expansion information as basic information; and if the expanded information field response information representation information receiver does not have the interactive function of the expanded information, forbidding to send the expanded information to the information receiver.
The information interaction system provided by the embodiment of the application is applied to an information sender, and may further include:
and the first adding module is used for adding the structure body information of the extended information into the basic information structure body after the extended information is marked as the basic information by the first analyzing module.
The information interaction system provided by the embodiment of the application is applied to an information sender, and the first adding module may include:
the first receiving unit is used for receiving an added information response result sent by the information receiving party; if the adding information response result represents that the adding information is approved, adding structure information of the extended information in the basic information structure according to the adding information; the added information includes added information of structure information in which extended information is added to the basic information structure.
The information interaction system provided by the embodiment of the application is applied to an information sender, and the expanded information structure body can comprise structure body information of added information;
the second package module may include:
a first determination unit configured to determine addition information of structure information to which the extended information is added in the basic information structure;
and the first packaging unit is used for packaging the extended information and the added information according to the extended information structure body to obtain an extended information field.
The information interaction system provided by the embodiment of the application is applied to an information sending party, and the added information comprises offset information of the extended information in a basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information and an identifier for sending the extended information.
The information interaction system provided by the embodiment of the application is applied to an information receiver and can comprise:
the second receiving module is used for receiving the basic information field and the extended information field sent by the information sending party;
the first deblocking module is used for deblocking the basic information field according to a preset basic information structure body to obtain basic information;
the second deblocking module is used for deblocking the extended information field according to a preset extended information structure body to obtain extended information;
the first judging module is used for judging whether the first judging module has the interaction function of the expansion information, and if so, the first judging module interacts the basic information and the expansion information with the information sender; if not, the basic information is interacted with the information sender.
The application also provides information interaction equipment and a computer readable storage medium, which have corresponding effects of the information interaction method provided by the embodiment of the application. Referring to fig. 3, fig. 3 is a schematic structural diagram of an information interaction device according to an embodiment of the present disclosure.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program:
acquiring target information to be sent;
determining basic information and extended information in the target information;
packaging the basic information according to a preset basic information structure body to obtain a basic information field;
packaging the extended information according to a preset extended information structure body to obtain an extended information field;
sending the basic information field and the extended information field to an information receiver;
the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after the basic information field and the extended information field are sent to an information receiver, receiving extended information field response information sent by the information receiver; analyzing the expanded information field response information; if the expansion information field response information representation information receiver has the interaction function of the expansion information, marking the expansion information as basic information; and if the expanded information field response information representation information receiver does not have the interactive function of the expanded information, forbidding to send the expanded information to the information receiver.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: after the extended information is marked as basic information, structure information of the extended information is added to the basic information structure.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: receiving an added information response result sent by an information receiver; if the adding information response result represents that the adding information is approved, adding structure information of the extended information in the basic information structure according to the adding information; the added information includes added information of structure information in which extended information is added to the basic information structure.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: the extended information structure includes structure information of the added information; determining added information of structure information in which extended information is added to the basic information structure; and packaging the extended information and the added information according to the extended information structure body to obtain an extended information field.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: the added information comprises offset information of the extended information in the basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information and an identifier for sending the extended information.
The information interaction device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 implements the following steps when executing the computer program: receiving a basic information field and an expanded information field sent by an information sender; according to a preset basic information structure, deblocking the basic information field to obtain basic information; unpacking the extended information field according to a preset extended information structure body to obtain extended information; judging whether the mobile terminal has the interactive function of the expansion information, if so, interacting basic information and the expansion information with an information sender; if not, the basic information is interacted with the information sender.
Referring to fig. 4, another information interaction device provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the information interaction device and the outside world. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
acquiring target information to be sent;
determining basic information and extended information in the target information;
packaging the basic information according to a preset basic information structure body to obtain a basic information field;
packaging the extended information according to a preset extended information structure body to obtain an extended information field;
sending the basic information field and the extended information field to an information receiver;
the basic information comprises interactive information agreed in advance by an information sender and an information receiver; the extended information includes interactive information which is not agreed by the information sender and the information receiver in advance.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: after the basic information field and the extended information field are sent to an information receiver, receiving extended information field response information sent by the information receiver; analyzing the expanded information field response information; if the expansion information field response information representation information receiver has the interaction function of the expansion information, marking the expansion information as basic information; and if the expanded information field response information representation information receiver does not have the interactive function of the expanded information, forbidding to send the expanded information to the information receiver.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: after the extended information is marked as basic information, structure information of the extended information is added to the basic information structure.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: receiving an added information response result sent by an information receiver; if the adding information response result represents that the adding information is approved, adding structure information of the extended information in the basic information structure according to the adding information; the added information includes added information of structure information in which extended information is added to the basic information structure.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: the extended information structure includes structure information of the added information; determining added information of structure information in which extended information is added to the basic information structure; and packaging the extended information and the added information according to the extended information structure body to obtain an extended information field.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: the added information comprises offset information of the extended information in the basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information and an identifier for sending the extended information.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: receiving a basic information field and an expanded information field sent by an information sender; according to a preset basic information structure, deblocking the basic information field to obtain basic information; unpacking the extended information field according to a preset extended information structure body to obtain extended information; judging whether the mobile terminal has the interactive function of the expansion information, if so, interacting basic information and the expansion information with an information sender; if not, the basic information is interacted with the information sender.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in the information interaction system, the information interaction device, and the computer-readable storage medium provided in the embodiments of the present application, reference is made to detailed descriptions of a corresponding part in the information interaction method provided in the embodiments of the present application, and details are not repeated here. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An information interaction method is applied to an information sender, and comprises the following steps:
acquiring target information to be sent;
determining basic information and extended information in the target information;
packaging the basic information according to a preset basic information structure body to obtain a basic information field;
packaging the extended information according to a preset extended information structure body to obtain an extended information field;
sending the basic information field and the extended information field to an information receiver;
the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
2. The method of claim 1, wherein after sending the basic information field and the extended information field to an information receiver, further comprising:
receiving expanded information field response information sent by the information receiver;
analyzing the expanded information field response information;
if the expanded information field response information indicates that the information receiver has the interactive function of the expanded information, marking the expanded information as the basic information;
and if the expanded information field response information indicates that the information receiver does not have the interactive function of the expanded information, the expanded information is forbidden to be sent to the information receiver.
3. The method of claim 2, wherein after marking the extended information as the base information, further comprising:
and adding structure information of the extended information to the basic information structure.
4. The method according to claim 3, wherein the adding of the structure information of the extended information to the basic information structure includes:
receiving an information adding response result sent by the information receiver;
if the addition information response result represents that addition information is agreed, adding structure information of the extended information in the basic information structure according to the addition information;
wherein the additional information includes additional information of structure information in which the extended information is added to the basic information structure.
5. The method according to claim 4, wherein the augmented information structure includes structure information of the added information;
the method for encapsulating the extended information according to the preset extended information structure body to obtain the extended information field comprises the following steps:
determining the added information of the structure information to which the extended information is added in the basic information structure;
and according to the extended information structure, packaging the extended information and the added information to obtain an extended information field.
6. The method according to claim 4, wherein the additional information comprises offset information of the extended information in the basic information structure, a command word for configuring the extended information, a command word for acquiring the extended information, and an identifier for transmitting the extended information.
7. An information interaction method is applied to an information receiver and comprises the following steps:
receiving a basic information field and an expanded information field sent by an information sender;
according to a preset basic information structure, deblocking the basic information field to obtain basic information;
according to a preset extended information structure body, decapsulating the extended information field to obtain extended information;
judging whether the mobile terminal has the interaction function of the expansion information, if so, interacting the basic information and the expansion information with the information sender; if not, interacting the basic information with the information sender;
the information sender acquires target information to be sent; determining the basic information and the extended information in the target information; packaging the basic information according to the basic information structure body to obtain the basic information field; packaging the extended information according to the extended information structure body to obtain the extended information field; the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
8. An information interaction system, applied to an information sender, includes:
the first acquisition module is used for acquiring target information to be sent;
the first determining module is used for determining basic information and extended information in the target information;
the first packaging module is used for packaging the basic information according to a preset basic information structure body to obtain a basic information field;
the second packaging module is used for packaging the extended information according to a preset extended information structure body to obtain an extended information field;
the first sending module is used for sending the basic information field and the extended information field to an information receiving party;
the basic information comprises interactive information agreed in advance by the information sender and the information receiver; the extended information includes interactive information that the information sender has not agreed with the information receiver in advance.
9. An information interaction device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the information interaction method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the information interaction method according to any one of claims 1 to 7.
CN202110019418.7A 2021-01-07 2021-01-07 Information interaction method, system, equipment and computer readable storage medium Withdrawn CN112732606A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110019418.7A CN112732606A (en) 2021-01-07 2021-01-07 Information interaction method, system, equipment and computer readable storage medium
PCT/CN2021/143271 WO2022148302A1 (en) 2021-01-07 2021-12-30 Information exchange method, system and device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110019418.7A CN112732606A (en) 2021-01-07 2021-01-07 Information interaction method, system, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112732606A true CN112732606A (en) 2021-04-30

Family

ID=75589607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110019418.7A Withdrawn CN112732606A (en) 2021-01-07 2021-01-07 Information interaction method, system, equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112732606A (en)
WO (1) WO2022148302A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022148302A1 (en) * 2021-01-07 2022-07-14 苏州浪潮智能科技有限公司 Information exchange method, system and device, and computer-readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6345288B1 (en) * 1989-08-31 2002-02-05 Onename Corporation Computer-based communication system and method using metadata defining a control-structure
CN101686445A (en) * 2008-09-23 2010-03-31 上海粱江通信系统有限公司 Method for acquiring short messages and inserting additional information on communication network
CN102104846A (en) * 2010-09-30 2011-06-22 上海粱江通信系统股份有限公司 Method for acquiring short message and interposing sender identity information on communication network
CN102739723A (en) * 2011-04-16 2012-10-17 镇江佳得信息技术有限公司 Method and system for rapidly exchanging electronic business cards
CN110489438A (en) * 2019-08-27 2019-11-22 奇安信科技集团股份有限公司 A kind of customer action information processing method and device
CN111510720A (en) * 2020-04-24 2020-08-07 深圳市即构科技有限公司 Real-time streaming media data transmission method, electronic device and server
CN112732606A (en) * 2021-01-07 2021-04-30 苏州浪潮智能科技有限公司 Information interaction method, system, equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022148302A1 (en) * 2021-01-07 2022-07-14 苏州浪潮智能科技有限公司 Information exchange method, system and device, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2022148302A1 (en) 2022-07-14

Similar Documents

Publication Publication Date Title
WO2021023093A1 (en) Sensing method and communication apparatus
US9009373B2 (en) Method for implementing audio transmission and mobile terminal
US11972247B2 (en) Software upgrading method, apparatus, and system
CN111464419B (en) Data transmission control method based on bus network communication
CN108063775B (en) Communication protocol compatible method, device and system
US9491166B2 (en) Apparatus and method for authenticating smart card
CN103957198A (en) Sensor data receiving and converting method and system
CN112422485B (en) Communication method and device of transmission control protocol
US9628149B2 (en) Emulation of multiple NFC devices inside a communication device
CN112732606A (en) Information interaction method, system, equipment and computer readable storage medium
WO2020097919A1 (en) Power backoff method, terminal device and storage medium
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN111405534B (en) Information transmission method, first terminal and computer storage medium
CN109286689B (en) Information sending method and device and vehicle-mounted man-vehicle interaction terminal
US10420058B2 (en) Data-driven sensor configuration and information processing
CN111371799B (en) Method, device and equipment for controlling data receiving and transmitting of MCTP (Multi-channel media Port) controller
EP3955524A1 (en) Method for managing remote storage device by means of management device
CN108928213B (en) Parameter configuration method of control panel, control panel and controlled equipment
CN113765761B (en) Data transmission method, device, equipment, system and storage medium
CN117032040B (en) Sensor data acquisition method, device, equipment and readable storage medium
KR101593840B1 (en) Method and apparatus for transmitting can frame
CN115865944B (en) Method, system, device, equipment and storage medium for point-to-point communication between equipment
CN116684506B (en) Data processing method, system, electronic device and computer readable storage medium
WO2022062857A1 (en) Resource request method, resource configuration method, and related product
CN110147344B (en) Method, apparatus, storage medium, and system for communicating between multiple physical machines

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210430