Message serialization negotiation method and service providing equipment

A serialization and deserialization technology, applied in the field of communication, can solve the problem of high data interaction complexity between service users and service providers, achieve the effect of reducing access costs and improving extended support

Active Publication Date: 2017-11-07
UNION MOBILE PAY
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a message serialization negotiation method and service providing equipment, which are used to solve the problem in the prior art that the service user and the service provider have a problem of frequent interactions between the service user and the service provider. Higher complexity technical issues of data interaction between

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message serialization negotiation method and service providing equipment
  • Message serialization negotiation method and service providing equipment
  • Message serialization negotiation method and service providing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] See figure 1 , the embodiment of the present invention provides a packet serialization negotiation method, which is applied to a service providing device. The process of the method can be described as follows:

[0050] S100: Receive a request message sent by a service using device that communicates with the service providing device; wherein, the request message includes message serialization negotiation parameters and interaction data that the service using device requests to interact with the service providing device, and the message sequence The optimization negotiation parameter is used to indicate the packet serialization mode of the interaction data;

[0051] S200: Determine the first packet serialization method corresponding to the packet serialization negotiation parameters among the multiple stored packet serialization methods;

[0052] S300: Perform deserialization processing on the request packet according to the first packet serialization manner to obtain in...

Embodiment 2

[0080] Based on the same inventive concept, see figure 2 , the embodiment of the present invention also provides a service providing device, including a service processing module 21 and a packet serialization module 22 .

[0081] Wherein, the service processing module 21 is configured to receive a request message sent by a service using device that communicates with the service providing device; wherein, the request message includes message serialization negotiation parameters and the request of the service using device Interaction data interacted with the service providing device, the packet serialization negotiation parameter is used to indicate the packet serialization mode of the interaction data;

[0082] A message serialization module 22, configured to determine the first message serialization mode corresponding to the message serialization negotiation parameter among the multiple stored message serialization modes; and,

[0083] Perform deserialization processing on t...

Embodiment 3

[0096] A computer device is also provided in the embodiment of the present invention, please refer to image 3 As shown, the computer device includes a processor 31 and a memory 32, wherein the processor 31 is configured to implement the steps of the packet serialization negotiation method provided in the embodiment of the present invention when executing the computer program stored in the memory 32.

[0097] Optionally, the processor 31 may specifically be a central processing unit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), may be one or more integrated circuits for controlling program execution, and may use a field programmable gate array ( The hardware circuit developed by Field Programmable Gate Array (FPGA) can be a baseband processor.

[0098] Optionally, the processor 31 may include at least one processing core.

[0099] Optionally, the electronic device further includes a memory 32, and the memory 32 may include a read...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a message serialization negotiation method and service providing equipment used for solving the technical problem of high data interaction complexity between a service consumer and a service provider in the prior art because of more interaction between the service consumer and the service provider. The message serialization negotiation method comprises the following steps: receiving a request message transmitted by service use equipment which is in communication connection with the service providing equipment, wherein the request message comprises a message serialization negotiation parameter and interactive data which are requested by the service use equipment to be interacted with the service providing equipment, and the message serialization negotiation parameter is used for indicating message serialization modes of the interactive data; determining a first message serialization mode which is corresponding to the message serialization negotiation parameter in a plurality of stored message serialization modes; and performing deserialization processing on the request message according to the first message serialization mode, and obtaining the interactive data.

Description

technical field [0001] The invention relates to the communication field, in particular to a message serialization negotiation method and service providing equipment. Background technique [0002] With the development of Internet services, service-oriented communication networks have become a trend. [0003] At present, before the data exchange between the service user and the service provider, there will be a message serialization negotiation interaction. That is: after the service user and the service provider establish a Hypertext Transfer Protocol (HTTP) connection, the service user and the service provider exchange the supported message serialization methods through the Accept field of the HTTP protocol header, and wait for the two parties to After understanding the packet serialization methods supported by each, the service user can choose the packet serialization method supported by both parties to interact with the service provider. [0004] However, under normal ci...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/142H04L69/18H04L69/24
Inventor 殷舒刘胜陈正余兴华汤成山
Owner UNION MOBILE PAY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products