CN106095713B - Message communication method and device - Google Patents

Message communication method and device Download PDF

Info

Publication number
CN106095713B
CN106095713B CN201610393858.8A CN201610393858A CN106095713B CN 106095713 B CN106095713 B CN 106095713B CN 201610393858 A CN201610393858 A CN 201610393858A CN 106095713 B CN106095713 B CN 106095713B
Authority
CN
China
Prior art keywords
command
privately owned
terminal
mark
token
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
CN201610393858.8A
Other languages
Chinese (zh)
Other versions
CN106095713A (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.)
Shenzhen SiliconGo Semiconductor Co., Ltd.
Original Assignee
SiliconGo Microelectronics 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 SiliconGo Microelectronics Co Ltd filed Critical SiliconGo Microelectronics Co Ltd
Priority to CN201610393858.8A priority Critical patent/CN106095713B/en
Publication of CN106095713A publication Critical patent/CN106095713A/en
Application granted granted Critical
Publication of CN106095713B publication Critical patent/CN106095713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • 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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C

Abstract

The invention discloses a kind of message communication method, the message communication method includes: first terminal when receiving the command message of second terminal transmission, and command token mark is extracted in the heading of the command message;The first terminal determines the type for the command token mark extracted;When the type of command token mark is that privately owned command token identifies, the first terminal is based on the privately owned command token mark and obtains reply data;The first terminal generates response message according to the reply data of extraction, and the response message is fed back to the second terminal.Invention also discloses a kind of message communication device.The present invention improves the accuracy of message communication.

Description

Message communication method and device
Technical field
The present invention relates to field of communication technology more particularly to a kind of message communication method and devices.
Background technique
Currently, SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) agreement It does not provide one and facilitates the customized command interface of developer, be used for transmit self-defining data, i.e., privately owned order data, So at present in the development process of SATA interface solid state hard disk, carry out that " second communication is opened commonly using the publicly-owned order of SATA Hair ", that is, privately owned order is added in the command message of publicly-owned order, then host will be added to the order report of privately owned order Text is transmitted to slave, since privately owned order is to be added to identifier in this data packet in the data packet for be stored in order or test Code is demonstrate,proved, privately owned order is considered if finding this identifier or identifying code, but during actual publicly-owned command operation, it is public There is the mark of the data packet of order just completely the same with the mark of the data packet of privately owned order, it will be publicly-owned order as private There is order to handle, leads to the data (typically logical data) for being lost publicly-owned order, and application is using a variety of at present Means occur the probability of such case to reduce, for example are judged using the correlation of Address family, but be also only reduction of This probability cannot be accomplished to eliminate, and this mode is very cumbersome.Obviously, this message communication mode, can nearly all exist The case where logical data and privately owned order are judged by accident, causes the accuracy of message communication to reduce.
Summary of the invention
It is a primary object of the present invention to propose a kind of message communication method and device, it is intended to solve traditional message communication Mode, the lower technical problem of accuracy.
To achieve the above object, a kind of message communication method provided by the invention, the message communication method include:
First terminal extracts in the heading of the command message when receiving the command message of second terminal transmission Command token identifies out;
The first terminal determines the type for the command token mark extracted;
When the type of command token mark is that privately owned command token identifies, the first terminal is based on described privately owned Command token mark obtains reply data;
The first terminal generates response message according to the reply data of extraction, and the response message is fed back to The second terminal.
Preferably, the first terminal was based on before the step of privately owned command token mark obtains reply data, institute State message communication method further include:
The first terminal determines current state;
When the current state is idle state, executes the first terminal and obtained based on the privately owned command token mark The step of taking reply data;
When the current state is busy state, the first terminal is fed back to the second terminal waits message, and When the current state is switched to idle state from busy state, executes the first terminal and be based on the privately owned command token Mark obtains the step of reply data.
Preferably, when the type in command token mark is that privately owned command token identifies, the first terminal Include: based on the step of privately owned command token mark acquisition reply data
When the type of command token mark is that privately owned command token identifies, the first terminal is by the privately owned life Token identifications are enabled to be compared with the privately owned command token mark prestored;
When there is the privately owned command token prestored mark to match with the privately owned command token mark, the first terminal is obtained The privately owned command token is taken to identify corresponding reply data.
In addition, to achieve the above object, the present invention also proposes that a kind of message communication method, the message communication method include Following steps:
When receiving command message communication instruction, second terminal determines the corresponding order of the command message communication instruction Type;
When the command type is privately owned order, the second terminal obtains the corresponding privately owned order of the privately owned order Token identifications, and the privately owned command token mark that will acquire is added in the heading of command message;
Command message added with the privately owned command token mark is sent in first terminal by the second terminal, with Privately owned command token mark is extracted in the heading of the command message for the first terminal, and according to the privately owned life The corresponding reply data of token identifications is enabled to generate response message, to feed back the response message for being added with reply data.
Preferably, described when receiving command message communication instruction, second terminal determines that the command message communication refers to Before the step of enabling corresponding command type, the message communication method further include:
When receiving the privately owned command property field of input in preset application programming interfaces, the second terminal according to The privately owned command property field generates privately owned command token mark;
The privately owned command token mark that the second terminal storage generates.
In addition, to achieve the above object, the present invention also proposes a kind of message communication device, the message communication device packet It includes:
Extraction module, for receive second terminal transmission command message when, in the heading of the command message In extract command token mark;
First determining module, for determining the type of the command token extracted mark;
Module is obtained, when the type for identifying in the command token is that privately owned command token identifies, is based on the private There is command token mark to obtain reply data;
Feedback module feeds back the response message for generating response message according to the reply data of extraction To the second terminal.
Preferably, first determining module is also used to determine current state;
The acquisition module is also used to be based on the privately owned command token mark when the current state is idle state Know and obtains reply data;
The feedback module is also used to when the current state is busy state, and Xiang Suoshu second terminal feedback waits Message;
The acquisition module is also used to when the current state is switched to idle state from busy state, based on described Privately owned command token mark obtains reply data.
Preferably, the acquisition module includes:
Comparing unit will be described privately owned when the type for identifying in the command token is that privately owned command token identifies Command token is identified to be compared with the privately owned command token mark prestored;
Acquiring unit, for when thering is the privately owned command token prestored mark to identify with the privately owned command token to match, It obtains the privately owned command token and identifies corresponding reply data.
In addition, to achieve the above object, the present invention also proposes a kind of message communication device, the message communication device packet It includes:
Second determining module, for when receiving command message communication instruction, determining the command message communication instruction Corresponding command type;
Processing module, for when the command type is privately owned order, obtaining the corresponding privately owned life of the privately owned order Token identifications are enabled, and the privately owned command token mark that will acquire is added in the heading of command message;
Sending module, for the command message for being added with the privately owned command token mark to be sent in first terminal, So that the first terminal extracts privately owned command token mark in the heading of the command message, and according to described privately owned Command token identifies corresponding reply data and generates response message, to feed back the response message for being added with reply data.
Preferably, the message communication device further include:
Generation module, when for receiving the privately owned command property field of input in preset application programming interfaces, root Privately owned command token mark is generated according to the privately owned command property field;
Memory module, for storing the privately owned command token mark generated.
Message communication method and device proposed by the present invention, first terminal is in the command message for receiving second terminal transmission When, command token mark is first extracted in the heading of the command message, then determines the command token mark extracted The type of knowledge is based on the privately owned command token mark when the type of command token mark is that privately owned command token identifies Know and obtain reply data, response message is finally generated according to the reply data of acquisition, the response message is fed back to The second terminal, rather than when getting the command message of second terminal transmission, if being resolved to mark first data field When knowing symbol and identifying code, be considered as command message carrying is all privately owned order, if not parsing first data field When to identifier and identifying code, it is believed that the command message carried is all logical data, so that slave leads to the response report of feedback Text is wrong, and the present invention extracts command token mark in the heading of the command message, and identifies to the command token It is parsed, to determine the type of command token mark, finally feeds back corresponding response message, avoid privately owned order and logic The erroneous judgement of data, to improve the accuracy of message communication.
Detailed description of the invention
Fig. 1 is the flow diagram of message communication method first embodiment of the present invention;
Fig. 2 is the preferable schematic diagram of a scenario that second terminal of the present invention and first terminal carry out message communication;
Fig. 3 is that first terminal of the present invention is based on the privately owned command token mark acquisition reply data preferred embodiment Flow diagram;
Fig. 4 is the schematic diagram of the first default look-up table of the invention;
Fig. 5 is the flow diagram of message communication method second embodiment of the present invention;
Fig. 6 is the schematic diagram of token template of the present invention;
Fig. 7 is the functional block diagram of message communication device first embodiment of the present invention;
Fig. 8 is the refinement the functional block diagram that module is obtained in Fig. 7;
Fig. 9 is the functional block diagram of message communication device second embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The main solution technical solution of the embodiment of the present invention are as follows: one kind is capable of the transmission association of the customized privately owned order of SATA View, to provide privately owned communication interface for any product using SATA interface, can reduce by this kind of mode is made at present The difficulty of " privately owned communication interface " exploitation on the basis of publicly-owned order, and the probability of miscarriage of justice of privately owned order communication from original It is reduced to 0 in reason, improves the accuracy of protocol communication.
Existing communication protocol mode, is easy to appear the erroneous judgement of logical data and privately owned order, to reduce this erroneous judgement, It needs to increase in first terminal control and the judgment mechanism of more some complexity, therefore will increase certain maintenance cost.
Based on the above issues, the present invention provides a kind of message communication method.
Referring to Fig.1, Fig. 1 is the flow diagram of message communication method first embodiment of the present invention.
The present embodiment proposes that a kind of message communication method, the message communication method include:
Step S10, first terminal is when receiving the command message of second terminal transmission, in the message of the command message Command token mark is extracted in head;
Step S20, the first terminal determine the type for the command token mark extracted;
In the present embodiment, first terminal is first reported in the order when receiving the command message of second terminal transmission Command token mark is extracted in the heading of text, then the command token mark of extraction is analyzed, to determine The type for stating command token mark carries out really specifically according to the type of the command property field in command token mark It is fixed, when the type of command property field is privately owned command property field, it may be determined that the command token is identified as privately owned order Token identifications.
Step S30, when the type of command token mark is that privately owned command token identifies, the first terminal is based on The privately owned command token mark obtains reply data;
Step S40, the first terminal generates response message according to the reply data of extraction, by the response report Text feeds back to the second terminal.
Further, the first terminal is extracted in the first default look-up table based on the privately owned command token mark and is answered Answer according to the step of before, the message communication method further include:
The first terminal determines current state;
When the current state is idle state, executes the first terminal and obtained based on the privately owned command token mark The step of taking reply data;
When the current state is busy state, the first terminal is fed back to the second terminal waits message, and When the current state is switched to idle state from busy state, executes the first terminal and be based on the privately owned command token Mark obtains the step of reply data.
In the present embodiment, when the type of command token mark is that privately owned command token identifies, described first eventually End further determines that the privately owned command token identifies corresponding order, wherein the privately owned command token identifies corresponding life Order has a write order or read command etc., in the present embodiment, when the corresponding order of the privately owned command token mark is read command, The first terminal first combines current state, if the first terminal is currently at idle state, can respond described at once The privately owned order of two terminals then obtains reply data according to the read command, in the present embodiment, is preferably existed according to the read command The reply data that obtains reply data in first default look-up table, and will acquire is added to the heading of the response message In, the response message for being added with the reply data is fed back into the second terminal;If the first terminal is currently at Busy state can not respond the privately owned order of the second terminal at once, then can obtain in the first default look-up table and wait number According to, and the equal pending datas of extraction are added in the heading for waiting message, will be added with the equal pending datas etc. The second terminal is fed back to message, and when the current state is switched to idle state from busy state, is just based on institute It states privately owned command token mark and obtains reply data in the first default look-up table, and answered according to the generation of the reply data of acquisition Message is answered, the response message is fed back into the second terminal.
To be best understood from this implementation, be exemplified below: referring to Fig. 2, second terminal, that is, host sends Register FIS Host To Device to first terminal, that is, equipment end, the Register FIS Host to Device be include privately owned command token The command message of mark, at this point, the equipment end analyzes the Register FIS Host to Device, described in analysis When the corresponding order of privately owned command token mark is read command, current status information is further determined, if current state Information is the free time, then the equipment end obtains reply data from the first default look-up table, in described reply data, that is, Fig. 2 Data FIS (Data Frame Information Structures, Frame Information Structure, i.e. reply data), and answered by described in Answer evidence is added in the command message to feed back to the host.After feeding back successfully, the first terminal is extracted The status data of Register FIS Device to Host is to the second terminal, to indicate sign off.
Similarly, when it is write order that the privately owned command token, which identifies corresponding order, the first terminal is equally first tied The privately owned order of the second terminal can not be responded if the first terminal is currently at busy state at once by closing current state, It the pending datas such as can then extract in the first default look-up table, and the equal pending datas are added to wait in message and feed back to second Terminal then mentions in first preset table according to the read command until the first terminal is currently at idle state Reply data is taken, and reply data is added in response message to feed back to the second terminal, for the second terminal It sends wait write data in the first terminal, to complete the operation of write order.Similarly, after data are written successfully, described One terminal sends Register FIS Device to Host to the second terminal, to indicate sign off.
In the present embodiment, in order to improve the accuracy of message communication, include: referring to Fig. 3, the step S30
Step S31, when the type of command token mark is that privately owned command token identifies, the first terminal is by institute Privately owned command token mark is stated to be compared with the privately owned command token mark prestored;
Step S32, when thering is the privately owned command token prestored mark to identify with the privately owned command token to match, described the One terminal obtains the privately owned command token and identifies corresponding reply data.
In the present embodiment, when the type of command token mark is that privately owned command token identifies, described first eventually End by the privately owned command token prestored in the privately owned command token mark of extraction and the described first default look-up table identify into Row compares, and only has the privately owned command commands of the privately owned command token prestored mark and extraction in the described first default look-up table When board mark matching, the first terminal is just based on the privately owned command token mark and obtains answer number in the first default look-up table According to if the privately owned command token mark not prestored in the first default look-up table is matched with the privately owned command token mark When, then the first terminal think the privately owned command token mark be it is illegal, do not obtain reply data.It is understood that It is that the first terminal and the second terminal will carry out message communication, and both sides need to prestore identical look-up table, therefore send out The default look-up table of first of first terminal described in bright is identical with the second default look-up table of the second terminal, and second default looks into Look for table to be described in detail in embodiments below, therefore, the second default look-up table and the first default look-up table as shown in figure 4, That is, the privately owned command token that the second terminal obtains in the second default lookup identifies and is sent to described first eventually When end, the first terminal needs first to judge whether the first default look-up table also prestores the privately owned command token mark, if The privately owned command token mark is prestored, subsequent operation is just executed.In the present embodiment, it is equivalent to the first terminal and increases One judgment mechanism need to realize Effective judgement in each level of SATA, as LINKER layers of need can identify that SCSI-FIS is (privately owned Command token mark) it is legal FIS type, otherwise will mistakenly believe that is Unrecognized FIS types (i.e. illegal privately owned Command token mark), since this judgment mechanism need to only can be realized in each layer increased portion sub-control decision logic of agreement, so Cost will not be obviously increased.
In this embodiment, when the type of command token mark is that privately owned command token identifies, the first terminal The privately owned command token mark is compared with the privately owned command token mark prestored in the described first default look-up table, only It is described when the privately owned command token mark is matched with the privately owned command token mark prestored in the described first default look-up table First terminal is just based on the privately owned command token mark and obtains reply data in the described first default look-up table, it is therefore prevented that receives When identifying to illegal privately owned command token, reply data is also fed back, improves the accuracy of reply data feedback.
The present embodiment propose protocol communication method, first terminal receive second terminal transmission command message when, Command token mark is first extracted in the heading of the command message, then determines the command token mark extracted Type is obtained when the type of command token mark is that privately owned command token is identified based on the privately owned command token mark Reply data is taken, response message is finally generated according to the reply data of acquisition, the response message is fed back to described Second terminal, rather than when getting the command message of second terminal transmission, if being resolved to identifier first data field And when identifying code, be considered as command message carrying is all privately owned order, if not being resolved to mark first data field When knowing symbol and identifying code, it is believed that the command message carried is all logical data, so that slave causes the response message of feedback to have Accidentally, the present invention extracts command token mark in the heading of the command message, and identifies and carry out to the command token Parsing finally feeds back corresponding response message, avoids privately owned order and logical data to determine the type of command token mark Erroneous judgement, to improve the accuracy of message communication.
Further, in order to improve the flexibility of message communication, message communication side of the present invention is proposed based on first embodiment The second embodiment of method, in the present embodiment, referring to Fig. 5, the message communication method further include:
Step S50, when receiving command message communication instruction, second terminal determines the command message communication instruction pair The command type answered;
In the present embodiment, before the step S50 comprising steps of
1, when receiving the privately owned command property field of input in preset application programming interfaces, the second terminal root Privately owned command token mark is generated according to the privately owned command property field;
2, the privately owned command token mark that the second terminal storage generates.
It should be understood that all effective FIS-TYPE (i.e. command token mark) in SATA protocol, such as Fig. 4 at present In 27h (H2D-FIS), be the FIS type that must be all sent before sending all orders in current SATA protocol, we Case institute SCSI-FIS function to be added is completely and H2D-FIS is completely the same, that is, plays " the command token mark " for sending order. Why newly to add a SCSI-FIS be to be able to distinguish be H2D-FIS (distinguish whether the mark that SATA protocol defines Quasi- order), from attached drawing 4 it is found that A6, B8, BF etc. are the values retained, therefore this kind of digital representation SCSI-FIS can be used i.e. It can.Because the function of SCSI FIS is basic consistent with H2D FIS, so SCSI FIS structure is such as schemed completely such as H2D FIS Shown in 6, existing logical construction can be multiplexed to the maximum extent in this way, without increasing new structure, therefore, message communication Cost will not increase.
In the present embodiment, when receiving the privately owned command property field of input in preset application programming interfaces, institute It states second terminal the privately owned command property field is added in preset token identifications template, the preset application program Interface is API (Application Programming Interface, application programming interface), that is to say, that the present invention Described in privately owned command token mark be actually that the privately owned command property field for inputting user is added to preset token mark It is generated in knowledge template, then the token identifications template is deposited referring to Fig. 6, a final producible privately owned command token mark The privately owned command token mark that storage generates, similarly, the second terminal is preferably by the privately owned command token mark of generation Storage is known into the described second default look-up table.It is worth noting that, also by the privately owned of input in first terminal Be added to when command property field in preset token identifications template, to generate privately owned command token mark, also, be equally by The privately owned command token mark storage generated is into the described first default look-up table, that is to say, that Yao Shixian second terminal Communication between first terminal needs to appoint between second terminal and first terminal, what subsequent direct basis was set in advance Look-up table is communicated.
In the present embodiment, the embodiment of the step S50 includes:
When receiving command message communication instruction, the second terminal is according to the life in the command message communication instruction Attribute value is enabled to determine the corresponding command type of the command message communication instruction;
Alternatively, the second terminal is according to the command message communication instruction when receiving command message communication instruction In control bit determine the corresponding command type of the command message communication instruction.
That is, the corresponding command type of the command message communication instruction in the present embodiment, is second terminal root It is determined according to the command property value or control bit of input, it is customized in order to be sent in the application layer of second terminal Privately owned order, needs the api interface of second terminal to provide the access authority of FIS Type, and this mode can be directly (i.e. Directly to the assignment operation of FIS Type) or indirectly (being customized command type by control bit expression), according to described The control bit in command property value or the command message communication instruction in command message communication instruction can determine described The corresponding command type of command message communication instruction.For example, the command property value in protocol communication instruction is 27h, it is known that current The command type is privately owned order, or indicates publicly-owned order in control bit for " 1 ", is that " 0 " indicates privately owned life in control bit It enables, then the second terminal can determine the corresponding order class of the command message communication instruction according to the control bit of input Type.
Step S60, when the command type is privately owned order, it is corresponding that the second terminal obtains the privately owned order Privately owned command token mark, and the privately owned command token mark that will acquire is added in the heading of command message;
The command message identified added with the privately owned command token is sent to first by step S70, the second terminal In terminal, identified so that the first terminal extracts privately owned command token in the heading of the command message, and according to The privately owned command token identifies corresponding reply data and generates response message, to feed back the response report for being added with reply data Text.
In the present embodiment, when the command type is privately owned order, the second terminal is in the second default look-up table It is middle to obtain privately owned command token mark, and the privately owned command token mark that will acquire is added to the heading of command message In, then the command message added with the privately owned command token mark is sent in first terminal, eventually for described first End extracts privately owned command token mark in the heading of the command message, and according to the privately owned command token mark pair The reply data answered generates response message, to feed back the response message for being added with reply data.
Since the definition of current SATA protocol has PIO, (Programming Input/Output Model, CPU execute the end I/O Mouthful instruction read-write data data exchange mode), DMA (Direct Memory Access, direct memory access), FPDMA Transmission modes such as (First Party Direct Memory Access, Party A's direct memory access), wherein PIO transmission is opposite Under efficiency wants relatively low for DMA and FPDMA, and the control of FPDMA transmission mode is relative complex, is used under privately owned order communication Meaning is also little, and some machines do not support the transmission mode of FPDMA, so more common DMA transfer mode is used here, Therefore, the preferred second terminal will be added with the privately owned command token mark using DMA transfer mode in the present embodiment Command message is sent in first terminal, and similarly, first terminal is also to feed back response message using DMA transfer mode.
Further, in this embodiment Device, that is, the first terminal and Host, that is, second terminal can be customized Scsi command.Such as in SCSI FIS, Command field 0X50 order indicates Write Dma order (i.e. Host to Device Write the order of data), 0x51 order indicates Read Dma order (i.e. the reading data command of Device to host), or can be with (i.e. 0x50 indicates that Read Dma, 0x51 indicate write Dma) in turn, as long as Host and Device are appointed.
Message communication method proposed by the present invention, when receiving command message communication instruction, second terminal determines first institute The corresponding command type of command message communication instruction is stated, when the command type is privately owned order, obtains privately owned command token Mark, and the privately owned command token mark that will acquire is added in the heading of command message, it finally will be added with described The command message of privately owned command token mark is sent in first terminal, so that the first terminal is based on added with described privately owned The command message of command token mark feeds back corresponding response message, rather than privately owned command token mark is added to It is sent to first terminal in the data field of data packet, when avoiding first terminal and parsing identifier and identifying code within a data area, There is the erroneous judgement of logical data and privately owned command token packet, the present invention improves the accuracy of protocol communication.
It is understood that the new FIS type in SATA protocol side addition SCSI FIS is equivalent in this programme, to solve It determines and realizes the defect of privately owned order transmission using publicly-owned order at present, make to carry out Related product exploitation using SATA protocol, So that development cost reduces, it is also more convenient to develop.Also, in the structure basis for not changing original SATA communications protocol, add Add a kind of exclusive FIS TYPE (Frame Information Structures, i.e., privately owned command token packet, herein referred as SCSI-FIS), (second terminal to first is eventually by the transmission mode of this kind of FIS TYPE and the current H2D FIS type of SATA protocol The communication process at end) it is similar, it is notable that and this FIS is equivalent to the token that Host sends order to Deice, i.e., all Order transmission be all to be initiated by this FIS, only the present invention is specific to SCSI FIS type, new due to not having to increase Structure, therefore, the cost of communication reduce.
The present invention further provides a kind of message communication devices.
It is the functional block diagram of message communication device first embodiment of the present invention referring to Fig. 7, Fig. 7.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 7 is only one preferably real The exemplary diagram of example is applied, those skilled in the art surrounds the functional module of message communication device shown in Fig. 7, can carry out easily new Functional module supplement;The title of each functional module is self-defined title, is only used for auxiliary and understands the message communication device Each program function block is not used in restriction technical solution of the present invention, and the core of technical solution of the present invention is each self-defined title The function to be reached of functional module.
The present embodiment proposes that a kind of message communication device, the message communication device include:
Extraction module 10, for receive second terminal transmission command message when, in the message of the command message Command token mark is extracted in head;
First determining module 20, for determining the type of the command token extracted mark;
In the present embodiment, first terminal is when receiving the command message of second terminal transmission, the extraction module 10 Command token mark is first extracted in the heading of the command message, then the institute of 20 pairs of first determining module extractions It states command token mark to be analyzed, with the type of the determination command token mark, specifically according to the command token mark The type of command property field in knowledge is determined, can when the type of command property field is privately owned command property field Determine that the command token is identified as privately owned command token mark.
Module 30 is obtained, when the type for identifying in the command token is that privately owned command token identifies, based on described Privately owned command token mark obtains reply data;
Feedback module 40, it is for generating response message according to the reply data of extraction, the response message is anti- It is fed to the second terminal.
Further, first determining module 20 is also used to determine current state;
The acquisition module 30 is also used to be based on the privately owned command token when the current state is idle state Mark obtains reply data;
The feedback module 40 is also used to when the current state is busy state, Xiang Suoshu second terminal feedback etc. To message;
The acquisition module 30 is also used to when the current state is switched to idle state from busy state, is based on institute It states privately owned command token mark and obtains reply data.
In the present embodiment, when the type of command token mark is that privately owned command token identifies, described first eventually End further determines that the privately owned command token identifies corresponding order, wherein the privately owned command token identifies corresponding life Order has a write order or read command etc., in the present embodiment, when the corresponding order of the privately owned command token mark is read command, The current state first determined in conjunction with first determining module 20, if the first terminal is currently at idle state, Ke Yili The privately owned order for responding the second terminal is carved, then the acquisition module 30 obtains reply data, this reality according to the read command It applies in example, reply data is preferably obtained in the first default look-up table according to the read command, and the feedback module 40 will The reply data obtained is added in the heading of the response message, will be added with the response report of the reply data Text feeds back to the second terminal;If the first terminal is currently at busy state, the second terminal can not be responded at once Privately owned order, then the acquisition module 30 such as can obtain at pending datas, and the feedback module in the first default look-up table 40 are added to the equal pending datas of extraction in the heading for waiting message, will be added with the waiting report for waiting pending datas Text feeds back to the second terminal, and when the current state is switched to idle state from busy state, the acquisition module 30 just obtain reply data, and the feedback module 40 in the first default look-up table based on the privately owned command token mark Response message is generated according to the reply data of acquisition, the response message is fed back into the second terminal.
To be best understood from this implementation, be exemplified below: referring to Fig. 2, second terminal, that is, host sends Register FIS Host To Device to first terminal, that is, equipment end, the Register FIS Host to Device be include privately owned command token The command message of mark, at this point, the equipment end analyzes the Register FIS Host to Device, described in analysis When the corresponding order of privately owned command token mark is read command, current status information is further determined, if current state Information is the free time, then the equipment end obtains reply data from the first default look-up table, in described reply data, that is, Fig. 2 Data FIS (Data Frame Information Structures, Frame Information Structure, i.e. reply data), and answered by described in Answer evidence is added in the command message to feed back to the host.After feeding back successfully, the first terminal is extracted The status data of Register FIS Device to Host is to the second terminal, to indicate sign off.
Similarly, when it is write order that the privately owned command token, which identifies corresponding order, the first terminal is equally first tied The privately owned order of the second terminal can not be responded if the first terminal is currently at busy state at once by closing current state, Then the acquisition module 30 such as can extract at the pending datas in the first default look-up table, and the equal pending datas are added to waiting report Second terminal is fed back in text, until the first terminal is currently at idle state, then the acquisition module 30 is according to institute It states read command and extracts reply data in first preset table, and reply data is added to response by the feedback module 40 To feed back to the second terminal in message, so that the second terminal is sent wait write data in the first terminal, with complete At the operation of write order.Similarly, after data are written successfully, the first terminal sends Register FIS Device to Host is to the second terminal, to indicate sign off.
In the present embodiment, in order to improve the accuracy of message communication, referring to Fig. 8, the acquisition mould 30 includes:
Comparing unit 31, when the type for identifying in the command token is that privately owned command token identifies, by the private There is command token mark to be compared with the privately owned command token mark prestored;
Acquiring unit 32, for there is the privately owned command token prestored mark to match with the privately owned command token mark When, it obtains the privately owned command token and identifies corresponding reply data.
In the present embodiment, when the type of command token mark is that privately owned command token identifies, the comparison is single Member 31 identifies the privately owned command token prestored in the privately owned command token mark of extraction and the described first default look-up table It is compared, only there is the privately owned order of the privately owned command token prestored mark and extraction in the described first default look-up table When token identifications match, the acquiring unit 32 is just answered based on the privately owned command token mark in the first default look-up table acquisition Answer evidence, if the privately owned command token mark not prestored in the first default look-up table is identified with the privately owned command token When matching, then the first terminal think the privately owned command token mark be it is illegal, do not obtain reply data.It is understood that , the first terminal and the second terminal will carry out message communication, and both sides need to prestore identical look-up table, therefore The default look-up table of first of first terminal described in invention is identical with the second default look-up table of the second terminal, and second is default Look-up table is described in detail in embodiments below, therefore, the second default look-up table and the first default look-up table such as Fig. 4 institute Show, that is to say, that the privately owned command token that the feedback module 40 obtains in the second default lookup is identified and is sent to described When first terminal, the first terminal needs first to judge whether the first default look-up table also prestores the privately owned command token mark Know, if prestoring the privately owned command token mark, just executes subsequent operation.In the present embodiment, it is equivalent to described first eventually End increases a judgment mechanism, need to realize Effective judgement in each level of SATA, as LINKER layers of need can identify SCSI- FIS (privately owned command token mark) be legal FIS type, otherwise will mistakenly believe that be Unrecognized FIS types (i.e. Illegal privately owned command token mark), since this judgment mechanism only need to be in each layer increased portion sub-control decision logic of agreement It realizes, so cost will not be obviously increased.
In this embodiment, when the type of command token mark is that privately owned command token identifies, the first terminal The privately owned command token mark is compared with the privately owned command token mark prestored in the described first default look-up table, only It is described when the privately owned command token mark is matched with the privately owned command token mark prestored in the described first default look-up table First terminal is just based on the privately owned command token mark and obtains reply data in the described first default look-up table, it is therefore prevented that receives When identifying to illegal privately owned command token, reply data is also fed back, improves the accuracy of reply data feedback.
The present embodiment propose message communication device, first terminal receive second terminal transmission command message when, Command token mark is first extracted in the heading of the command message, then determines the command token mark extracted Type is obtained when the type of command token mark is that privately owned command token is identified based on the privately owned command token mark Reply data is taken, response message is finally generated according to the reply data of acquisition, the response message is fed back to described Second terminal, rather than when getting the command message of second terminal transmission, if being resolved to identifier first data field And when identifying code, be considered as command message carrying is all privately owned order, if not being resolved to mark first data field When knowing symbol and identifying code, it is believed that the command message carried is all logical data, so that slave causes the response message of feedback to have Accidentally, the present invention extracts command token mark in the heading of the command message, and identifies and carry out to the command token Parsing finally feeds back corresponding response message, avoids privately owned order and logical data to determine the type of command token mark Erroneous judgement, to improve the accuracy of message communication.
Further, in order to improve the flexibility of message communication, propose that message communication of the present invention fills based on first embodiment The second embodiment set, in the present embodiment, referring to Fig. 9, the message communication device includes:
Second determining module 50, for when receiving command message communication instruction, determining that the command message communication refers to Enable corresponding command type;
Processing module 60, for it is corresponding privately owned to obtain the privately owned order when the command type is privately owned order Command token mark, and the privately owned command token mark that will acquire is added in the heading of command message;
Sending module 70, for the command message for being added with the privately owned command token mark to be sent to first terminal In, so that the first terminal extracts privately owned command token mark in the heading of the command message, and according to described Privately owned command token identifies corresponding reply data and generates response message, to feed back the response message for being added with reply data.
In the present embodiment, the privately owned command token mark is generated by presetting module, and the presetting module includes generating Module and memory module, in which:
The generation module, for receiving the privately owned command property field of input in preset application programming interfaces When, privately owned command token is generated according to the privately owned command property field and is identified;
The memory module, for storing the privately owned command token mark generated.
It should be understood that all effective FIS-TYPE (i.e. command token mark) in SATA protocol, such as Fig. 4 at present In 27h (H2D-FIS), be the FIS type that must be all sent before sending all orders in current SATA protocol, we Case institute SCSI-FIS function to be added is completely and H2D-FIS is completely the same, that is, plays " the command token mark " for sending order. Why newly to add a SCSI-FIS be to be able to distinguish be H2D-FIS (distinguish whether the mark that SATA protocol defines Quasi- order), from attached drawing 4 it is found that A6, B8, BF etc. are the values retained, therefore this kind of digital representation SCSI-FIS can be used i.e. It can.Because the function of SCSI FIS is basic consistent with H2D FIS, so SCSI FIS structure is such as schemed completely such as H2D FIS Shown in 6, existing logical construction can be multiplexed to the maximum extent in this way, without increasing new structure, therefore, message communication Cost will not increase.
In the present embodiment, when receiving the privately owned command property field of input in preset application programming interfaces, institute It states generation module the privately owned command property field is added in preset token identifications template, the preset application program Interface is API (Application Programming Interface, application programming interface), that is to say, that the present invention Described in privately owned command token mark be actually that the privately owned command property field for inputting user is added to preset token mark It is generated in knowledge template, the token identifications template produces a privately owned command token referring to Fig. 6, the final generation module Mark, the privately owned command token mark that then the memory module storage generates, similarly, the memory module will preferably give birth to At the privately owned command token mark storage into the described second default look-up table.It is worth noting that, first terminal In also by the privately owned command property field of input when be added in preset token identifications template, to generate privately owned order Token identifications, also, be equally that the privately owned command token mark that will be generated is stored into the described first default look-up table, That is the communication between Yao Shixian second terminal and first terminal, needs to appoint between second terminal and first terminal, The look-up table that subsequent direct basis is set in advance is communicated.
In the present embodiment, second determining module 50 determines the life when receiving command message communication instruction The embodiment for enabling message communication instruct corresponding command type includes:
When receiving command message communication instruction, the second terminal is according to the life in the command message communication instruction Attribute value is enabled to determine the corresponding command type of the command message communication instruction;
Alternatively, the second terminal is according to the command message communication instruction when receiving command message communication instruction In control bit determine the corresponding command type of the command message communication instruction.
That is, the corresponding command type of the command message communication instruction in the present embodiment, is second terminal root It is determined according to the command property value or control bit of input, it is customized in order to be sent in the application layer of second terminal Privately owned order, needs the api interface of second terminal to provide the access authority of FIS Type, and this mode can be directly (i.e. Directly to the assignment operation of FIS Type) or indirectly (being customized command type by control bit expression), according to described The control bit in command property value or the command message communication instruction in command message communication instruction can determine described The corresponding command type of command message communication instruction.For example, the command property value in protocol communication instruction is 27h, it is known that current The command type is privately owned order, or indicates publicly-owned order in control bit for " 1 ", is that " 0 " indicates privately owned life in control bit It enables, then second determining module 50 can determine the corresponding life of the command message communication instruction according to the control bit of input Enable type.
In the present embodiment, described when second determining module 50 determines that institute's command type is privately owned order Processing module 60 obtains privately owned command token mark, and the privately owned command token mark that will acquire in the second default look-up table Knowledge is added in the heading of command message, the life that then sending module 70 will be identified added with the privately owned command token Message is enabled to be sent in first terminal, so that the first terminal extracts privately owned order in the heading of the command message Token identifications, and corresponding reply data is identified according to the privately owned command token and generates response message, it is added with and is answered with feedback The response message of answer evidence.
Since the definition of current SATA protocol has PIO, (Programming Input/Output Model, CPU execute the end I/O Mouthful instruction read-write data data exchange mode), DMA (Direct Memory Access, direct memory access), FPDMA Transmission modes such as (First Party Direct Memory Access, Party A's direct memory access), wherein PIO transmission is opposite Under efficiency wants relatively low for DMA and FPDMA, and the control of FPDMA transmission mode is relative complex, is used under privately owned order communication Meaning is also little, and some machines do not support the transmission mode of FPDMA, so more common DMA transfer mode is used here, Therefore, the preferably described sending module 70 will be added with the privately owned command token mark with DMA transfer mode in the present embodiment Command message is sent in first terminal, and similarly, first terminal is also to feed back response message using DMA transfer mode.
Further, in this embodiment Device, that is, the first terminal and Host, that is, second terminal can be customized Scsi command.Such as in SCSI FIS, Command field 0X50 order indicates Write Dma order (i.e. Host to Device Write the order of data), 0x51 order indicates Read Dma order (i.e. the reading data command of Device to host), or can be with (i.e. 0x50 indicates that Read Dma, 0x51 indicate write Dma) in turn, as long as Host and Device are appointed.
The message communication device that the present embodiment proposes, when receiving command message communication instruction, second terminal is determined first The corresponding command type of the command message communication instruction obtains privately owned command commands when the command type is privately owned order Board mark, and the privately owned command token mark that will acquire is added in the heading of command message, will finally be added with institute The command message for stating privately owned command token mark is sent in first terminal, so that the first terminal is based on being added with the private The command message for having command token to identify feeds back corresponding response message, rather than privately owned command token is identified and is added It is sent to first terminal into the data field of data packet, first terminal is avoided and parses identifier and identifying code within a data area When, there is the erroneous judgement of logical data and privately owned command token packet, the present invention improves the accuracy of protocol communication.
It is understood that the new FIS type in SATA protocol side addition SCSI FIS is equivalent in this programme, to solve It determines and realizes the defect of privately owned order transmission using publicly-owned order at present, make to carry out Related product exploitation using SATA protocol, So that development cost reduces, it is also more convenient to develop.Also, in the structure basis for not changing original SATA communications protocol, add Add a kind of exclusive FIS TYPE (Frame Information Structures, i.e., privately owned command token packet, herein referred as SCSI-FIS), (second terminal to first is eventually by the transmission mode of this kind of FIS TYPE and the current H2D FIS type of SATA protocol The communication process at end) it is similar, it is notable that and this FIS is equivalent to the token that Host sends order to Deice, i.e., all Order transmission be all to be initiated by this FIS, only the present invention is specific to SCSI FIS type, new due to not having to increase Structure, therefore, the cost of communication reduce.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of message communication method, which is characterized in that the message communication method the following steps are included:
First terminal extracts life when receiving the command message of second terminal transmission in the heading of the command message Enable token identifications;
The command token mark includes that standard commands token identifications and privately owned command token identify, the standard commands token mark Knowing is defined in SATA protocol, and the privately owned command token is identified as newly added new FIS type on the basis of SATA protocol;
The first terminal determines the type for the command token mark extracted;
When the type of command token mark is that privately owned command token identifies, the first terminal is based on the privately owned order Token identifications obtain reply data;
The first terminal generates response message according to the reply data of extraction, the response message is fed back to described Second terminal.
2. message communication method as described in claim 1, which is characterized in that the first terminal is based on the privately owned command commands Before the step of board mark obtains reply data, the message communication method further include:
The first terminal determines current state;
When the current state is idle state, executes the first terminal and answered based on the privately owned command token mark acquisition Answer according to the step of;
When the current state is busy state, the first terminal is fed back to the second terminal waits message, and in institute When stating current state and being switched to idle state from busy state, executes the first terminal and be based on the privately owned command token mark The step of obtaining reply data.
3. message communication method as described in claim 1, which is characterized in that it is described the command token mark type be When privately owned command token identifies, the first terminal is based on the step of privately owned command token mark obtains reply data and wraps It includes:
When the type of command token mark is that privately owned command token identifies, the first terminal is by the privately owned command commands Board is identified to be compared with the privately owned command token mark prestored;
When there is the privately owned command token prestored mark to match with the privately owned command token mark, the first terminal obtains institute It states privately owned command token and identifies corresponding reply data.
4. a kind of message communication method, which is characterized in that the message communication method the following steps are included:
When receiving command message communication instruction, second terminal determines the corresponding order class of the command message communication instruction Type;
The command type includes standard commands and privately owned order, and the standard commands are the private defined in SATA protocol Having order is to increase newly on the basis of SATA protocol;
When the command type is privately owned order, the second terminal obtains the corresponding privately owned command token of the privately owned order Mark, and the privately owned command token mark that will acquire is added in the heading of command message;
Command message added with the privately owned command token mark is sent in first terminal by the second terminal, for institute It states first terminal and extracts privately owned command token mark in the heading of the command message, and according to the privately owned command commands Board identifies corresponding reply data and generates response message, to feed back the response message for being added with reply data.
5. message communication method as claimed in claim 4, which is characterized in that described to receive command message communication instruction When, before the step of second terminal determines the command message communication instruction corresponding command type, the message communication method Further include:
When receiving the privately owned command property field of input in preset application programming interfaces, the second terminal is according to Privately owned command property field generates privately owned command token mark;
The privately owned command token mark that the second terminal storage generates.
6. a kind of message communication device, which is characterized in that the message communication device includes:
Extraction module, for being mentioned in the heading of the command message when receiving the command message of second terminal transmission Take out command token mark;
The command token mark includes that standard commands token identifications and privately owned command token identify, the standard commands token mark Knowing is defined in SATA protocol, and the privately owned command token is identified as newly added new FIS type on the basis of SATA protocol;
First determining module, for determining the type of the command token extracted mark;
Module is obtained, when the type for identifying in the command token is that privately owned command token identifies, is based on the privately owned life Token identifications are enabled to obtain reply data;
The response message is fed back to institute for generating response message according to the reply data of extraction by feedback module State second terminal.
7. message communication device as claimed in claim 6, which is characterized in that first determining module is also used to determination and works as Preceding state;
The acquisition module is also used to when the current state is idle state, is obtained based on the privately owned command token mark Take reply data;
The feedback module is also used to when the current state is busy state, and Xiang Suoshu second terminal feedback waits message;
The acquisition module is also used to when the current state is switched to idle state from busy state, based on described privately owned Command token mark obtains reply data.
8. message communication device as claimed in claim 6, which is characterized in that the acquisition module includes:
Comparing unit, when the type for identifying in the command token is that privately owned command token identifies, by the privately owned order Token identifications are compared with the privately owned command token mark prestored;
Acquiring unit, for obtaining when there is the privately owned command token prestored mark to match with the privately owned command token mark The privately owned command token identifies corresponding reply data.
9. a kind of message communication device, which is characterized in that the message communication device includes:
Second determining module, for when receiving command message communication instruction, determining that the command message communication instruction is corresponding Command type;
The command type includes standard commands and privately owned order, and the standard commands are the private defined in SATA protocol Having order is to increase newly on the basis of SATA protocol;
Processing module, for when the command type is privately owned order, obtaining the corresponding privately owned command commands of the privately owned order Board mark, and the privately owned command token mark that will acquire is added in the heading of command message;
Sending module, for the command message for being added with the privately owned command token mark to be sent in first terminal, for The first terminal extracts privately owned command token mark in the heading of the command message, and according to the privately owned order The corresponding reply data of token identifications generates response message, to feed back the response message for being added with reply data.
10. message communication device as claimed in claim 9, which is characterized in that the message communication device further include:
Generation module, when for receiving the privately owned command property field of input in preset application programming interfaces, according to institute It states privately owned command property field and generates privately owned command token mark;
Memory module, for storing the privately owned command token mark generated.
CN201610393858.8A 2016-06-06 2016-06-06 Message communication method and device Active CN106095713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610393858.8A CN106095713B (en) 2016-06-06 2016-06-06 Message communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610393858.8A CN106095713B (en) 2016-06-06 2016-06-06 Message communication method and device

Publications (2)

Publication Number Publication Date
CN106095713A CN106095713A (en) 2016-11-09
CN106095713B true CN106095713B (en) 2019-05-03

Family

ID=57447123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610393858.8A Active CN106095713B (en) 2016-06-06 2016-06-06 Message communication method and device

Country Status (1)

Country Link
CN (1) CN106095713B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729117B (en) * 2017-10-30 2020-10-27 华为技术有限公司 Message processing method, chip system and computer storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040131082A1 (en) * 2002-02-08 2004-07-08 Evans James C. Construction of middleware adapters
CN102567252A (en) * 2010-12-09 2012-07-11 北京华虹集成电路设计有限责任公司 Method and system for data transmission between hard disc and main unit
CN104283749B (en) * 2014-09-25 2017-12-01 烽火通信科技股份有限公司 Business disk upgrade method based on the half-duplex bus of RS 485
CN105607874B (en) * 2015-12-31 2017-03-22 湖南国科微电子股份有限公司 SATA (Serial advanced technology attachment) protocol acceleration module, host and hard disk communication method, as well as solid state drive controller

Also Published As

Publication number Publication date
CN106095713A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN102736868B (en) Image formation system, information management server and image forming method
CN102598625B (en) Method and apparatus for changing input type in input system using universal plug and play
CN106487762A (en) The recognition methodss of user identity, identification applications client and server
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN104040521A (en) Biometric cloud communication and data movement
CN102404306B (en) Protocol configuration method and device
WO2022227818A1 (en) Method and apparatus for network configuration, and smart home device
CN113900982B (en) Distributed heterogeneous acceleration platform communication method, system, device and medium
CN110286939A (en) Development approach, device, equipment and the storage medium of Software Development Kit
CN104135536A (en) Data interaction method of Web management system based on Json data protocols
CN109614147A (en) A kind of PHY register reading/writing method and device
CN102811183A (en) Print sharing method and system using instant messaging tool
US20170345042A1 (en) Service processing method, terminal and server
CN109951573A (en) A kind of Internet of Things network entity interoperability engine based on state model
CN106095713B (en) Message communication method and device
CN110187986B (en) Command management method, system, device and computer readable storage medium
CN115357535A (en) Virtual serial port design method and device
CN101984717A (en) Data synchronization method, mobile terminal and data synchronization system
CN106101188B (en) A kind of data processing method of network cloud USB flash disk
US20110153695A1 (en) Method for making usb storage of file system and remote connection, and system thereof
JP2009134722A (en) Method and system for providing electric wave identification application interface
US20110225499A1 (en) Network device
CN107181802A (en) Intelligent hardware control method and device, server, storage medium
CN106685931B (en) Smart card application management method and system, terminal and smart card
US20230046997A1 (en) Information processing method based on electronic device interaction, and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518051 Units 05-2 and 06-08, 6th Floor, Changhong Science and Technology Building, 18 Science and Technology South 12 Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen SiliconGo Semiconductor Co., Ltd.

Address before: Units 05-2 and 06-08, 6th floor, Changhong Science and Technology Building, 18 Science and Technology South 12 Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SILICONGO MICROELECTRONICS CO., LTD.

CP03 Change of name, title or address