A 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 complexity of data interaction between service users and service providers, and achieve the effect of reducing access costs and improving expansion support.

Active Publication Date: 2020-01-03
UNION MOBILE PAY
View PDF4 Cites 0 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
  • A message serialization negotiation method and service providing equipment
  • A message serialization negotiation method and service providing equipment
  • A 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] The service processing module 21 is configured to receive a request message sent by a service consuming device that is in communication connection with the service providing device; wherein the request message includes a message serialization negotiation parameter and a request from the service consuming device. Interaction data for interacting with the service providing device, and the message serialization negotiation parameter is used to indicate the message serialization mode of the interaction data;

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

[0083] Perform dese...

Embodiment 3

[0096] An embodiment of the present invention also provides a computer device, please refer to image 3 As shown, the computer device includes a processor 31 and a memory 32, where 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, a specific application integrated circuit (Application Specific Integrated Circuit, ASIC), may be one or more integrated circuits for controlling program execution, may be 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 only memory (R...

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 present invention relates to the field of communications, in particular to a message serialization negotiation method and service providing device. Background technique [0002] With the development of Internet services, the servitization of communication networks has become a trend. [0003] At present, before the data exchange between the service consumer and the service provider, a negotiation and interaction of packet serialization will be carried out. That is: after the service user and the service provider establish a Hyper Test Transfer Protocol (HTTP) connection, the service user and the service provider exchange their supported message serialization methods through the Accept field of the HTTP protocol header. After knowing the packet serialization methods supported by each, the service user selects the packet serialization method supported by both parties to exchange data with the service provider. [0004] But usually, there may be mor...

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
Patent Type & Authority Patents(China)
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