CN106790215B - Peer-to-peer service interaction control method and system - Google Patents
Peer-to-peer service interaction control method and system Download PDFInfo
- Publication number
- CN106790215B CN106790215B CN201710015729.XA CN201710015729A CN106790215B CN 106790215 B CN106790215 B CN 106790215B CN 201710015729 A CN201710015729 A CN 201710015729A CN 106790215 B CN106790215 B CN 106790215B
- Authority
- CN
- China
- Prior art keywords
- service
- terminal
- mobile terminal
- internet platform
- network node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a peer-to-peer service interaction control method and a system, wherein the control method comprises an uplink service interaction control mode and a downlink service interaction control mode, wherein the uplink service is initiated by a mobile terminal, and an internet platform responds; the downlink service is initiated by the internet platform, and the mobile terminal responds. The service interaction state control method designed and realized by the invention solves the problems of service state caching and interaction process continuity, enables the platform to actively initiate service requests to the mobile terminal, automatically completes each linkage response mechanism according to the corresponding service interaction process flow, and accurately completes each service interaction.
Description
Technical Field
The invention relates to a peer-to-peer service interaction control method and a peer-to-peer service interaction control system.
Background
Under the high-speed development of modern mobile communication technology and the large background of the internet +, a large number of industry mobile terminals and terminal application software are developed in various industries, the applications are usually designed as contents or service users, the internet platform is a provider, the service interaction is initiated by the mobile terminal, the internet platform gives corresponding response, the service is ended after the response, and the internet platform does not need to perform operations such as caching, identification and the like on the service state from the mobile terminal. And in some special industries, the mobile terminal is required to be designed into the same role as the internet platform, namely: both parties can be both providers and consumers, so this simple "request-response" approach does not meet this need.
Therefore, the invention designs a peer-to-peer service interaction control method and system for solving the application problem, which can effectively solve the problem that the Internet platform has no client state cache identification and the problem that the mobile terminal cannot acquire the content or service in real time.
Disclosure of Invention
The invention provides a peer-to-peer service interaction control method and system for solving the problems, which effectively solve the problem that an Internet platform has no client-side state cache identification and solve the problem that the content or service can not be acquired from a mobile terminal in real time.
In order to achieve the purpose, the invention adopts the technical scheme that:
a peer-to-peer service interaction control method is divided into the following two interaction control modes:
an uplink service interaction control mode, comprising the steps of:
step 3, the terminal mirror image obtains the corresponding service node through the service identification of the service interaction;
step 4, when the service node is adapted to a service interface in the service pool of the Internet platform, caching the current context relationship;
step 5, a service interface in the service pool of the Internet platform responds to the service interaction request, service processing is carried out, and after the service processing is finished, a return path is found through the context of the service node and is returned layer by layer;
step 6, when the context of the service node is found to have the linkage service requirement in the returning process in the step 5, the returning is interrupted firstly, the steps 4 and 5 are repeated until no linkage service skipping requirement exists, the layer-by-layer returning is carried out, and the corresponding context is cleared;
step 7, after the service interaction returns to the terminal mirror image, returning the final response result to the mobile terminal from the network node entrance of the terminal mirror image;
a downlink traffic interaction control mode, comprising the steps of:
step 8, the Internet platform actively initiates a service interaction request to the mobile terminal through a service node in the network node;
step 9, in the service node, mapping the service destination to the corresponding terminal mirror image through the terminal identification of the interactive data; meanwhile, service interaction data are encapsulated in the service node according to the interactive data structure definition, and the current context relationship is recorded;
step 10, obtaining a corresponding service interface from the service pool through the service identifier of the service node, and performing corresponding service processing;
step 11, sending the packaged interactive data from the internet platform service pool to a real mobile terminal through a current network node inlet in the terminal mirror image;
step 12, the mobile terminal responds according to the received service interaction request;
step 13, the service data responded by the mobile terminal reaches the corresponding terminal mirror image through the network node entrance;
step 14, the terminal mirror image obtains the context of the state point of the service cache from the service node by responding the service identifier of the data;
step 15, the initiating service node processes the response data correspondingly, and determines the subsequent flow direction of the service through the context;
and step 16, repeatedly executing the steps 8 and 9 according to the context of the state point cached in each service node until no linkage requirement of related services exists, returning layer by layer, clearing the corresponding context, and finishing service interaction.
The service interaction is to use a TCP/IP network communication frame as a carrier, package interactive data between a mobile terminal and an Internet platform according to formats, and transmit the data by adopting a network byte order big-end mode, wherein the network bytes comprise:
start and end markers to indicate the integrity of the packet data;
the check code is used for checking whether the data is tampered in the data transmission process, so that the data accuracy is guaranteed;
the mobile terminal identification is used for representing the identity ID of the mobile terminal equipment and has uniqueness;
the service identifier is used for representing the service function classification ID and has uniqueness;
the additional attribute is used for explaining the special attribute of the service data, and the special attribute can be divided into packets or compressed or encrypted or the length of a service data block;
the serial number identification is used for representing a certain data interaction of a certain service, and the serial number identification is unique for the certain service interaction;
the sub-package item is used for identifying the index of the current interactive data in the total sub-package data and the total sub-package quantity, belongs to a selectable item, and determines whether the item structure exists according to whether the sub-package identification exists in the additional attribute; and
and the service data block is used for representing the interactive data content of the specific service.
The mobile terminal identification is managed, distributed and authenticated by a terminal authentication manager of the Internet platform, when a new mobile terminal is accessed, the mobile terminal needs to firstly request registration from the terminal authentication manager of the Internet platform, after the registration is successful, the Internet platform automatically distributes an identity ID which can uniquely represent the terminal and is called as a terminal ID, the mobile terminal needs to persistently store the terminal ID, and if the terminal ID is lost, the mobile terminal needs to reapply the terminal authentication manager of the Internet platform;
when the terminal authentication manager receives a mobile terminal registration application, if the terminal is a registered terminal, the terminal authentication manager directly returns the allocated terminal ID, otherwise, a new terminal ID is allocated to the mobile terminal;
after obtaining the terminal ID, the mobile terminal sends a login request to a terminal authentication manager of the Internet platform for identity authentication, if the terminal is a legal terminal, an access point of a network node is allocated to the terminal, and if the terminal is not the legal terminal, the access is refused;
the terminal authentication manager is responsible for distributing network nodes, and the distribution strategy is to perform load operation according to an internet platform network node information table and distribute the node with the minimum load capacity to the mobile terminal.
The network nodes are service entrances of the Internet platform and are distributed in the Internet; when the network node is started, the network node needs to report the position, the state and the access point information of the network node to a terminal authentication manager, and periodically report the current load capacity so that the terminal authentication manager can perform balanced distribution on the network node;
after the mobile terminal successfully accesses the network node, the network node is triggered to report the self state to the terminal authentication manager, then a terminal mirror image is generated for the mobile terminal in a terminal mirror image list, the terminal mirror image comprises a platform service node list which is allowed to be used by the mobile terminal, and a service state cache point is set for each service node.
A special service interaction control system, comprising:
the mobile terminal is used for initiatively initiating a registration and authentication request to the terminal authentication manager, disconnecting the access point of the Internet platform from the terminal authentication manager, forwarding the access point to the obtained network node, and keeping a long-chain connection state with the obtained network node, wherein the long-chain connection state is effective for a long time unless abnormality occurs or the mobile terminal actively exits;
the terminal authentication manager is used for providing mobile terminal information management and identity authentication and is responsible for load balancing work of network nodes distributed on the Internet platform; the terminal authentication manager comprises a network node information table, the network node information table of the Internet platform maintains all network node information, and the network node information comprises the position, the current running state and the current load information;
a network node, which refers to any access point of the internet platform, and the network node needs to report the self state to the terminal authentication manager; the network node comprises a terminal mirror image and a service state; the terminal mirror image refers to a virtualized mobile terminal and is generated by accessing the mobile terminal into a network node, and the terminal mirror image is responsible for all interactive work of an internet platform and the mobile terminal; the service nodes are maintained by the terminal mirror image, and specifically refer to all services of which the terminal mirror image can interact with an Internet platform, namely each service exists in a node form, and can be quickly mapped to a corresponding service from an Internet platform service pool through a service node ID to respond, each service node has a corresponding service state, the service state records context information for executing the service, the context information comprises a requester, a service execution state and next node path information, and the context information is used for ensuring accurate response of subsequent linkage service processing; and
the service pool of the Internet platform refers to all service interaction services which can be provided by the Internet platform, each service interaction exists in an independent component form and is in a discrete relation with each other, each interaction service of the service pool of the Internet platform is provided with a service interface which is used for being matched with a service node, and when the Internet platform receives a service interaction request from a mobile terminal, a corresponding service entrance can be found by matching the service node ID of a terminal mirror image to the corresponding service interface.
After the technical scheme is adopted, the invention has the beneficial effects that: the method effectively solves the problems that the Internet platform can not actively initiate service interaction and linkage service can not be responded due to the lack of effective service state cache management of the service interaction between the Internet platform and the mobile terminal, and avoids the influence on the design of the service flow of the Internet platform.
The present invention will be described in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a structural diagram of a special service interaction control system according to the present invention;
fig. 2 is a structural relationship diagram of a terminal mirror image list and a service node list;
FIG. 3 is a timing diagram showing a complete business interaction process;
fig. 4 is a flowchart of uplink service interaction control;
fig. 5 is a flowchart of uplink service interaction control.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects of the present invention more clear and obvious, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention discloses a peer-to-peer service interaction control method, which is divided into the following two interaction control modes:
the uplink service interaction control mode, as shown in fig. 4, includes the following steps:
step 3, the terminal mirror image obtains the corresponding service node through the service identification of the service interaction;
step 4, when the service node is adapted to the service interface in the service pool, caching the current context;
step 5, a service interface in the service pool of the Internet platform responds to the service interaction request, service processing is carried out, and after the service processing is finished, a return path is found through the context of the service node and is returned layer by layer;
step 6, when the context of the service node is found to have the linkage service requirement in the returning process in the step 5, the returning is interrupted firstly, the steps 4 and 5 are repeated until no linkage service skipping requirement exists, the layer-by-layer returning is carried out, and the corresponding context is cleared;
step 7, after the service interaction returns to the terminal mirror image, returning the final response result to the mobile terminal from the network node entrance of the terminal mirror image;
the downlink traffic interaction control mode, as shown in fig. 5, includes the following steps:
step 8, the Internet platform actively initiates a service interaction request to the mobile terminal through a service node in the network node;
step 9, in the service node, mapping the service destination to the corresponding terminal mirror image through the terminal identification of the interactive data; meanwhile, service interaction data are encapsulated in the service node according to the interactive data structure definition, and the current context relationship is recorded;
step 10, obtaining a corresponding service interface from the service pool through the service identifier of the service node, and performing corresponding service processing;
step 11, sending the packaged interactive data from the internet platform service pool to a real mobile terminal through a current network node inlet in the terminal mirror image;
step 12, the mobile terminal responds according to the received service interaction request;
step 13, the service data responded by the mobile terminal reaches the corresponding terminal mirror image through the network node entrance;
step 14, the terminal mirror image obtains the context of the state point of the service cache from the service node by responding the service identifier of the data;
step 15, the initiating service node processes the response data correspondingly, and determines the subsequent flow direction of the service through the context;
and step 16, repeatedly executing the steps 8 and 9 according to the context of the state point cached in each service node until no linkage requirement of related services exists, returning layer by layer, clearing the corresponding context, and finishing service interaction.
The uplink service is initiated by the mobile terminal, and the Internet platform responds; the downlink service is initiated by the internet platform, and the mobile terminal responds.
The service interaction is to use a TCP/IP network communication frame as a carrier, package interactive data between a mobile terminal and an Internet platform according to formats (the data formats are shown in the following table), and transmit the data in a network byte order big-end mode;
start mark | Check code | Mobile terminal identification | Service identification | Additional Properties | Serial number | Subpackaging item | Service data block | |
|
1 |
1 byte | 8 |
2 |
2 |
2 bytes | 4 | N byte | 1 byte |
The network bytes according to the above table include:
start and end markers to indicate the integrity of the packet data;
the check code is used for checking whether the data is tampered in the data transmission process, so that the data accuracy is guaranteed;
the mobile terminal identification is used for representing the identity ID of the mobile terminal equipment and has uniqueness;
the service identifier is used for representing the service function classification ID and has uniqueness;
the additional attribute is used for explaining the special attribute of the service data, and the special attribute can be divided into packets or compressed or encrypted or the length of a service data block;
the serial number identification is used for representing a certain data interaction of a certain service, and the serial number identification is unique for the certain service interaction;
the sub-package item is used for identifying the index of the current interactive data in the total sub-package data and the total sub-package quantity, belongs to a selectable item, and determines whether the item structure exists according to whether the sub-package identification exists in the additional attribute; and
and the service data block is used for representing the interactive data content of the specific service.
The mobile terminal identification is managed, distributed and authenticated by a terminal authentication manager of the Internet platform, when a new mobile terminal is accessed, the mobile terminal needs to firstly request registration from the terminal authentication manager of the Internet platform, after the registration is successful, the Internet platform automatically distributes an identity ID which can uniquely represent the terminal and is called as a terminal ID, the mobile terminal needs to persistently store the terminal ID, and if the terminal ID is lost, the mobile terminal needs to reapply the terminal authentication manager of the Internet platform;
when the terminal authentication manager receives a mobile terminal registration application, if the terminal is a registered terminal, the terminal authentication manager directly returns the allocated terminal ID, otherwise, a new terminal ID is allocated to the mobile terminal;
and after obtaining the terminal ID, the mobile terminal sends a login request to a terminal authentication manager of the Internet platform for identity authentication, if the terminal is a legal terminal, an access point of a network node is allocated to the terminal, and if the terminal is not the legal terminal, the access is refused.
The network nodes are service entrances of the Internet platform and are distributed in the Internet; when the network node is started, the network node needs to report the position, the state and the access point information of the network node to a terminal authentication manager, and periodically report the current load capacity so that the terminal authentication manager can perform balanced distribution on the network node;
after the mobile terminal successfully accesses the network node, the network node is triggered to report the self state to the terminal authentication manager, then a terminal mirror image is generated for the mobile terminal in a terminal mirror image list, the terminal mirror image comprises a platform service node list which is allowed to be used by the mobile terminal, and a service state cache point is set for each service node. The structural relationship between the generated terminal mirror image list and the service node list is shown in fig. 2, wherein a mobile terminal _ n in the figure represents a certain terminal mirror image of the access platform and corresponds to the mobile terminal one by one; and the service ID n represents a certain service node of the terminal mirror image and corresponds to the service in the service pool of the Internet platform.
Therefore, the interaction between the service interface in the service pool of the Internet platform and the mobile terminal can be realized by binding the service nodes of the terminal mirror image, the accurate service interaction is realized, the context relation including information of a requester, a service execution state, a jump service node and the like when the service is executed is recorded through the state cache of each service node, discrete service components in the service pool of the Internet platform are connected to form a series of service processes, and various linkage services related to a certain service can be accurately processed and responded. Fig. 3 is a timing diagram showing the complete service interaction process.
As shown in fig. 1, the present invention also discloses a peer-to-peer service interaction control system, which includes:
the mobile terminal is used for initiatively initiating a registration and authentication request to the terminal authentication manager, disconnecting the access point of the Internet platform from the terminal authentication manager, forwarding the access point to the obtained network node, and keeping a long-chain connection state with the obtained network node, wherein the long-chain connection state is effective for a long time unless abnormality occurs or the mobile terminal actively exits;
the terminal authentication manager is used for providing mobile terminal information management and identity authentication and is responsible for load balancing work of network nodes distributed on the Internet platform; the terminal authentication manager comprises a network node information table, the network node information table of the Internet platform maintains all network node information, and the network node information comprises the position, the current running state and the current load information;
a network node, which refers to any access point of the internet platform, and the network node needs to report the self state to the terminal authentication manager; the network node comprises a terminal mirror image and a service state; the terminal mirror image refers to a virtualized mobile terminal and is generated by accessing the mobile terminal into a network node, and the terminal mirror image is responsible for all interactive work of an internet platform and the mobile terminal; the service nodes are maintained by the terminal mirror image, and specifically refer to all services of which the terminal mirror image can interact with an Internet platform, namely each service exists in a node form, and can be quickly mapped to a corresponding service from an Internet platform service pool through a service node ID to respond, each service node has a corresponding service state, the service state records context information for executing the service, the context information comprises a requester, a service execution state and next node path information, and the context information is used for ensuring accurate response of subsequent linkage service processing; and
the service pool of the Internet platform refers to all service interaction services which can be provided by the Internet platform, each service interaction exists in an independent component form and is in a discrete relation with each other, each interaction service of the service pool of the Internet platform is provided with a service interface which is used for being matched with a service node, and when the Internet platform receives a service interaction request from a mobile terminal, a corresponding service entrance can be found by matching the service node ID of a terminal mirror image to the corresponding service interface.
While the above description shows and describes the preferred embodiments of the present invention, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (5)
1. A peer-to-peer service interaction control method is characterized in that the method comprises the following two interaction control modes:
an uplink service interaction control mode, comprising the steps of:
step 1, the mobile terminal requests authentication from a terminal authentication manager, after the authentication, the mobile terminal obtains a corresponding network node distributed by the terminal authentication manager, the mobile terminal is disconnected from the terminal authentication manager at the moment, turns to the obtained network node and keeps a long-chain connection state with the network node; the method comprises the steps that a mobile terminal actively initiates a service interaction request to an internet platform, specifically, the mobile terminal initiates the service interaction request to the internet platform after performing interaction data structure definition and packaging on data needing interaction;
step 2, the network node of the Internet platform receives the service interaction request and delivers the service interaction request to the terminal mirror image corresponding to the corresponding terminal identification;
step 3, the terminal mirror image obtains the corresponding service node through the service identification of the service interaction;
step 4, when the service node is adapted to a service interface in the service pool of the Internet platform, caching the current context relationship;
step 5, a service interface in the service pool of the Internet platform responds to the service interaction request, service processing is carried out, and after the service processing is finished, a return path is found through the context of the service node and is returned layer by layer;
step 6, when the context of the service node is found to have the linkage service requirement in the returning process in the step 5, the returning is interrupted firstly, the steps 4 and 5 are repeated until no linkage service skipping requirement exists, the layer-by-layer returning is carried out, and the corresponding context is cleared;
step 7, after the service interaction returns to the terminal mirror image, returning the final response result to the mobile terminal from the network node entrance of the terminal mirror image;
a downlink traffic interaction control mode, comprising the steps of:
step 8, the Internet platform actively initiates a service interaction request to the mobile terminal through a service node in the network node;
step 9, in the service node, mapping the service destination to the corresponding terminal mirror image through the terminal identification of the interactive data; meanwhile, service interaction data are encapsulated in the service node according to the interactive data structure definition, and the current context relationship is recorded;
step 10, obtaining a corresponding service interface from the service pool through the service identifier of the service node, and performing corresponding service processing;
step 11, sending the packaged interactive data from the internet platform service pool to a real mobile terminal through a current network node inlet in the terminal mirror image;
step 12, the mobile terminal responds according to the received service interaction request;
step 13, the service data responded by the mobile terminal reaches the corresponding terminal mirror image through the network node entrance;
step 14, the terminal mirror image obtains the context of the state point of the service cache from the service node by responding the service identifier of the data;
step 15, the service node correspondingly processes the response data and determines the subsequent flow direction of the service through the context;
and step 16, repeatedly executing the steps 8 and 9 according to the context of the state point cached in each service node until no linkage requirement of related services exists, returning layer by layer, clearing the corresponding context, and finishing service interaction.
2. The peer-to-peer service interaction control method according to claim 1, wherein: the service interaction is to use a TCP/IP network communication frame as a carrier, package interactive data between a mobile terminal and an Internet platform according to formats, and transmit the data by adopting a network byte order big-end mode, wherein the network bytes comprise:
start and end markers to indicate the integrity of the packet data;
the check code is used for checking whether the data is tampered in the data transmission process, so that the data accuracy is guaranteed;
the mobile terminal identification is used for representing the identity ID of the mobile terminal equipment and has uniqueness;
the service identifier is used for representing the service function classification ID and has uniqueness;
the additional attribute is used for explaining the special attribute of the service data, and the special attribute can be divided into packets or compressed or encrypted or the length of a service data block;
the serial number identification is used for representing a certain data interaction of a certain service, and the serial number identification is unique for the certain service interaction;
the sub-package item is used for identifying the index of the current interactive data in the total sub-package data and the total sub-package quantity, belongs to a selectable item, and determines whether the item structure exists according to whether the sub-package identification exists in the additional attribute; and
and the service data block is used for representing the interactive data content of the specific service.
3. The peer-to-peer service interaction control method according to claim 1, wherein: the mobile terminal identification is managed, distributed and authenticated by a terminal authentication manager of the Internet platform, when a new mobile terminal is accessed, the mobile terminal needs to firstly request registration from the terminal authentication manager of the Internet platform, after the registration is successful, the Internet platform automatically distributes an identity ID which can uniquely represent the terminal and is called as a terminal ID, the mobile terminal needs to persistently store the terminal ID, and if the terminal ID is lost, the mobile terminal needs to reapply the terminal authentication manager of the Internet platform;
when the terminal authentication manager receives a mobile terminal registration application, if the terminal is a registered terminal, the terminal authentication manager directly returns the allocated terminal ID, otherwise, a new terminal ID is allocated to the mobile terminal;
after obtaining the terminal ID, the mobile terminal sends a login request to a terminal authentication manager of the Internet platform for identity authentication, if the terminal is a legal terminal, an access point of a network node is allocated to the terminal, and if the terminal is not the legal terminal, the access is refused;
the terminal authentication manager is responsible for distributing network nodes, and the distribution strategy is to perform load operation according to an internet platform network node information table and distribute the node with the minimum load capacity to the mobile terminal.
4. The peer-to-peer service interaction control method according to claim 1, wherein: the network nodes are service entrances of the Internet platform and are distributed in the Internet; when the network node is started, the network node needs to report the position, the state and the access point information of the network node to a terminal authentication manager, and periodically report the current load capacity so that the terminal authentication manager can perform balanced distribution on the network node;
after the mobile terminal successfully accesses the network node, the network node is triggered to report the self state to the terminal authentication manager, then a terminal mirror image is generated for the mobile terminal in a terminal mirror image list, the terminal mirror image comprises a platform service node list which is allowed to be used by the mobile terminal, and a service state cache point is set for each service node.
5. A peer to peer traffic interaction control system, comprising:
the mobile terminal is used for initiatively initiating a registration and authentication request to the terminal authentication manager, disconnecting the access point of the Internet platform from the terminal authentication manager, forwarding the access point to the obtained network node, and keeping a long-chain connection state with the obtained network node, wherein the long-chain connection state is effective for a long time unless abnormality occurs or the mobile terminal actively exits;
the terminal authentication manager is used for providing mobile terminal information management and identity authentication and is responsible for load balancing work of network nodes distributed on the Internet platform; the terminal authentication manager comprises a network node information table, the network node information table of the Internet platform maintains all network node information, and the network node information comprises the position, the current running state and the current load information;
a network node, which refers to any access point of the internet platform, and the network node needs to report the self state to the terminal authentication manager; the network node comprises a terminal mirror image and a service state; the terminal mirror image refers to a virtualized mobile terminal and is generated by accessing the mobile terminal into a network node, and the terminal mirror image is responsible for all interactive work of an internet platform and the mobile terminal; the service nodes are maintained by the terminal mirror image, and specifically refer to all services of which the terminal mirror image can interact with an Internet platform, namely each service exists in a node form, and can be quickly mapped to a corresponding service from an Internet platform service pool through a service node ID to respond, each service node has a corresponding service state, the service state records context information for executing the service, the context information comprises a requester, a service execution state and next node path information, and the context information is used for ensuring accurate response of subsequent linkage service processing; and
the service pool of the Internet platform refers to all service interaction services which can be provided by the Internet platform, each service interaction exists in an independent component form and is in a discrete relation with each other, each interaction service of the service pool of the Internet platform is provided with a service interface which is used for being matched with a service node, and when the Internet platform receives a service interaction request from a mobile terminal, a corresponding service entrance can be found by matching the service node ID of a terminal mirror image to the corresponding service interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710015729.XA CN106790215B (en) | 2017-01-10 | 2017-01-10 | Peer-to-peer service interaction control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710015729.XA CN106790215B (en) | 2017-01-10 | 2017-01-10 | Peer-to-peer service interaction control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106790215A CN106790215A (en) | 2017-05-31 |
CN106790215B true CN106790215B (en) | 2021-10-26 |
Family
ID=58948823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710015729.XA Active CN106790215B (en) | 2017-01-10 | 2017-01-10 | Peer-to-peer service interaction control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106790215B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351377A (en) * | 2019-07-17 | 2019-10-18 | 成都鑫芯电子科技有限公司 | A kind of multistage linking control method and system |
CN112491526B (en) * | 2020-11-28 | 2021-07-30 | 深圳前海数字贸易科技服务有限公司 | Special supervision area service monitoring and management method and system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1972177A (en) * | 2006-11-29 | 2007-05-30 | 北京邮电大学 | Method of jointly fixing automatic request retransmission and scheduling algorithm based on terminal feedback |
CN101232632A (en) * | 2007-01-22 | 2008-07-30 | 华为技术有限公司 | Method, system for implementing stream medium business and stream medium business control function body |
CN101374116A (en) * | 2007-08-23 | 2009-02-25 | 华为技术有限公司 | Method and apparatus for implementing on-line business |
CN101388785A (en) * | 2007-09-11 | 2009-03-18 | 中国电信股份有限公司 | Resource abstract method and service opening method for content distribution network |
CN101754407A (en) * | 2008-12-16 | 2010-06-23 | 联想(北京)有限公司 | Method, server and system for processing service access request |
CN101997759A (en) * | 2009-08-10 | 2011-03-30 | 中兴通讯股份有限公司 | Service implementation method and service system |
US7937442B2 (en) * | 2006-09-22 | 2011-05-03 | Microsoft Corporation | Multipoint control unit (MCU) failure detection and rollover |
CN102421096A (en) * | 2011-12-22 | 2012-04-18 | 厦门雅迅网络股份有限公司 | Method for safely transmitting data based on wireless network |
CN103631914A (en) * | 2013-11-30 | 2014-03-12 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Offline browsing method and system of massive internet content |
CN103945244A (en) * | 2013-01-17 | 2014-07-23 | 华为技术有限公司 | Video service transmission control method and device |
US9426152B2 (en) * | 2014-07-08 | 2016-08-23 | International Business Machines Corporation | Secure transfer of web application client persistent state information into a new domain |
-
2017
- 2017-01-10 CN CN201710015729.XA patent/CN106790215B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7937442B2 (en) * | 2006-09-22 | 2011-05-03 | Microsoft Corporation | Multipoint control unit (MCU) failure detection and rollover |
CN1972177A (en) * | 2006-11-29 | 2007-05-30 | 北京邮电大学 | Method of jointly fixing automatic request retransmission and scheduling algorithm based on terminal feedback |
CN101232632A (en) * | 2007-01-22 | 2008-07-30 | 华为技术有限公司 | Method, system for implementing stream medium business and stream medium business control function body |
CN101374116A (en) * | 2007-08-23 | 2009-02-25 | 华为技术有限公司 | Method and apparatus for implementing on-line business |
CN101388785A (en) * | 2007-09-11 | 2009-03-18 | 中国电信股份有限公司 | Resource abstract method and service opening method for content distribution network |
CN101754407A (en) * | 2008-12-16 | 2010-06-23 | 联想(北京)有限公司 | Method, server and system for processing service access request |
CN101997759A (en) * | 2009-08-10 | 2011-03-30 | 中兴通讯股份有限公司 | Service implementation method and service system |
CN102421096A (en) * | 2011-12-22 | 2012-04-18 | 厦门雅迅网络股份有限公司 | Method for safely transmitting data based on wireless network |
CN103945244A (en) * | 2013-01-17 | 2014-07-23 | 华为技术有限公司 | Video service transmission control method and device |
CN103631914A (en) * | 2013-11-30 | 2014-03-12 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Offline browsing method and system of massive internet content |
US9426152B2 (en) * | 2014-07-08 | 2016-08-23 | International Business Machines Corporation | Secure transfer of web application client persistent state information into a new domain |
Non-Patent Citations (3)
Title |
---|
Business Process Management in the cloud: Business Process as a Service (BPaaS);Evert Duipmans;《utwente.nl》;20121231;全文 * |
GSM中基于状态机模型的HLR操作实体;余毅敏等;《电信快报》;19990225(第02期);全文 * |
H FC网络中交互业务内容缓存机制设计;任石青;《万方》;20100728;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106790215A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8892768B2 (en) | Load balancing apparatus and load balancing method | |
CN103339901B (en) | Terminal in content guiding network environment and the communication means of intermediate node and terminal and intermediate node | |
US9661151B2 (en) | Method, apparatus and system for determining policy and charging rule function entity | |
US8996670B2 (en) | Methods, systems, and computer readable media for network metadata based policy control | |
CN107636722B (en) | Management method and management server for utilizing multiple SIM cards | |
KR101638315B1 (en) | System and method for providing advertisement based on web using wifi network | |
CN104348798B (en) | A kind of method, apparatus, dispatch server and system for distributing network | |
CN111405682B (en) | Data forwarding method and gateway | |
CN108833591B (en) | method, electronic equipment, device and network architecture for data transmission in P2P network | |
CN111327668B (en) | Network management method, device, equipment and storage medium | |
US11025738B2 (en) | Systems and methods for determining a destination location for transmission of packetized data in a network system based on an application server attribute | |
CN105871591A (en) | Method and device for distributing CDN (Content Delivery Network) addresses | |
EP3331247A1 (en) | Multi-screen control method and device | |
CN101895520B (en) | Widget system data sharing method, server and data sharing system | |
US20120226819A1 (en) | Local advertisement insertion through web request redirection | |
WO2022033346A1 (en) | Network slicing management system, application server and terminal device | |
CN106790215B (en) | Peer-to-peer service interaction control method and system | |
CN109962961A (en) | A kind of reorientation method and system of content distribution network CDN service node | |
CN116633934A (en) | Load balancing method, device, node and storage medium | |
CN103607410A (en) | Content access method and equipment | |
CN107888643A (en) | A kind of UDP load-balancing methods, device and system | |
US20160323082A1 (en) | Communication device and managing method | |
US10581979B2 (en) | Information transmission method and apparatus | |
CN112954084B (en) | Edge computing processing method, network function example and edge service management and control center | |
US20160309044A1 (en) | Affiliated service provision method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |