CN106095713A - Message communication method and device - Google Patents

Message communication method and device Download PDF

Info

Publication number
CN106095713A
CN106095713A CN201610393858.8A CN201610393858A CN106095713A CN 106095713 A CN106095713 A CN 106095713A CN 201610393858 A CN201610393858 A CN 201610393858A CN 106095713 A CN106095713 A CN 106095713A
Authority
CN
China
Prior art keywords
command
privately owned
terminal
mark
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610393858.8A
Other languages
Chinese (zh)
Other versions
CN106095713B (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, described message communication method includes: first terminal, when receiving the command message that the second terminal sends, extracts command token mark in the heading of described command message;Described first terminal determines the type of the described command token mark of extraction;When the type that described command token identifies is privately owned command token mark, described first terminal obtains reply data based on described privately owned command token mark;Described first terminal generates response message according to the described reply data extracted, so that described response message to feed back to described 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 communication technical field, particularly relate to a kind of message communication method and device.
Background technology
At present, SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) agreement Do not provide one and facilitate the self-defining command interface of developer, be used for transmitting self-defining data, privately owned order data, So in the development process of current SATA interface solid state hard disc, the publicly-owned order of commonly used SATA carries out that " second communication is opened Send out ", in the command message of publicly-owned order, namely add privately owned order, then main frame will with the addition of the order report of privately owned order Literary composition transmission, to from machine, owing to privately owned order is in the packet leaving order in, with the addition of identifier in this packet or tests Card code, if finding this identifier or identifying code, is considered privately owned order, but during the publicly-owned command operation of reality, public The mark having the packet of order is just completely the same with the mark of the packet of privately owned order, will be publicly-owned order as private Have order to process, cause the data (typically all logical data) that lost publicly-owned order, and apply at present have employed multiple Means reduce the probability this situation occur, such as use the dependency of Address family to judge, but are the most only reduction of This probability, it is impossible to accomplish to eliminate, and this mode is the most loaded down with trivial details.Obviously, this message communication mode, nearly all can exist Logical data and the situation of privately owned order erroneous judgement, cause the accuracy of message communication to reduce.
Summary of the invention
Present invention is primarily targeted at a kind of message communication method and device of proposition, it is intended to solve traditional message communication Mode, the technical problem that accuracy is relatively low.
For achieving the above object, a kind of message communication method that the present invention provides, described message communication method includes:
First terminal, when receiving the command message that the second terminal sends, extracts in the heading of described command message Go out command token mark;
Described first terminal determines the type of the described command token mark of extraction;
When the type that described command token identifies is privately owned command token mark, described first terminal is based on described privately owned Command token mark obtains reply data;
Described first terminal generates response message according to the described reply data extracted, to be fed back to by described response message Described second terminal.
Preferably, before described first terminal obtains the step of reply data based on described privately owned command token mark, institute State message communication method also to include:
Described first terminal determines current state;
When described current state is idle condition, performs described first terminal and obtain based on described privately owned command token mark Take the step of reply data;
When described current state is busy state, described first terminal waits message to described second terminal feedback, and When described current state switches to idle condition from busy state, perform described first terminal based on described privately owned command token Mark obtains the step of reply data.
Preferably, described when the type that described command token identifies is privately owned command token mark, described first terminal The step obtaining reply data based on described privately owned command token mark includes:
When the type that described command token identifies is privately owned command token mark, described first terminal is by described privately owned life The privately owned command token mark making token identifications and prestore is compared;
When there being the privately owned command token prestored mark to mate with described privately owned command token mark, described first terminal obtains Take the reply data that described privately owned command token mark is corresponding.
Additionally, for achieving the above object, the present invention also proposes a kind of message communication method, and described message communication method includes Following steps:
When receiving command message communication instruction, the second terminal determines the order that described command message communication instruction is corresponding Type;
When described command type is privately owned order, described second terminal obtains the privately owned order that described privately owned order is corresponding Token identifications, and the described privately owned command token obtained mark is added in the heading of command message;
The command message being added with described privately owned command token mark is sent to first terminal by described second terminal, with In the heading of described command message, privately owned command token mark is extracted for described first terminal, and according to described privately owned life Make the reply data that token identifications is corresponding generate response message, be added with the response message of reply data with feedback.
Preferably, described when receiving command message communication instruction, the second terminal determines that described command message communication refers to Before the step of the command type that order is corresponding, described message communication method also includes:
When receiving the privately owned command property field of input in default application programming interfaces, described second terminal according to Described privately owned command property field generates privately owned command token mark;
The described privately owned command token mark that described second terminal storage generates.
Additionally, for achieving the above object, the present invention also proposes a kind of message communication device, described message communication device bag Include:
Extraction module, for when receiving the command message that the second terminal sends, at the heading of described command message In extract command token mark;
First determines module, for determining the type of the described command token mark of extraction;
Acquisition module, for when the type that described command token identifies is privately owned command token mark, based on described private Command token mark is had to obtain reply data;
Feedback module, for generating response message according to the described reply data extracted, to be fed back by described response message To described second terminal.
Preferably, described first determines module, is additionally operable to determine current state;
Described acquisition module, is additionally operable to when described current state is idle condition, based on described privately owned command token mark Know and obtain reply data;
Described feedback module, is additionally operable to when described current state is busy state, waits to described second terminal feedback Message;
Described acquisition module, is additionally operable to when described current state switches to idle condition from busy state, based on described Privately owned command token mark obtains reply data.
Preferably, described acquisition module includes:
Comparing unit, for when the type that described command token identifies is privately owned command token mark, by described privately owned Command token mark is compared with the privately owned command token mark prestored;
Acquiring unit, is used for when there being the privately owned command token prestored mark to mate with described privately owned command token mark, Obtain the reply data that described privately owned command token mark is corresponding.
Additionally, for achieving the above object, the present invention also proposes a kind of message communication device, described message communication device bag Include:
Second determines module, for when receiving command message communication instruction, determines described command message communication instruction Corresponding command type;
Processing module, for when described command type is privately owned order, obtains the privately owned life that described privately owned order is corresponding Make token identifications, and the described privately owned command token obtained mark is added in the heading of command message;
Sending module, for the command message being added with described privately owned command token mark is sent to first terminal, In the heading of described command message, privately owned command token mark is extracted for described first terminal, and according to described privately owned The reply data generation response message that command token mark is corresponding, is added with the response message of reply data with feedback.
Preferably, described message communication device also includes:
Generation module, during for receiving the privately owned command property field of input in default application programming interfaces, root Privately owned command token mark is generated according to described privately owned command property field;
Memory module, for storing the described privately owned command token mark of generation.
The message communication method and device that the present invention proposes, first terminal is receiving the command message that the second terminal sends Time, in the heading of described command message, first extract command token mark, it is then determined that the described command token mark extracted The type known, when the type that described command token identifies is privately owned command token mark, based on described privately owned command token mark Know and obtain reply data, finally generate response message according to the described reply data obtained, to be fed back to by described response message Described second terminal rather than get second terminal send command message time, if be resolved to first data field mark Knowing symbol and during identifying code, be considered as that this command message carries is all privately owned order, if not resolving first data field During to identifier and identifying code, it is believed that what this command message carried is all logical data, thus cause the response report of feedback from machine Literary composition is wrong, and the present invention extracts command token mark in the heading of described command message, and identifies described command token Resolve, to determine the type that command token identifies, final feed back corresponding response message, it is to avoid privately owned order and logic The erroneous judgement of data, thus improve the accuracy of message communication.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of message communication method first embodiment of the present invention;
Fig. 2 is the preferable scene schematic diagram that the present invention the second terminal and first terminal carry out message communication;
Fig. 3 is that first terminal of the present invention obtains reply data preferred embodiment based on described privately owned command token mark Schematic flow sheet;
Fig. 4 is the schematic diagram that the present invention first presets look-up table;
Fig. 5 is the schematic flow sheet of message communication method the second embodiment of the present invention;
Fig. 6 is the schematic diagram of token template of the present invention;
Fig. 7 is the high-level schematic functional block diagram of message communication device first embodiment of the present invention;
Fig. 8 is the refinement high-level schematic functional block diagram of acquisition module in Fig. 7;
Fig. 9 is the high-level schematic functional block diagram of message communication device the second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The main solution technical scheme of the embodiment of the present invention is: a kind of can the privately owned order of self-defined SATA transmission association View, carrying out the product for any employing SATA interface provides privately owned communication interface, can be reduced by this kind of mode and be made at present Publicly-owned order on the basis of " privately owned communication interface " difficulty of developing, and the probability of miscarriage of justice of privately owned order communication from former Reduce to 0 in reason, improve the accuracy of protocol communication.
, easily there is logical data and the erroneous judgement of privately owned order in existing communication protocol mode, to reduce this erroneous judgement, Need in first terminal, increase some a little complicated controls and judgment mechanisms, therefore can increase certain maintenance cost.
Based on the problems referred to above, the present invention provides a kind of message communication method.
With reference to the schematic flow sheet that Fig. 1, Fig. 1 are message communication method first embodiment of the present invention.
The present embodiment proposes a kind of message communication method, and described message communication method includes:
Step S10, first terminal is when receiving the command message that the second terminal sends, at the message of described command message Command token mark is extracted in Tou;
Step S20, described first terminal determines the type of the described command token mark of extraction;
In the present embodiment, first terminal is when receiving the command message that the second terminal sends, first at described order report The heading of literary composition extracts command token mark, then the described command token mark extracted is analyzed, to determine Stating the type of command token mark, the type of the command property field in identifying specifically according to described command token is carried out really Fixed, when the type of command property field is privately owned command property field, it may be determined that described command token is designated privately owned order Token identifications.
Step S30, the type that described command token identifies be privately owned command token mark time, described first terminal based on Described privately owned command token mark obtains reply data;
Step S40, described first terminal generates response message according to the described reply data extracted, with by described response report Literary composition feeds back to described second terminal.
Further, described first terminal based on described privately owned command token mark first preset look-up table extract should Before the step of answer evidence, described message communication method also includes:
Described first terminal determines current state;
When described current state is idle condition, performs described first terminal and obtain based on described privately owned command token mark Take the step of reply data;
When described current state is busy state, described first terminal waits message to described second terminal feedback, and When described current state switches to idle condition from busy state, perform described first terminal based on described privately owned command token Mark obtains the step of reply data.
In the present embodiment, when the type that described command token identifies is privately owned command token mark, described first eventually End further determines that the order that described privately owned command token mark is corresponding, wherein, the life that described privately owned command token mark is corresponding Order has write order or read command etc., in the present embodiment, when the order that described privately owned command token mark is corresponding is read command, Described first terminal first combines current state, if described first terminal is currently at idle condition, can respond described at once The privately owned order of two terminals, then obtain reply data according to described read command, in the present embodiment, preferably exist according to described read command First presets acquisition reply data in look-up table, and the described reply data obtained is added the heading to described response message In, the response message being added with described reply data to be fed back to described second terminal;If described first terminal is currently at Busy state, it is impossible to respond the privately owned order of described second terminal at once, then can preset to obtain in look-up table first waiting number According to, and described wait pending data to add to the heading waiting message by extract, with by be added with the pending data such as described etc. Treat that message feeds back to described second terminal, and when described current state switches to idle condition from busy state, just based on institute State privately owned command token mark and preset look-up table acquisition reply data first, and should according to the described reply data generation obtained Answer message, described response message to be fed back to described second terminal.
For being best understood from this enforcement, it is exemplified below: with reference to Fig. 2, the i.e. main frame of the second terminal sends Register FIS Host To Device i.e. includes privately owned command token to first terminal i.e. equipment end, described Register FIS Host to Device The command message of mark, now, described equipment end analyzes described Register FIS Host to Device, described analyzing When the order of privately owned command token mark correspondence is read command, determine current status information further, if current state Information is idle, and the most described equipment end presets acquisition reply data look-up table from first, in described reply data i.e. Fig. 2 Data FIS (Data Frame Information Structures, Frame Information Structure, i.e. reply data), and answer described Answer is according to adding to described command message to feed back to described main frame.After feeding back successfully, described first terminal extracts The status data of Register FIS Device to Host is to described second terminal, to represent sign off.
In like manner, when the order that described privately owned command token mark is corresponding is write order, described first terminal is the most first tied Close current state, if described first terminal is currently at busy state, it is impossible to respond the privately owned order of described second terminal at once, Then can preset in look-up table the pending datas such as extraction first, and the pending data such as described be added to waiting in message and feed back to second Terminal, until described first terminal is currently at idle condition, then carries in described first preset table according to described read command Take reply data, and reply data is added to feed back to described second terminal in response message, for described second terminal Send and wait to write data in described first terminal, to complete the operation of write order.In like manner, after data write successfully, described One terminal sends Register FIS Device to Host extremely described second terminal, to represent sign off.
In the present embodiment, in order to improve the accuracy of message communication, with reference to Fig. 3, described step S30 includes:
Step S31, when the type that described command token identifies is privately owned command token mark, described first terminal is by institute The privately owned command token mark stating privately owned command token mark and prestore is compared;
Step S32, when mating there being the privately owned command token prestored mark to identify with described privately owned command token, described the One terminal obtains the reply data that described privately owned command token mark is corresponding.
In the present embodiment, when the type that described command token identifies is privately owned command token mark, described first eventually Hold by extract described privately owned command token mark with described first preset the privately owned command token prestored in look-up table identify into Row comparison, only presets described first and has the privately owned command token mark prestored and the described privately owned command commands extracted in look-up table During board mark coupling, described first terminal is just preset look-up table based on described privately owned command token mark first and is obtained answer number According to, if described first preset look-up table does not prestore privately owned command token mark with described privately owned command token identify mate Time, the most described first terminal is thought that described privately owned command token mark is illegal, is not obtained reply data.May be appreciated It is that described first terminal and described second terminal message communication to be carried out, both sides need to prestore identical look-up table, therefore send out First of first terminal described in bright presets look-up table, and to preset look-up table with the second of described second terminal identical, and second presets and look into Looking for table to describe in detail in embodiments below, therefore, described second presets look-up table and described first presets look-up table as shown in Figure 4, It is to say, the privately owned command token that described second terminal obtains in presetting search second identifies and sends to described first eventually During end, described first terminal needs first to judge that first presets look-up table and the most also prestore described privately owned command token mark, if Prestore described privately owned command token mark, just perform follow-up operation.At the present embodiment, being equivalent to described first terminal increases One judgment mechanism, need to realize Effective judgement in each level of SATA, as LINKER layer needs to identify that SCSI-FIS is (privately owned Command token identifies) it is legal FIS type, otherwise can be mistakenly considered Unrecognized FIS types (privately owned Command token identifies), can realize owing to this judgment mechanism only need to increase part control decision logic at each layer of agreement, so Will not substantially increase cost.
In this embodiment, when the type that described command token identifies is privately owned command token mark, described first terminal Described privately owned command token mark is preset the privately owned command token mark prestored in look-up table with described first compare, only Described privately owned command token mark preset with described first the privately owned command token prestored in look-up table identify mate time, described First terminal is just preset look-up table based on described privately owned command token mark described first and is obtained reply data, it is therefore prevented that receive To illegal privately owned command token identify time, also feed back reply data, improve reply data feedback accuracy.
The present embodiment propose protocol communication method, first terminal receive second terminal send command message time, In the heading of described command message, first extract command token mark, it is then determined that the described command token mark extracted Type, when the type that described command token identifies is privately owned command token mark, obtains based on described privately owned command token mark Take reply data, finally generate response message according to the described reply data obtained, described so that described response message is fed back to Second terminal rather than get second terminal send command message time, if being resolved to identifier first data field And during identifying code, be considered as that this command message carries is all privately owned order, if be not resolved to mark first data field When knowing symbol and identifying code, it is believed that what this command message carried is all logical data, thus the response message of feedback is caused to have from machine By mistake, the present invention extracts command token mark in the heading of described command message, and carries out described command token mark Resolve, to determine the type that command token identify, final feedback corresponding response message, it is to avoid privately owned order and logical data Erroneous judgement, thus improve the accuracy of message communication.
Further, in order to improve the motility of message communication, based on first embodiment, message communication side of the present invention is proposed Second embodiment of method, in the present embodiment, with reference to Fig. 5, described message communication method also includes:
Step S50, when receiving command message communication instruction, the second terminal determines described command message communication instruction pair The command type answered;
In the present embodiment, step is included before described step S50:
When 1, receiving the privately owned command property field of input in default application programming interfaces, described second terminal root Privately owned command token mark is generated according to described privately owned command property field;
2, the described privately owned command token mark that described second terminal storage generates.
It should be appreciated that at present all effective FIS-TYPE (i.e. command token mark), such as Fig. 4 in SATA protocol In 27h (H2D-FIS), be current SATA protocol sends all of order before a FIS type all must sending, we Case SCSI-FIS function to be added is completely and H2D-FIS is completely the same, i.e. plays and sends " the command token mark " ordered. Why wanting a newly added SCSI-FIS to be able to differentiation is that H2D-FIS (i.e. distinguishes the mark whether SATA protocol defines Quasi-order), knowable to accompanying drawing 4, A6, B8, BF etc. are the values retained, and this kind of numeral therefore can be used to represent, and SCSI-FIS is i.e. Can.Because the function of SCSI FIS is the most consistent with H2D FIS, so SCSI FIS structure is the most the same with H2D FIS, such as figure Shown in 6, so can the existing logical structure of multiplexing to greatest extent, without increasing new structure, therefore, message communication Cost also will not increase.
In the present embodiment, when default application programming interfaces receive the privately owned command property field of input, institute State the second terminal described privately owned command property field to be added to the token identifications template preset, described default application program Interface is API (Application Programming Interface, application programming interface), say, that the present invention Described in privately owned command token mark actually the privately owned command property field that user inputs is added to the token mark preset Knowing generation in template, described token identifications template, with reference to Fig. 6, finally can generate a privately owned command token mark, then deposit The described privately owned command token mark that storage generates, in like manner, the described privately owned command token mark that described second terminal preferably will generate Know storage to preset in look-up table to described second.It should be noted that in first terminal also privately owned by input During command property field add to preset token identifications template in, with generate privately owned command token mark, and, be equally by The described privately owned command token mark storage generated is preset in look-up table to described first, say, that will realize the second terminal And the communication between first terminal, needing to appoint between the second terminal and first terminal, follow-up direct basis is reserved in advance Look-up table communicates.
In the present embodiment, the embodiment of described step S50 includes:
When receiving command message communication instruction, described second terminal is according to the life in described command message communication instruction Property value is made to determine the command type that described command message communication instruction is corresponding;
Or, when receiving command message communication instruction, described second terminal is according to described command message communication instruction In control bit determine the command type that described command message communication instruction is corresponding.
It is to say, the command type that described command message communication instruction in the present embodiment is corresponding, it it is the second terminal root Command property value or control bit according to input are determined, i.e. in order to send self-defining in the application layer of second terminal Privately owned order, needs the api interface of the second terminal to provide the access rights of FIS Type, and this mode can be (the most i.e. The directly assignment operation to FIS Type) or indirectly (represented it is self-defining command type by control bit), according to described Control bit in command property value in command message communication instruction, or described command message communication instruction i.e. can determine that described The command type that command message communication instruction is corresponding.Such as, the command property value in protocol communication instruction is 27h, it is known that current Described command type is privately owned order, or represents publicly-owned order at control bit for " 1 ", represents privately owned life at control bit for " 0 " Order, then described second terminal i.e. can determine that, according to the control bit of input, the order class that described command message communication instruction is corresponding Type.
Step S60, when described command type is privately owned order, it is corresponding that described second terminal obtains described privately owned order Privately owned command token identifies, and the described privately owned command token obtained mark is added in the heading of command message;
Step S70, the command message being added with described privately owned command token mark is sent to first by described second terminal In terminal, in the heading of described command message, extract privately owned command token for described first terminal and identify, and according to The reply data generation response message that described privately owned command token mark is corresponding, is added with the response report of reply data with feedback Literary composition.
In the present embodiment, when described command type is privately owned order, described second terminal presets look-up table second The privately owned command token of middle acquisition identifies, and the described privately owned command token obtained mark is added to the heading of command message In, then the command message being added with described privately owned command token mark is sent to first terminal, for described first eventually End extracts privately owned command token mark in the heading of described command message, and right according to described privately owned command token mark The reply data answered generates response message, is added with the response message of reply data with feedback.
Owing to the definition of current SATA protocol has PIO, (Programming Input/Output Model, CPU perform I/O end Mouthful instruction read-write data data exchange mode), DMA (Direct Memory Access, direct memory access), FPDMA Transmission means such as (First Party Direct Memory Access, Party A's direct memory access), wherein PIO transmission is relatively For DMA and FPDMA, efficiency to compare lowly, and the control of FPDMA transmission means is relative complex, is used under privately owned order communication Meaning is also little, and the transmission means of FPDMA do not supported by some machine, so using more common DMA transfer mode here, Therefore, in the present embodiment, the most described second terminal uses DMA transfer mode will to be added with described privately owned command token mark Command message sends to first terminal, and in like manner, first terminal is also to use DMA transfer mode to feed back response message.
Further, in the present embodiment, described Device i.e. first terminal and Host that is second terminal can be self-defined Scsi command.Such as in SCSI FIS, Command field 0X50 order represents Write Dma order (i.e. Host to Device Write the order of data), 0x51 order represents Read Dma order (i.e. the reading data command of Device to host), or permissible In turn (i.e. 0x50 represents that Read Dma, 0x51 represent write Dma), as long as Host and Device appoints the most permissible.
The message communication method that the present invention proposes, when receiving command message communication instruction, the second terminal determines first institute State the command type that command message communication instruction is corresponding, when described command type is privately owned order, obtain privately owned command token Mark, and the described privately owned command token obtained mark is added in the heading of command message, it is added with described the most at last The command message of privately owned command token mark sends to first terminal, described privately owned based on being added with for described first terminal The described command message of command token mark, feeds back corresponding response message rather than privately owned command token mark is added extremely The data field of packet sends to first terminal, it is to avoid when first terminal resolves identifier and identifying code within a data area, Logical data and the erroneous judgement of privately owned command token bag occur, the present invention improves the accuracy of protocol communication.
It is understood that this programme is equivalent to add in SATA protocol side the new FIS type of SCSI FIS, thus solve Determine and use publicly-owned order to realize the defect of privately owned order transmission at present, make employing SATA protocol carry out Related product exploitation, Development cost is reduced, and it is the most convenient to develop.Further, on the architecture basics not changing original SATA communications protocol, add (Frame Information Structures, privately owned command token bag are herein referred as to add the exclusive FIS TYPE of a class SCSI-FIS), (the second terminal to first is eventually for the transmission means of this kind of FIS TYPE and the current H2D FIS type of SATA protocol The communication process of end) similar, it is notable that and this FIS is equivalent to Host and sends the token of order to Deice, the most all Order transmit all initiated by this FIS, only the present invention is specific to SCSI FIS type, new owing to not increasing Structure, therefore, the cost of communication reduces.
The present invention further provides a kind of message communication device.
With reference to the high-level schematic functional block diagram that Fig. 7, Fig. 7 are message communication device first embodiment of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 7 is only a preferable reality Executing the exemplary plot of example, those skilled in the art, around the functional module of the message communication device shown in Fig. 7, can carry out new easily Functional module supplement;The title of each functional module is self-defined title, is only used for assisting and understands this message communication device Each program function block, is not used in restriction technical scheme, and the core of technical solution of the present invention is, each self-defined title Functional module function to be reached.
The present embodiment proposes a kind of message communication device, and described message communication device includes:
Extraction module 10, for when receiving the command message that the second terminal sends, at the message of described command message Command token mark is extracted in Tou;
First determines module 20, for determining the type of the described command token mark of extraction;
In the present embodiment, first terminal receive second terminal send command message time, described extraction module 10 First extracting command token mark in the heading of described command message, the most described first determines the module 20 institute to extracting State command token mark to be analyzed, to determine the type that described command token identifies, specifically according to described command token mark The type of the command property field in knowledge is determined, when the type of command property field is privately owned command property field, and can Determine that described command token is designated privately owned command token mark.
Acquisition module 30, for when the type that described command token identifies is privately owned command token mark, based on described Privately owned command token mark obtains reply data;
Feedback module 40, for generating response message according to the described reply data extracted, with by anti-for described response message It is fed to described second terminal.
Further, described first determines module 20, is additionally operable to determine current state;
Described acquisition module 30, is additionally operable to when described current state is idle condition, based on described privately owned command token Mark obtains reply data;
Described feedback module 40, is additionally operable to when described current state is busy state, to described second terminal feedback etc. Treat message;
Described acquisition module 30, is additionally operable to when described current state switches to idle condition from busy state, based on institute State privately owned command token mark and obtain reply data.
In the present embodiment, when the type that described command token identifies is privately owned command token mark, described first eventually End further determines that the order that described privately owned command token mark is corresponding, wherein, the life that described privately owned command token mark is corresponding Order has write order or read command etc., in the present embodiment, when the order that described privately owned command token mark is corresponding is read command, First combine described first and determine the current state that module 20 determines, if described first terminal is currently at idle condition, Ke Yili Carving the privately owned order responding described second terminal, the most described acquisition module 30 obtains reply data, this reality according to described read command Execute in example, preferably preset acquisition reply data in look-up table according to described read command first, and described feedback module 40 will The described reply data obtained adds to the heading of described response message, will be added with the response report of described reply data Literary composition feeds back to described second terminal;If described first terminal is currently at busy state, it is impossible to respond described second terminal at once Privately owned order, the most described acquisition module 30 can preset the pending data such as acquisition in look-up table, and described feedback module first In the 40 described headings waiting pending data to add extremely wait message that will extract, so that the described wait report waiting pending data will be added with Literary composition feeds back to described second terminal, and when described current state switches to idle condition from busy state, described acquisition module 30 just preset look-up table based on described privately owned command token mark first obtains reply data, and described feedback module 40 Response message is generated, described response message to be fed back to described second terminal according to the described reply data obtained.
For being best understood from this enforcement, it is exemplified below: with reference to Fig. 2, the i.e. main frame of the second terminal sends Register FIS Host To Device i.e. includes privately owned command token to first terminal i.e. equipment end, described Register FIS Host to Device The command message of mark, now, described equipment end analyzes described Register FIS Host to Device, described analyzing When the order of privately owned command token mark correspondence is read command, determine current status information further, if current state Information is idle, and the most described equipment end presets acquisition reply data look-up table from first, in described reply data i.e. Fig. 2 Data FIS (Data Frame Information Structures, Frame Information Structure, i.e. reply data), and answer described Answer is according to adding to described command message to feed back to described main frame.After feeding back successfully, described first terminal extracts The status data of Register FIS Device to Host is to described second terminal, to represent sign off.
In like manner, when the order that described privately owned command token mark is corresponding is write order, described first terminal is the most first tied Close current state, if described first terminal is currently at busy state, it is impossible to respond the privately owned order of described second terminal at once, The most described acquisition module 30 can preset in look-up table the pending datas such as extraction first, and adds the pending data such as described to waiting report Feeding back to the second terminal in literary composition, until described first terminal is currently at idle condition, the most described acquisition module 30 is according to institute State read command in described first preset table, extract reply data, and described feedback module 40 adds reply data to response To feed back to described second terminal in message, send for described second terminal and wait to write data in described first terminal, with complete Become the operation of write order.In like manner, after data write successfully, described first terminal sends Register FIS Device to Host is to described second terminal, to represent sign off.
In the present embodiment, in order to improve the accuracy of message communication, with reference to Fig. 8, described acquisition mould 30 includes:
Comparing unit 31, for when the type that described command token identifies is privately owned command token mark, by described private The privately owned command token mark having command token mark and prestore is compared;
Acquiring unit 32, for there being the privately owned command token prestored mark to mate with described privately owned command token mark Time, obtain the reply data that described privately owned command token mark is corresponding.
In the present embodiment, when the type that described command token identifies is privately owned command token mark, described comparison list The described privately owned command token extracted mark is preset the privately owned command token mark prestored in look-up table by unit 31 with described first Comparing, only presetting described first has the privately owned command token mark prestored and the described privately owned order extracted in look-up table During token identifications coupling, described acquiring unit 32 just presets look-up table acquisition based on described privately owned command token mark first should Answer evidence, if described first presets the privately owned command token mark and described privately owned command token mark not prestored in look-up table During coupling, the most described first terminal thinks that described privately owned command token mark is illegal, does not obtain reply data.It is appreciated that , described first terminal and described second terminal message communication to be carried out, both sides need to prestore identical look-up table, therefore First of first terminal described in invention presets look-up table, and to preset look-up table with the second of described second terminal identical, and second presets Look-up table describes in detail in embodiments below, and therefore, described second presets look-up table and described first presets look-up table such as Fig. 4 institute Show, say, that the privately owned command token that described feedback module 40 obtains in presetting search second identifies and sends to described During first terminal, described first terminal needs first to judge that first presets look-up table and the most also prestore described privately owned command token mark Knowing, if prestoring described privately owned command token mark, just performing follow-up operation.At the present embodiment, be equivalent to described first eventually End increases a judgment mechanism, need to realize Effective judgement in each level of SATA, as LINKER layer needs to identify SCSI- FIS (privately owned command token mark) is legal FIS type, otherwise can be mistakenly considered Unrecognized FIS types (i.e. Illegal privately owned command token identifies), control decision logic owing to this judgment mechanism only need to increase part at each layer of agreement Realize, so cost will not substantially be increased.
In this embodiment, when the type that described command token identifies is privately owned command token mark, described first terminal Described privately owned command token mark is preset the privately owned command token mark prestored in look-up table with described first compare, only Described privately owned command token mark preset with described first the privately owned command token prestored in look-up table identify mate time, described First terminal is just preset look-up table based on described privately owned command token mark described first and is obtained reply data, it is therefore prevented that receive To illegal privately owned command token identify time, also feed back reply data, improve reply data feedback accuracy.
The present embodiment propose message communication device, first terminal receive second terminal send command message time, In the heading of described command message, first extract command token mark, it is then determined that the described command token mark extracted Type, when the type that described command token identifies is privately owned command token mark, obtains based on described privately owned command token mark Take reply data, finally generate response message according to the described reply data obtained, described so that described response message is fed back to Second terminal rather than get second terminal send command message time, if being resolved to identifier first data field And during identifying code, be considered as that this command message carries is all privately owned order, if be not resolved to mark first data field When knowing symbol and identifying code, it is believed that what this command message carried is all logical data, thus the response message of feedback is caused to have from machine By mistake, the present invention extracts command token mark in the heading of described command message, and carries out described command token mark Resolve, to determine the type that command token identify, final feedback corresponding response message, it is to avoid privately owned order and logical data Erroneous judgement, thus improve the accuracy of message communication.
Further, in order to improve the motility of message communication, based on first embodiment, message communication of the present invention dress is proposed The second embodiment put, in the present embodiment, with reference to Fig. 9, described message communication device includes:
Second determines module 50, for when receiving command message communication instruction, determines that described command message communication refers to The command type that order is corresponding;
Processing module 60, for when described command type is privately owned order, obtains corresponding privately owned of described privately owned order Command token identifies, and the described privately owned command token obtained mark is added in the heading of command message;
Sending module 70, for sending the command message being added with described privately owned command token mark to first terminal In, in the heading of described command message, extract privately owned command token mark for described first terminal, and according to described The reply data generation response message that privately owned command token mark is corresponding, is added with the response message of reply data with feedback.
In the present embodiment, described privately owned command token mark is generated by presetting module, and described presetting module includes generating Module and memory module, wherein:
Described generation module, for receiving the privately owned command property field of input in default application programming interfaces Time, generate privately owned command token mark according to described privately owned command property field;
Described memory module, for storing the described privately owned command token mark of generation.
It should be appreciated that at present all effective FIS-TYPE (i.e. command token mark), such as Fig. 4 in SATA protocol In 27h (H2D-FIS), be current SATA protocol sends all of order before a FIS type all must sending, we Case SCSI-FIS function to be added is completely and H2D-FIS is completely the same, i.e. plays and sends " the command token mark " ordered. Why wanting a newly added SCSI-FIS to be able to differentiation is that H2D-FIS (i.e. distinguishes the mark whether SATA protocol defines Quasi-order), knowable to accompanying drawing 4, A6, B8, BF etc. are the values retained, and this kind of numeral therefore can be used to represent, and SCSI-FIS is i.e. Can.Because the function of SCSI FIS is the most consistent with H2D FIS, so SCSI FIS structure is the most the same with H2D FIS, such as figure Shown in 6, so can the existing logical structure of multiplexing to greatest extent, without increasing new structure, therefore, message communication Cost also will not increase.
In the present embodiment, when default application programming interfaces receive the privately owned command property field of input, institute State generation module described privately owned command property field to be added to the token identifications template preset, described default application program Interface is API (Application Programming Interface, application programming interface), say, that the present invention Described in privately owned command token mark actually the privately owned command property field that user inputs is added to the token mark preset Knowing generation in template, described token identifications template is with reference to Fig. 6, and final described generation module can generate a privately owned command token Mark, the described privately owned command token mark that the storage of the most described memory module generates, in like manner, described memory module preferably will be raw The described privately owned command token mark storage become is preset in look-up table to described second.It should be noted that first terminal In also will input privately owned command property field time add to preset token identifications template in, to generate privately owned order Token identifications, and, it is that the described privately owned command token generated mark storage is preset in look-up table, also to described first equally That is, the communication between the second terminal and first terminal to be realized, need to appoint between the second terminal and first terminal, The look-up table that follow-up direct basis is reserved in advance communicates.
In the present embodiment, described second determines that module 50, when receiving command message communication instruction, determines described life The embodiment making the command type of message communication instruction correspondence includes:
When receiving command message communication instruction, described second terminal is according to the life in described command message communication instruction Property value is made to determine the command type that described command message communication instruction is corresponding;
Or, when receiving command message communication instruction, described second terminal is according to described command message communication instruction In control bit determine the command type that described command message communication instruction is corresponding.
It is to say, the command type that described command message communication instruction in the present embodiment is corresponding, it it is the second terminal root Command property value or control bit according to input are determined, i.e. in order to send self-defining in the application layer of second terminal Privately owned order, needs the api interface of the second terminal to provide the access rights of FIS Type, and this mode can be (the most i.e. The directly assignment operation to FIS Type) or indirectly (represented it is self-defining command type by control bit), according to described Control bit in command property value in command message communication instruction, or described command message communication instruction i.e. can determine that described The command type that command message communication instruction is corresponding.Such as, the command property value in protocol communication instruction is 27h, it is known that current Described command type is privately owned order, or represents publicly-owned order at control bit for " 1 ", represents privately owned life at control bit for " 0 " Order, then described second determines that module 50 i.e. can determine that, according to the control bit of input, the life that described command message communication instruction is corresponding Make type.
In the present embodiment, when described second determines that module 50 determines that described command type is privately owned order, described Processing module 60 is preset second and is obtained privately owned command token mark in look-up table, and the described privately owned command token mark that will obtain Knowing in the heading adding command message to, the most described sending module 70 will be added with the life of described privately owned command token mark Make message send to first terminal, in the heading of described command message, extract privately owned order for described first terminal Token identifications, and generate response message according to the reply data that described privately owned command token mark is corresponding, being added with feedback should The response message of answer evidence.
Owing to the definition of current SATA protocol has PIO, (Programming Input/Output Model, CPU perform I/O end Mouthful instruction read-write data data exchange mode), DMA (Direct Memory Access, direct memory access), FPDMA Transmission means such as (First Party Direct Memory Access, Party A's direct memory access), wherein PIO transmission is relatively For DMA and FPDMA, efficiency to compare lowly, and the control of FPDMA transmission means is relative complex, is used under privately owned order communication Meaning is also little, and the transmission means of FPDMA do not supported by some machine, so using more common DMA transfer mode here, Therefore, in the present embodiment, preferred described sending module 70 DMA transfer mode will be added with described privately owned command token mark Command message sends to first terminal, and in like manner, first terminal is also to use DMA transfer mode to feed back response message.
Further, in the present embodiment, described Device i.e. first terminal and Host that is second terminal can be self-defined Scsi command.Such as in SCSI FIS, Command field 0X50 order represents Write Dma order (i.e. Host to Device Write the order of data), 0x51 order represents Read Dma order (i.e. the reading data command of Device to host), or permissible In turn (i.e. 0x50 represents that Read Dma, 0x51 represent write Dma), as long as Host and Device appoints the most permissible.
The message communication device that the present embodiment proposes, when receiving command message communication instruction, the second terminal determines elder generation The command type that described command message communication instruction is corresponding, when described command type is privately owned order, obtains privately owned command commands Board identifies, and the described privately owned command token obtained mark is added in the heading of command message, is added with institute the most at last The command message stating privately owned command token mark sends to first terminal, for described first terminal based on being added with described private There is the described command message that command token identifies, feed back corresponding response message rather than privately owned command token mark is added Send to first terminal to the data field of packet, it is to avoid first terminal resolves identifier and identifying code within a data area Time, logical data and the erroneous judgement of privately owned command token bag occur, the present invention improves the accuracy of protocol communication.
It is understood that this programme is equivalent to add in SATA protocol side the new FIS type of SCSI FIS, thus solve Determine and use publicly-owned order to realize the defect of privately owned order transmission at present, make employing SATA protocol carry out Related product exploitation, Development cost is reduced, and it is the most convenient to develop.Further, on the architecture basics not changing original SATA communications protocol, add (Frame Information Structures, privately owned command token bag are herein referred as to add the exclusive FIS TYPE of a class SCSI-FIS), (the second terminal to first is eventually for the transmission means of this kind of FIS TYPE and the current H2D FIS type of SATA protocol The communication process of end) similar, it is notable that and this FIS is equivalent to Host and sends the token of order to Deice, the most all Order transmit all initiated by this FIS, only the present invention is specific to SCSI FIS type, new owing to not increasing Structure, therefore, the cost of communication reduces.
It should be noted that in this article, term " includes ", " comprising " or its other variant any are intended to non-row Comprising of his property, so that include that the process of a series of key element, method, article or device not only include those key elements, and And also include other key element being not expressly set out, or also include intrinsic for this process, method, article or device Key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including this The process of key element, method, article or device there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-described embodiment side Method can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but a lot of in the case of The former is more preferably embodiment.Based on such understanding, prior art is done by technical scheme the most in other words The part going out contribution can embody with the form of software product, and this computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, take Business device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skill Art field, is the most in like manner included in the scope of patent protection of the present invention.

Claims (10)

1. a message communication method, it is characterised in that described message communication method comprises the following steps:
First terminal, when receiving the command message that the second terminal sends, extracts life in the heading of described command message Make token identifications;
Described first terminal determines the type of the described command token mark of extraction;
When the type that described command token identifies is privately owned command token mark, described first terminal is based on described privately owned order Token identifications obtains reply data;
Described first terminal generates response message according to the described reply data extracted, described to be fed back to by described response message Second terminal.
2. message communication method as claimed in claim 1, it is characterised in that described first terminal is based on described privately owned command commands Before board mark obtains the step of reply data, described message communication method also includes:
Described first terminal determines current state;
When described current state is idle condition, performing described first terminal should based on the mark acquisition of described privately owned command token The step of answer evidence;
When described current state is busy state, described first terminal waits message to described second terminal feedback, and in institute State current state when busy state switches to idle condition, perform described first terminal and identify based on described privately owned command token Obtain the step of reply data.
3. message communication method as claimed in claim 1, it is characterised in that the described type that identifies in described command token is During privately owned command token mark, described first terminal obtains the step bag of reply data based on described privately owned command token mark Include:
When the type that described command token identifies is privately owned command token mark, described first terminal is by described privately owned command commands Board mark is compared with the privately owned command token mark prestored;
When there being the privately owned command token prestored mark to mate with described privately owned command token mark, described first terminal obtains institute State the reply data that privately owned command token mark is corresponding.
4. a message communication method, it is characterised in that described message communication method comprises the following steps:
When receiving command message communication instruction, the second terminal determines the order class that described command message communication instruction is corresponding Type;
When described command type is privately owned order, described second terminal obtains the privately owned command token that described privately owned order is corresponding Mark, and the described privately owned command token obtained mark is added in the heading of command message;
The command message being added with described privately owned command token mark is sent to first terminal by described second terminal, for institute State first terminal in the heading of described command message, extract privately owned command token mark, and according to described privately owned command commands The reply data generation response message that board mark is corresponding, is added with the response message of reply data with feedback.
5. message communication method as claimed in claim 4, it is characterised in that described receiving command message communication instruction Time, before the second terminal determines the step of the command type that described command message communication instruction is corresponding, described message communication method Also include:
When receiving the privately owned command property field of input in default application programming interfaces, described second terminal is according to described Privately owned command property field generates privately owned command token mark;
The described privately owned command token mark that described second terminal storage generates.
6. a message communication device, it is characterised in that described message communication device includes:
Extraction module, for when receiving the command message that the second terminal sends, carrying in the heading of described command message Taking-up command token identifies;
First determines module, for determining the type of the described command token mark of extraction;
Acquisition module, for when the type that described command token identifies is privately owned command token mark, based on described privately owned life Token identifications is made to obtain reply data;
Feedback module, for generating response message according to the described reply data extracted, so that described response message is fed back to institute State the second terminal.
7. message communication device as claimed in claim 6, it is characterised in that described first determines module, is additionally operable to determine and works as Front state;
Described acquisition module, is additionally operable to when described current state is idle condition, obtains based on described privately owned command token mark Take reply data;
Described feedback module, is additionally operable to when described current state is busy state, waits message to described second terminal feedback;
Described acquisition module, is additionally operable to when described current state switches to idle condition from busy state, based on described privately owned Command token mark obtains reply data.
8. message communication device as claimed in claim 6, it is characterised in that described acquisition module includes:
Comparing unit, for when the type that described command token identifies is privately owned command token mark, by described privately owned order Token identifications is compared with the privately owned command token mark prestored;
Acquiring unit, for when there being the privately owned command token prestored mark to mate with described privately owned command token mark, obtaining The reply data that described privately owned command token mark is corresponding.
9. a message communication device, it is characterised in that described message communication device includes:
Second determines module, for when receiving command message communication instruction, determines that described command message communication instruction is corresponding Command type;
Processing module, for when described command type is privately owned order, obtains the privately owned command commands that described privately owned order is corresponding Board identifies, and the described privately owned command token obtained mark is added in the heading of command message;
Sending module, for the command message being added with described privately owned command token mark is sent to first terminal, for Described first terminal extracts privately owned command token mark in the heading of described command message, and according to described privately owned order The reply data that token identifications is corresponding generates response message, is added with the response message of reply data with feedback.
10. message communication device as claimed in claim 9, it is characterised in that described message communication device also includes:
Generation module, during for receiving the privately owned command property field of input in default application programming interfaces, according to institute State privately owned command property field and generate privately owned command token mark;
Memory module, for storing the described privately owned command token mark of generation.
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 true CN106095713A (en) 2016-11-09
CN106095713B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729117A (en) * 2017-10-30 2019-05-07 华为技术有限公司 A kind of method of Message processing, chip system and computer storage medium

Citations (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
CN104283749A (en) * 2014-09-25 2015-01-14 烽火通信科技股份有限公司 Communication system based on RS-485 half-duplex bus and service disc communication upgrading method
CN105607874A (en) * 2015-12-31 2016-05-25 湖南国科微电子股份有限公司 SATA (Serial advanced technology attachment) protocol acceleration module, host and hard disk communication method, as well as solid state drive controller

Patent Citations (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
CN104283749A (en) * 2014-09-25 2015-01-14 烽火通信科技股份有限公司 Communication system based on RS-485 half-duplex bus and service disc communication upgrading method
CN105607874A (en) * 2015-12-31 2016-05-25 湖南国科微电子股份有限公司 SATA (Serial advanced technology attachment) protocol acceleration module, host and hard disk communication method, as well as solid state drive controller

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
荆旭: "基于FPGA的SATA协议分析及收发控制器设计", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN106095713B (en) 2019-05-03

Similar Documents

Publication Publication Date Title
CN106453415B (en) Block chain-based equipment authentication method, authentication server and user equipment
EP2745541B1 (en) Method and apparatus for accessing virtual smart cards
CN103037538B (en) Data transmission method and mobile terminal
CN103152402A (en) Method and system for logging in through mobile terminal and cloud server
CN103369707A (en) Wireless network connection establishing method and terminal equipment
CN105338659B (en) A kind of equipment connection method and terminal
EP3099090A1 (en) Network locking or card locking method and device for a mobile terminal, terminal, sim card, storage media
CN106487762A (en) The recognition methodss of user identity, identification applications client and server
CN104488303A (en) Device and method for accessing to wireless network
CN109587252A (en) Loading method, device, electronic equipment and the storage medium of operator parameter
CN103595790A (en) Remote accessing method for device, thin client side and virtual machine
CN106101984B (en) A kind of the security module management method and terminal of NFC Mobile payment terminal
CN107168765A (en) A kind of method and system of remote compilation software
WO2014067547A1 (en) Nfc controller architecture for emulation of multiple nfc-a devices
CN101719212B (en) Identification method and device of serial-port card reader
CN114297685A (en) Product key burning method, system, device, terminal equipment and storage medium
CN112801655B (en) Payment card migration method, device, electronic equipment, server and medium
CN106534342A (en) Connection control method and system, and hosts
CN106095713A (en) Message communication method and device
CN109918877A (en) A kind of data ciphering method, system, client and computer readable storage medium
US20110225499A1 (en) Network device
CN104796532A (en) Method and device for destroying mobile terminal
CN105653412A (en) Fingerprint device compatibility detection method and terminal
CN106919812A (en) A kind of application process right management method and device
CN104902476A (en) Control method for Bluetooth security management

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
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.