CN112311899A - A session processing method, device and system - Google Patents
A session processing method, device and system Download PDFInfo
- Publication number
- CN112311899A CN112311899A CN202011300132.8A CN202011300132A CN112311899A CN 112311899 A CN112311899 A CN 112311899A CN 202011300132 A CN202011300132 A CN 202011300132A CN 112311899 A CN112311899 A CN 112311899A
- Authority
- CN
- China
- Prior art keywords
- session
- edge
- mec
- state
- present application
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 32
- 238000012545 processing Methods 0.000 claims abstract description 46
- 238000000034 method Methods 0.000 claims abstract description 37
- 238000004590 computer program Methods 0.000 claims description 6
- 230000004083 survival effect Effects 0.000 claims description 6
- 230000011664 signaling Effects 0.000 abstract description 25
- 238000004891 communication Methods 0.000 abstract description 19
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000008878 coupling Effects 0.000 description 7
- 238000010168 coupling process Methods 0.000 description 7
- 238000005859 coupling reaction Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001502 supplementing effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a session processing method, a session processing device and a session processing system, which relate to the technical field of communication, reduce the number of control signaling, and improve the stability of a session and the stability of computing resources. The method comprises the following steps: receiving N service messages sent by edge equipment; n is greater than or equal to 1; acquiring identifiers of M edge devices from N service messages; m is less than or equal to N; and updating the state of the session corresponding to the identifications of the M edge devices to be a connection state.
Description
Technical Field
Embodiments of the present application relate to the field of communications technologies, and in particular, to a session processing method, device, and system.
Background
With the continuous development of network technology, edge computational power networks have become the current research focus. Wherein, the edge computational force network may include: a plurality of edge devices, one or more multi-access edge computing (MEC) devices, and a computational network platform. One MEC device may control and manage the computing resources of multiple edge devices; the computing network platform can control and manage a plurality of MEC equipment; the edge force calculation network realizes the superposition and integration of force calculation through the cooperative work of the edge equipment, the MEC equipment and the force calculation network platform.
When an MEC device controls and manages the computing resources of a plurality of edge devices, it is first necessary to establish a session connection with an edge device, i.e., only the computing resources of the edge device in the session connection state are available to the MEC device. In an edge computing network, each edge device needs to periodically send control signaling to the MEC device to keep the respective session in a connected state.
When the number of edge devices managed by the MEC device is very large, the MEC device needs to process a large number of control signaling messages. In this case, there may be a case that all control signaling cannot be processed in time, so that part of the session oscillates, the use of the computing resources of part of the edge devices is affected, and the stability of the computing resources is reduced.
Disclosure of Invention
The application provides a session processing method, a session processing device and a session processing system, which reduce the number of control signaling and improve the stability of a session and the stability of computing resources.
The technical scheme is as follows:
in a first aspect, the present application provides a session processing method, which may be applied to a multi-access edge computing MEC device, and the method may include: receiving N service messages sent by edge equipment; n is greater than or equal to 1; acquiring identifiers of M edge devices from N service messages; m is less than or equal to N; and updating the state of the session corresponding to the identifications of the M edge devices to be a connection state.
By the session processing method provided by the application, the MEC equipment can update the session corresponding to the identifier into the connection state through the identifier of the edge equipment in the received data message, so that the interruption of the session caused by too much control signaling which cannot be processed in time is avoided; the number of control signaling is reduced, and the stability of conversation and the stability of computing resources are improved.
With reference to the first aspect, in a possible implementation manner, the method may further include: determining that a number of sessions established with the MEC device is greater than or equal to a first threshold; the first threshold is greater than 1. In this possible implementation manner, when the number of sessions established with the MEC device is large, the session processing method of the present application may be used to reduce the number of control signaling processed by the MEC device.
With reference to the first aspect or one of the foregoing possible implementation manners, in another possible implementation manner, updating the state of the session corresponding to the identifiers of the M edge devices to a connection state may include: determining that the timing duration counted from the last time of updating the state of the session between the MEC equipment and the first edge equipment reaches the preset duration; the preset duration is less than the survival duration of each session; and updating the state of the session corresponding to the identifications of the M edge devices to be a connection state. In this possible implementation manner, the state of the session corresponding to the identifiers of the M edge devices may be periodically updated to the connection state, so that the flexibility of session processing is improved.
With reference to the first aspect or any one of the foregoing possible implementations, in another possible implementation, the identifier of the edge device may include any one of: a Media Access Control (MAC) address of the edge device, an Internet Protocol (IP) address of the edge device. In the possible implementation manner, the identifier of the edge device can be configured according to the actual requirement, so that the adaptability of session processing is improved.
In a second aspect, the present application further provides a session processing apparatus, where the apparatus may be an MEC device in the first aspect or any one of the possible implementation manners of the first aspect, or the apparatus may be deployed in the MEC device. The apparatus may comprise a data unit and a control unit. Wherein:
the data unit can be used for receiving N service messages sent by the edge device; n is greater than or equal to 1; the data unit may also be configured to obtain identifiers of the M edge devices from the N service packets; m is less than or equal to N.
And the control unit may be configured to update the state of the session corresponding to the identities of the M edge devices to a connected state.
It should be noted that, the session processing apparatus provided in the second aspect is configured to execute the session processing method provided in the first aspect or any one of the possible implementation manners of the first aspect, and specific implementation of the first aspect may refer to the specific implementation of the first aspect, and details are not described here again.
In a third aspect, the present application provides an MEC device, which may include a processor, configured to implement the session processing method described in the first aspect. The device may further comprise a memory coupled to the processor, and the processor may implement the session processing method described in the first aspect or any one of the possible implementation manners of the first aspect when executing the instructions stored in the memory. The device may also include a communication interface for the apparatus to communicate with other devices, which may be, for example, a transceiver, circuit, bus, module, or other type of communication interface. In one possible implementation, the apparatus may include:
a memory may be used to store instructions.
The processor may be configured to obtain identifiers of the M edge devices from the N service packets; m is less than or equal to N; and updating the state of the session corresponding to the identifications of the M edge devices to be a connection state.
The processor may be further configured to receive, through the communication interface, N service packets sent by the edge device; n is greater than or equal to 1.
In the present application, the instructions in the memory may be stored in advance, or may be downloaded from the internet and stored when the apparatus is used. The coupling in the embodiments of the present application is an indirect coupling or connection between devices, units or modules, which may be in an electrical, mechanical or other form, and is used for information interaction between the devices, units or modules.
In a fourth aspect, a session processing system is provided, where the system may include a session processing apparatus and an edge device, and the session processing apparatus may be the apparatus in the second aspect or any possible implementation manner of the second aspect.
In a fifth aspect, a session processing system is provided, where the system may include an MEC device and an edge device, and the MEC device may be a device in the third aspect or any possible implementation manner of the third aspect.
In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, which includes instructions, when executed on a computer, causing the computer to execute the session processing method described in any one of the above aspects or any one of the possible implementation manners.
In a seventh aspect, an embodiment of the present application further provides a computer program product, which when run on a computer, causes the computer to execute the session processing method according to any one of the above aspects or any one of the possible implementation manners.
In an eighth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor and may further include a memory, and is configured to implement functions performed by the MEC apparatus in the foregoing method. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
The solutions provided in the second aspect to the eighth aspect are used to implement the session processing method provided in the first aspect, and therefore the same beneficial effects as those of the first aspect can be achieved, and are not described herein again.
It should be noted that, on the premise of not contradicting the scheme, various possible implementation manners of any one of the above aspects may be combined.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an MEC apparatus provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of a session processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another session processing method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a session processing scenario provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a session processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another MEC apparatus provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiments of the present application, for convenience of clearly describing the technical solutions of the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance. The technical features described in the first and second descriptions have no sequence or magnitude order.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion for ease of understanding.
In the description of the present application, a "/" indicates a relationship in which the objects associated before and after are an "or", for example, a/B may indicate a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. Also, in the description of the present application, "a plurality" means two or more than two unless otherwise specified. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
In the embodiments of the present application, at least one may also be described as one or more, and a plurality may be two, three, four or more, which is not limited in the present application.
For the sake of understanding, the technical terms related to the present application are explained first.
A session may refer to a process in which an edge device communicates with an MEC device. Wherein, one MEC device may include a plurality of sessions, each session uniquely corresponding to one edge device. The state of the session may include: connected state, disconnected state.
The lifetime of the session may refer to the longest time for maintaining the session in the connection state without updating the session state after the session is established.
The service packet may refer to a data packet sent between devices. The messages sent between the devices may include service messages and non-service messages (control signaling messages).
The edge device may refer to a terminal device with computing capability connected to the MEC device, for example, the edge device may be a mobile phone, a computer, or the like.
For ease of understanding, the session establishment procedure will be briefly described.
The following takes the process of the MEC device establishing the session 1 with the edge device 1 as an example, and the session establishment process is briefly described.
The method comprises the steps that the edge device 1 sends a signaling message for requesting to establish a session to the MEC device, the MEC device receives a request instruction, obtains a (media access control, MAC) address of the edge device 1 in the request instruction, and establishes the session 1 with the edge device 1; then set the lifetime of session 1 and monitor the duration of the hold of session 1. The MEC equipment sends a response of successful session establishment to the edge equipment 1; the edge device 1 receives the response of successful session establishment sent by the MEC device.
For example, the duration of the session may be monitored by setting the duration of the session's lifetime by a timer.
It is to be understood that, referring to the process of establishing session 1, the MEC device may establish multiple sessions with multiple edge devices, which is not described herein again.
After the session is successfully established, the state of the session needs to be continuously updated to ensure that the computing resources of the edge device are available.
Taking the update session 1 as an example, the scheme for updating the session state at present is as follows: after receiving a response that the session 1 is successfully established, the edge device 1 periodically sends a signaling message for maintaining the session 1 connection to the MEC device; the MEC equipment receives the signaling message for maintaining the session connection, updates the state of the session 1 into connection, resets the survival time of the session 1 and monitors the maintaining time of the session 1. The MEC device sends a response to the edge device 1 that session 1 remains successful.
Wherein, the period duration for maintaining the session connection should be less than the lifetime duration of the session.
It should be noted that the signaling for establishing the session and the signaling for maintaining the session may be the same instruction or different instructions; the response that the session establishment is successful and the response that the session is maintained to be successful may be the same instruction or different instructions.
It can be understood that, for the edge device whose session is in a connected state, data interaction can be performed with the MEC device, so that the computation force superposition and integration can be realized.
When the number of edge devices managed by the MEC device is very large, the number of corresponding sessions is very large, and the MEC device needs to process a large number of control signaling messages in order to maintain the connection of the sessions; in this case, it may be that all control signaling cannot be processed in time, so that part of the session oscillates, the use of the computing resources of part of the edge devices is affected, and the stability of the computing resources is reduced.
Based on this, the application provides a session processing method, which can update the session corresponding to the identifier to a connection state through the identifier of the edge device in the received data message, thereby avoiding the interruption of the session caused by too much control signaling which cannot be processed in time; the number of control signaling is reduced, and the stability of conversation and the stability of computing resources are improved.
In order to facilitate understanding of the implementation process of the scheme in the embodiment of the present application, a network architecture in the embodiment of the present application is first described. The session processing method in the embodiment of the present application may be applied to the following network architecture.
It should be noted that the network architecture and the scenario are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided by the embodiment of the present application, and as a person having ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided by the embodiment of the present application is also applicable to similar architectures and scenarios.
As shown in fig. 1, a schematic structural diagram of a network architecture is provided. As shown in fig. 1, the network 10 may include one or more edge devices 101, one or more MEC devices 102, and a computing power network platform 103. Wherein one MEC device 102 may communicate with one or more edge devices 101; the computing network platform 103 may communicate with one or more MEC devices 102.
In particular, the network 10 may include an edge computing network; or, other networks that evolve on the basis of edge computing power; or other networks similar to the edge computing force network.
The edge device 101 may also be referred to as a User Equipment (UE) or a terminal (terminal). An edge device 101 that may be used to establish and/or maintain a session with the MEC device 102; the edge device 101 may also be used to transfer data with the MEC device. Among other things, the edge device 101 may include, but is not limited to, a mobile phone (mobile phone), a tablet computer (tablet computer), a laptop computer (laptop computer), a wearable device (such as a smart watch, a smart bracelet, a smart helmet, smart glasses), and other devices with wireless access capability, such as a smart car, various internet of things (IOT) devices, including various smart home devices (such as a smart meter and a smart home appliance), and smart city devices (such as a security or monitoring device, a smart road transportation facility), and so on.
And the computing network platform 103 can control and manage the MEC equipment 102.
It should be noted that, in the embodiment of the present application, the number, the connection mode, and the like of each device included in the network architecture are not specifically limited; the network architecture shown in fig. 1 is only an exemplary architecture diagram.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In one aspect, an embodiment of the present application provides a session processing apparatus, which is configured to execute the session processing method provided by the present application. The session processing means may be the MEC device 102 of fig. 1; alternatively, the session processing apparatus may be deployed in the MEC device 102 of fig. 1; alternatively, the session processing apparatus may be other devices that can exchange information with the MEC device 102 of fig. 1.
Fig. 2 is a schematic structural component diagram of an MEC device 20 according to an embodiment of the present disclosure, and as shown in fig. 2, the MEC device 20 may include at least one processor 21, a memory 22, a communication interface 23, and a communication bus 24. The following describes the components of the MEC apparatus 20 in detail with reference to fig. 2:
the processor 21 may be a single processor or may be a general term for a plurality of processing elements. For example, the processor 21 is a Central Processing Unit (CPU), and may be an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as: one or more microprocessors (digital signal processors, DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
The processor 21 may perform various functions by running or executing software programs stored in the memory 22, and calling data stored in the memory 22, among other things. In particular implementations, processor 21 may include one or more CPUs such as CPU0 and CPU1 shown in fig. 2 as one example.
In particular implementations, the MEC apparatus 20 may include a plurality of processors, such as the processor 21 and the processor 25 shown in fig. 2, as an example. Each of these processors may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 22 may be self-contained and coupled to the processor 21 via a communication bus 24. The memory 22 may also be integrated with the processor 21. The memory 22 is used for storing software programs for executing the scheme of the application, and is controlled by the processor 21 to execute.
The communication interface 23 is any device, such as a transceiver, for communicating with other devices or communication networks, such as ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), etc.
The communication bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
It is noted that the components shown in fig. 2 do not constitute a limitation of the MEC apparatus, and that the MEC apparatus may comprise more or less components than shown, or some components in combination, or a different arrangement of components than those shown in fig. 2.
Specifically, the processor 21 executes the following functions by running or executing software programs and/or modules stored in the memory 22 and calling data stored in the memory 22:
receiving N service messages sent by edge equipment; n is greater than or equal to 1; acquiring identifiers of M edge devices from N service messages; m is less than or equal to N; and updating the state of the session corresponding to the identifications of the M edge devices to be a connection state.
On the other hand, the embodiment of the present application provides a session processing method, which may be applied to the MEC device 20 shown in fig. 2. For updating the state of the session comprised by the MEC device. The process of updating the state of the session included in each MEC device is similar, and a single MEC device is taken as an example and is described.
The session processing method provided by the embodiment of the application is used for updating the state of a session after the MEC equipment establishes a session connection. Specifically, the session processing method provided by the embodiment of the present application can be independently used for updating the state of the session; or, the session processing method provided by the embodiment of the present application may be used for supplementing the existing state of updating the session through signaling.
When the session processing method provided by the embodiment of the application is used for supplementing the state of the existing session updated through signaling, the MEC equipment receives the control signaling; or when the update condition in the embodiment of the present application is satisfied, the corresponding session state is updated.
Specifically, fig. 3 is a flowchart of a session processing method provided in the embodiment of the present application, and as shown in fig. 3, the method may include:
s301, the MEC equipment receives N service messages sent by the edge equipment.
Wherein N is greater than or equal to 1.
Specifically, S301 may be implemented as: the MEC equipment continuously receives N service messages sent by the edge equipment through a communication interface of the MEC equipment. In other words, the MEC device continuously receives N service packets sent by the edge device through its data unit.
In a possible implementation manner, the N service packets sent by the MEC device and received by the edge device may be a service packet sent by one edge device.
In another possible implementation manner, the N service packets sent by the MEC device and received by the edge device may be service packets sent by multiple edge devices.
It should be noted that the time for the MEC device to execute S301 once is the interval between two session state updates.
S302, the MEC equipment acquires the identifiers of the M edge devices from the N service messages.
Wherein M is less than or equal to N.
The specific content of the identifier of the edge device may be configured according to actual requirements, which is not specifically limited in the embodiment of the present application.
Illustratively, the identification of the edge device may include, but is not limited to, any of: MAC address of edge device, IP address of edge device.
In one possible implementation manner, S302 may be implemented as: the MEC equipment can analyze the identifier of the edge equipment which sends a service message from the message header of the service message every time the MEC equipment receives the service message; the MEC equipment continuously receives and analyzes; thereby obtaining the identifiers of M edge devices in the received N service messages.
In another possible implementation manner, S302 may be implemented as: after the MEC equipment can receive a plurality of service messages, the mark of the edge equipment sending the message is analyzed from the message header of each service message, and the MEC equipment continuously receives and analyzes the message; thereby obtaining the identifiers of M edge devices in the received N service messages.
In yet another possible implementation manner, S302 may be implemented as: after the MEC device can receive the N service messages, the identifier of the edge device that sends the message is respectively analyzed from the message header of each service message, so as to obtain the identifiers of M edge devices in the received N service messages.
And S303, the MEC equipment updates the state of the session corresponding to the identifications of the M edge equipment into a connection state.
The execution timing of S303 may be configured according to actual requirements, which is not limited in this embodiment of the present application.
In one possible implementation, S303 may be directly executed after S302 is executed.
In another possible implementation, S303 may be performed periodically.
In this possible implementation, the duration of the execution period may be configured according to actual requirements.
Specifically, when the duration of the execution cycle is a preset duration, the MEC device determines that a timing duration counted from the last time of updating the state of the session between the MEC device and the first edge device reaches the preset duration; s303 is performed.
Wherein the preset duration is less than the lifetime of each session.
Specifically, the implementation of S303 may include, but is not limited to, methods 1 to 3 described below.
In the method 1, each time the MEC device acquires the identifier of the edge device in one message, the state of the session corresponding to the identifier of the edge device in the message is updated to a connection state.
Where M equals 1 and N equals 1.
Exemplarily, each time the MEC device acquires the identifier of the edge device in one message, the MEC device updates the state of the session corresponding to the identifier of the edge device in the message to a connection state; and setting the survival time of the conversation and monitoring the holding time of the conversation.
Method 2, when the MEC device obtains the identifier of an edge device in N messages, the state of the session corresponding to the identifier of the edge device is updated to a connection state.
Wherein M is equal to 1 and N is greater than 1.
Illustratively, each time the MEC device acquires the identifier of an edge device in N messages, the state of the session corresponding to the identifier of the edge device is updated to a connection state; and setting the survival time of the conversation and monitoring the holding time of the conversation.
And 3, the MEC equipment acquires the identifiers of the M edge devices in the N messages, and updates the states of the sessions corresponding to the identifiers of the M edge devices into a connection state.
Wherein M is greater than 1 and N is greater than 1.
Exemplarily, the MEC updates the state of the session corresponding to the identifiers of the M edge devices to the connection state if the identifiers of the M edge devices in the N messages are present; and setting the time-to-live of the M conversations and monitoring the time-to-hold of the M conversations.
It will be appreciated that for a session whose session state has not been re-updated to a connected state for the lifetime, the MEC device will automatically update the state of the session to disconnected. That is, the MEC device automatically disconnects the session when the holding time period of the session reaches the lifetime.
By the session processing method provided by the application, the MEC equipment can update the session corresponding to the identifier into the connection state through the identifier of the edge equipment in the received data message, so that the interruption of the session caused by too much control signaling which cannot be processed in time is avoided; the number of control signaling is reduced, and the stability of conversation and the stability of computing resources are improved.
Further, before executing the session processing provided in the embodiment of the present application, it may also be determined whether the number of sessions established with the MEC device is large, and when the number is large, the session processing method provided in the embodiment of the present application is executed.
Specifically, as shown in fig. 4, the method may further include the following S304.
S304, the MEC device determines that the number of sessions established with the MEC device is greater than or equal to a first threshold.
Wherein the first threshold is greater than 1.
The size of the first threshold may be configured according to actual requirements, which is not specifically limited in the embodiment of the present application.
Illustratively, the first threshold may be determined in accordance with the capability of the MEC device to process signaling.
The following briefly describes the session processing method provided by the present application with a specific embodiment.
Fig. 5 illustrates a session processing scenario, which includes one MEC device and 3 edge devices (edge device a, edge device B, and edge device C).
The method comprises the steps that a session A is established between edge equipment A and MEC equipment, a session B is established between the edge equipment B and the MEC equipment, and a session C is established between the edge equipment C and the MEC equipment; respectively setting and starting a timer of each session; the MEC device then interacts data with edge device a, edge device B, and edge device C via session a, session B, and session C, respectively. It is assumed that each time an MEC device receives a packet, it needs to update its corresponding session state.
At the first moment, the MEC equipment receives the message A, and the MEC equipment analyzes that the identifier of the edge equipment in the message A is 192.112.0.1; and according to the identification, the session to be updated is obtained as session A, then the state of the session A is updated again to be a connection state, and the timer of the session A is reset.
At the second moment, the MEC equipment receives the message B, and the MEC equipment analyzes that the identifier of the edge equipment in the message B is 192.112.8.11; and according to the identification, the session to be updated is obtained as the session B, then the state of the session B is updated again to be the connection state, and the timer of the session B is reset.
At the third moment, the MEC device receives the message C, and the MEC device analyzes that the identifier of the edge device in the message C is 192.112.7.21; and according to the identification, obtaining that the session to be updated is the session C, then updating the state of the session C to be the connection state again, and resetting the timer of the session C.
The above description mainly introduces the scheme provided by the embodiment of the present invention from the perspective of the implementation principle of the MEC device in the network. It is understood that the MEC device, in order to implement the above functions, includes corresponding hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present invention, the session processing apparatus and the like may be divided into functional modules according to the above method examples, for example, each functional module may be divided for each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In the case of adopting to divide each function module corresponding to each function, fig. 6 shows a session processing apparatus 60 provided in the embodiment of the present application, which is used for implementing the function of the MEC device in the foregoing embodiment. The session handling means 60 may be MEC devices; alternatively, the session processing apparatus 60 may be deployed in the MEC device. As shown in fig. 6, the session processing means 60 may include: a data unit 601 and a control unit 602. The data unit 601 is used for executing S301, S302 in fig. 3 or fig. 4; the control unit 602 is configured to execute S303 in fig. 3 or fig. 4, or S304 in fig. 4. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In the case of using an integrated unit, as shown in fig. 7, an MEC apparatus 70 provided in the embodiment of the present application is used to implement the functions of the MEC apparatus in the above-described method. The MEC apparatus 70 may include at least one processing module 701 for implementing the functions of the MEC apparatus in the embodiment of the present application. For example, the processing module 701 may be configured to execute the processes S302 and S303 in fig. 3, specifically refer to the detailed description in the method example, which is not described herein again.
The MEC apparatus 70 may also include at least one storage module 702 for storing program instructions and/or data. The memory module 702 is coupled to the processing module 701. The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, and may be an electrical, mechanical or other form for information interaction between the devices, units or modules. The processing module 701 may cooperate with the memory module 702. Processing module 701 may execute program instructions stored in storage module 702. At least one of the at least one memory module may be included in the processing module.
The MEC device 70 may further include a communication module 703 for communicating with other devices over a transmission medium for determining that the MEC device 70 may communicate with other devices. The communication module 703 is used for the device to communicate with other devices. For example, the processor 701 may utilize the communication module 703 to execute the process S301 in fig. 3 or fig. 4.
In practical implementation, the data unit 601 and the control unit 602 may be implemented by the processor 21 shown in fig. 2 calling the program code in the memory 22. Alternatively, the processing may be implemented by the processor 21 shown in fig. 2 through the communication interface 23, and the specific execution process may refer to the description of the session processing method part shown in fig. 3 or fig. 4, which is not described herein again.
As described above, the session processing apparatus 60 or the MEC device 70 provided in the embodiments of the present application may be used to implement the functions of the MEC device 70 in the method implemented in the embodiments of the present application, and for convenience of description, only the portions related to the embodiments of the present application are shown, and details of the specific technology are not disclosed, please refer to the embodiments of the present application.
Other embodiments of the present application provide a session processing system, where the session processing system may include a session processing apparatus and an edge device, and the session processing apparatus may implement the functions of the MEC device in the foregoing embodiments, for example, the session processing apparatus may be the MEC device described in this embodiment of the present application.
Other embodiments of the present application provide a chip system, where the chip system includes a processor and may further include a memory, and is configured to implement the functions of the MEC apparatus in the embodiments shown in fig. 3 or fig. 4. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
Further embodiments of the present application also provide a computer-readable storage medium, which may include a computer program, which, when run on a computer, causes the computer to perform the steps of the embodiments of fig. 3 or fig. 4 described above.
Further embodiments of the present application also provide a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the steps of the embodiments of fig. 3 or fig. 4 described above.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011300132.8A CN112311899A (en) | 2020-11-18 | 2020-11-18 | A session processing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011300132.8A CN112311899A (en) | 2020-11-18 | 2020-11-18 | A session processing method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112311899A true CN112311899A (en) | 2021-02-02 |
Family
ID=74335167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011300132.8A Pending CN112311899A (en) | 2020-11-18 | 2020-11-18 | A session processing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112311899A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113905015A (en) * | 2021-10-09 | 2022-01-07 | 中国联合网络通信集团有限公司 | Identification analysis method and identification analysis system |
WO2022228460A1 (en) * | 2021-04-29 | 2022-11-03 | 华为技术有限公司 | Service identifier allocation method in cross-domain computing-aware networking, and communication device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247611A (en) * | 2007-02-14 | 2008-08-20 | 华为技术有限公司 | Method and system for state management of user equipment |
CN105517195A (en) * | 2015-11-27 | 2016-04-20 | 上海华为技术有限公司 | State detection method and wireless network node |
CN105988907A (en) * | 2015-01-29 | 2016-10-05 | 深圳市腾讯计算机系统有限公司 | Business monitoring method and device |
CN109067622A (en) * | 2018-09-29 | 2018-12-21 | 新华三技术有限公司 | State detection method, apparatus and network server |
US20190056135A1 (en) * | 2017-08-18 | 2019-02-21 | Fujitsu Limited | Information processing apparatus and information processing system |
US20190090229A1 (en) * | 2016-03-31 | 2019-03-21 | Nec Corporation | Radio access network node, external node, and method therefor |
CN109951347A (en) * | 2017-12-21 | 2019-06-28 | 华为技术有限公司 | Business recognition method, device and the network equipment |
-
2020
- 2020-11-18 CN CN202011300132.8A patent/CN112311899A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101247611A (en) * | 2007-02-14 | 2008-08-20 | 华为技术有限公司 | Method and system for state management of user equipment |
CN105988907A (en) * | 2015-01-29 | 2016-10-05 | 深圳市腾讯计算机系统有限公司 | Business monitoring method and device |
CN105517195A (en) * | 2015-11-27 | 2016-04-20 | 上海华为技术有限公司 | State detection method and wireless network node |
US20190090229A1 (en) * | 2016-03-31 | 2019-03-21 | Nec Corporation | Radio access network node, external node, and method therefor |
US20190056135A1 (en) * | 2017-08-18 | 2019-02-21 | Fujitsu Limited | Information processing apparatus and information processing system |
CN109951347A (en) * | 2017-12-21 | 2019-06-28 | 华为技术有限公司 | Business recognition method, device and the network equipment |
CN109067622A (en) * | 2018-09-29 | 2018-12-21 | 新华三技术有限公司 | State detection method, apparatus and network server |
Non-Patent Citations (1)
Title |
---|
官国飞: "基于边缘计算的配网管理和运维体系研究", 《电网与清洁能源》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022228460A1 (en) * | 2021-04-29 | 2022-11-03 | 华为技术有限公司 | Service identifier allocation method in cross-domain computing-aware networking, and communication device |
CN113905015A (en) * | 2021-10-09 | 2022-01-07 | 中国联合网络通信集团有限公司 | Identification analysis method and identification analysis system |
CN113905015B (en) * | 2021-10-09 | 2023-06-09 | 中国联合网络通信集团有限公司 | Identification analysis method and identification analysis system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114585105B (en) | A computing power-aware session management method and communication device | |
CN109672708B (en) | Communication method, device and system | |
CN112769959B (en) | Session synchronization method, device, first node, second node, system and medium | |
CN107005831A (en) | Periphery perceives networking data path | |
CN107439041A (en) | Data link behavior for the merger of wireless network cluster | |
Yin et al. | Distributed resource sharing in fog-assisted big data streaming | |
EP3934209B1 (en) | Tcp network packet processing | |
CN112311899A (en) | A session processing method, device and system | |
WO2024131493A1 (en) | Task processing method and apparatus, device, and storage medium | |
CN114158038A (en) | Communication method, device and storage medium | |
US20180041940A1 (en) | Method of Data Communication in Wireless Ad Hoc Network | |
CN112492005B (en) | Migration method, device and system of edge equipment | |
CN112866013A (en) | Network configuration method, device and system | |
JP2019071573A (en) | APPARATUS, METHOD AND PROGRAM FOR TRANSMITTING AND RECEIVING DATA TO AND FROM IoT DEVICE | |
WO2020078407A1 (en) | Method and device for drx configuration | |
WO2024131753A1 (en) | Information processing method and communication device | |
WO2024131714A1 (en) | Information processing method and communication device | |
CN116668211B (en) | Communication method and device | |
CN109067882A (en) | data sharing method and related product | |
CN118317393A (en) | Link processing method, device and terminal | |
WO2022089466A1 (en) | Method and apparatus for context resumption | |
CN112469043B (en) | Authentication method and device | |
CN111786758B (en) | Communication method and device | |
CN119338022A (en) | Communication method, device and system | |
CN119544767A (en) | A communication method, device and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210202 |
|
RJ01 | Rejection of invention patent application after publication |