Data processing method and device, equipment and storage medium

By collecting and cacheing response messages from the server to the client, and analyzing signaling when the server fails, the problem of difficult to ensure the quality of the Diameter signaling network is solved, and the stability and reliability of the network are improved.

CN119254822AInactive Publication Date: 2025-01-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411379255.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-01-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In network communication, the quality of Diameter signaling network is difficult to guarantee, resulting in the client being unable to use the server normally.

Method used

Collect response messages sent by the server to the client, and cache and parse signaling when the server fails to determine the corresponding response messages to ensure that the response messages can still be sent to the client when the server fails.

Benefits of technology

It improves the stability of the Diameter signaling network, ensures that the client signaling can still be handled normally in the event of server failure, and enhances the reliability of the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254822A_ABST
    Figure CN119254822A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, equipment and a storage medium, and relates to the technical field of communication. The method comprises the steps of collecting a response message sent by a server to a client, caching the response message, receiving a signaling sent by the client under the condition that the server fails, determining the response message corresponding to the signaling based on the signaling, and sending the response message to the client, so that the stability of the Diameter signaling network is improved to some extent.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of the times, the importance of network communication has gradually increased. In network communication technology, Diameter signaling is an important core network element communication protocol in the era of full IP signaling. Clients rely heavily on the quality of the Diameter signaling network and the processing performance and reliability of the server. However, in some cases, the client still cannot use the server capabilities normally. How to ensure the quality of the Diameter signaling network is an urgent problem to be solved in this field. Summary of the invention

[0003] The present disclosure provides a data processing method, apparatus, device and storage medium, which at least guarantee the quality of the Diameter signaling network to a certain extent.

[0004] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0005] According to one aspect of the present disclosure, there is provided a data processing method, comprising:

[0006] Collect the response message sent by the server to the client;

[0007] Cache the response message;

[0008] In case of server failure, receive signaling sent by the client;

[0009] Determine a response message corresponding to the signaling based on the signaling;

[0010] Send the response message to the client.

[0011] In one embodiment of the present disclosure, copying and caching the response message includes:

[0012] The collected response messages are filtered based on the Berkeley Packet Filter (BPF) to obtain the response messages including the server address, the client address and the server port;

[0013] Cache the response message containing the server address, client address and server port.

[0014] In one embodiment of the present disclosure, the response message sent by the collection server to the client includes:

[0015] The response message sent by the collection server to the client is collected according to the preset cycle and the preset collection quantity in the unit time.

[0016] In one embodiment of the present disclosure, caching the response message includes:

[0017] Parse the response message to obtain parameter data corresponding to the response message;

[0018] Configure multiple key values ​​for the response message based on parameter data corresponding to the response message and the time when the response message is collected;

[0019] Cache the response message after configuring the key value.

[0020] In one embodiment of the present disclosure, determining a response message corresponding to the signaling based on the signaling includes:

[0021] Parse the signaling to obtain the key value corresponding to the signaling;

[0022] A response message corresponding to the signaling is determined based on the key value corresponding to the signaling and the key value corresponding to the response message.

[0023] In one embodiment of the present disclosure, the method further includes:

[0024] The cached response messages are deleted based on the time when the response messages are collected and / or the time when the response messages are sent to the client.

[0025] In one embodiment of the present disclosure, the method further includes:

[0026] Perform integrity check on the response message;

[0027] Cache the response message, including:

[0028] If the response message completeness check passes, the response message will be cached.

[0029] According to another aspect of the present disclosure, there is provided a data processing device, comprising:

[0030] A collection module, used to collect response messages sent by the server to the client;

[0031] A cache module, used to cache response messages;

[0032] A receiving module is used to receive the signaling sent by the client in case of a server failure;

[0033] A determination module, used to determine a response message corresponding to the signaling based on the signaling;

[0034] The sending module is used to send the response message to the client.

[0035] In one embodiment of the present disclosure, the cache module includes:

[0036] A filtering unit, used for filtering the collected response messages based on a Berkeley Packet Filter (BPF) to obtain a response message including a server address, a client address and a server port;

[0037] The first cache unit is used to cache the response message including the server address, the client address and the server port.

[0038] In one embodiment of the present disclosure, the sending module includes:

[0039] The sending unit is used to collect the response messages sent by the server to the client according to a preset period and a preset collection quantity within a unit time.

[0040] In one embodiment of the present disclosure, the cache module includes:

[0041] A parsing unit, used to parse the response message to obtain parameter data corresponding to the response message;

[0042] A configuration unit, configured to configure a plurality of key values ​​for the response message based on parameter data corresponding to the response message and a time when the response message is collected;

[0043] The second cache unit is used to cache the response message after the configuration key value.

[0044] In one embodiment of the present disclosure, the determination module includes:

[0045] A parsing unit, used to parse the signaling to obtain a key value corresponding to the signaling;

[0046] A determination unit is used to determine a response message corresponding to the signaling based on a key value corresponding to the signaling and a key value corresponding to the response message.

[0047] In one embodiment of the present disclosure, the device further includes:

[0048] The deletion module is used to delete the cached response messages based on the time when the response messages are collected and / or the time when the response messages are sent to the client.

[0049] In one embodiment of the present disclosure, the device further includes:

[0050] A check module is used to check the integrity of the response message;

[0051] Cache module, including:

[0052] The third cache unit is used to cache the response message when the response message completeness check passes.

[0053] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned data processing method by executing the executable instructions.

[0054] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned data processing method is implemented.

[0055] The data processing method, apparatus, device and storage medium provided by the embodiments of the present disclosure collect response messages sent by the server to the client, cache the response messages, receive signaling sent by the client in the event of a server failure, determine a response message corresponding to the signaling based on the signaling, and send the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0056] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0058] Figure 1 A flow chart of a data processing method in an embodiment of the present disclosure is shown;

[0059] Figure 2 Another data processing method flow chart in the embodiment of the present disclosure is shown;

[0060] Figure 3 A flow chart of another data processing method in an embodiment of the present disclosure is shown;

[0061] Figure 4 A flow chart of another data processing method in an embodiment of the present disclosure is shown;

[0062] Figure 5 A schematic diagram of data caching in an embodiment of the present disclosure is shown;

[0063] Figure 6 A flow chart of another data processing method in an embodiment of the present disclosure is shown;

[0064] Figure 7 A flow chart of another data processing method in an embodiment of the present disclosure is shown;

[0065] Figure 8 A flow chart of another data processing method in an embodiment of the present disclosure is shown;

[0066] Fig. 9 A data processing system architecture diagram according to an embodiment of the present disclosure is shown;

[0067] Fig.10 A logic diagram of a receiving and processing preprocessing module in an embodiment of the present disclosure is shown;

[0068] Fig.11 A data processing device architecture diagram according to an embodiment of the present disclosure is shown;

[0069] Fig.12 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0070] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0071] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0072] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0073] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0074] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0075] In order to solve the above problems, the embodiments of the present disclosure provide a data processing method, apparatus, device and storage medium.

[0076] Figure 1A flow chart of a data processing method in an embodiment of the present disclosure is shown.

[0077] like Figure 1 As shown, the method may include:

[0078] S110, collecting response messages sent by the server to the client.

[0079] In some embodiments, the response message may be used by the server to respond to the signaling sent by the client.

[0080] In some embodiments, after the client sends a signaling to the server, the server sends a response message to the client. In the present disclosure, the response message sent by the server to the client can be collected based on the data processing device.

[0081] In some embodiments, the client may be a Diameter Client: it is a network element in IMS / Volte that uses the Diameter protocol to obtain required data from a remote server, such as a call session control function (CSCF), a mobility management entity (MME), a home subscriber server (HSS), and an application server (AS). It is not a module of this system, and its configuration is adjusted according to the functional positioning of the Diameter signaling temporary emergency center, such as being configured as a default route as a disaster recovery standby node after all other nodes fail, or being configured as a daily workload node, allocating appropriate weights to achieve traffic load balancing, and supporting automatic failover, etc.

[0082] In some embodiments, the server may be a Diameter Server: it is a provider of Diameter data, mainly network elements such as DRA / HSS / UDM, etc., and is not a functional module of this system.

[0083] S120, cache the response message.

[0084] In some embodiments, the data processing device in the present disclosure has a cache capability.

[0085] S130, when the server fails, receiving a signaling sent by the client.

[0086] In some embodiments, the server failure may include that the processing efficiency of the server for the signaling sent by the client within a certain period of time is difficult to reach a preset threshold.

[0087] Exemplarily, a server failure may include that the server cannot provide normal services.

[0088] In some embodiments, the server may send fault information to the data processing device in the present disclosure so that the data processing device receives the signaling sent by the client.

[0089] S140: Determine a response message corresponding to the signaling based on the signaling.

[0090] In some embodiments, different signaling may correspond to different response messages.

[0091] S150, sending a response message to the client.

[0092] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0093] Figure 2 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0094] like Figure 2 As shown, the method may include:

[0095] S210, collecting response messages sent by the server to the client;

[0096] S220, filtering the collected response messages based on the Berkeley Packet Filter (BPF) to obtain a response message including a server address, a client address, and a server port.

[0097] In some embodiments, the Berkeley Packet Filter (BPF) allows a space program to attach a filter to a specified socket, and with this capability, filtering of collected response messages can be achieved.

[0098] In some embodiments, the response message may be filtered based on filtering parameters, where the filtering parameters may be a server address, a client address, and a server port.

[0099] Exemplarily, after receiving the response message, the response message may be parsed, and then it is determined whether the response message contains the server address, the client address, and the server port.

[0100] S230, caching the response message including the server address, the client address and the server port;

[0101] S240, receiving a signaling sent by the client in case of a server failure;

[0102] S250, determining a response message corresponding to the signaling based on the signaling;

[0103] S260: Send a response message to the client.

[0104] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0105] Figure 3 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0106] like Figure 3 As shown, the method may include:

[0107] S310: collecting response messages sent by the server to the client according to a preset period and a preset collection quantity within a unit time.

[0108] In some embodiments, the event that the collection server sends a response message to the client may be triggered based on a timer.

[0109] In some embodiments, the preset period and the preset collection quantity can be determined by the user, which will not be described in detail here.

[0110] In some embodiments, the kernel has restrictions on the size of BPF programs and the open interfaces are relatively limited. It is necessary to speed up the processing of response messages. When the number of response messages collected per unit time exceeds a preset threshold, the response messages exceeding the threshold can be discarded.

[0111] Exemplarily, based on a timing timer and a BPF Map, it is possible to collect the response message sent by the server to the client according to a preset period and a preset collection quantity within a unit time.

[0112] S320, cache the response message;

[0113] S330, receiving a signaling sent by the client in case of a server failure;

[0114] S340, determining a response message corresponding to the signaling based on the signaling;

[0115] S350: Send a response message to the client.

[0116] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0117] Figure 4 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0118] like Figure 4 As shown, the method may include:

[0119] S410, collecting response messages sent by the server to the client;

[0120] S420, parse the response message to obtain parameter data corresponding to the response message.

[0121] In some embodiments, the parameter data corresponding to the response message may include data that distinguishes the response message from other response messages.

[0122] Exemplarily, the parameter data of the response message may include the identifier of the client corresponding to the response message, the address of the client, the address of the server, etc.

[0123] S430: Configure multiple key values ​​for the response message based on parameter data corresponding to the response message and the time when the response message is collected.

[0124] In some embodiments, the present disclosure adopts a multi-value key-value cache architecture model when caching response messages.

[0125] Exemplarily, an asynchronous multi-value management function and a multi-value list data structure with a time series may be introduced.

[0126] In some embodiments, when matching response messages, the response messages may be added or deleted at the same time.

[0127] Figure 5 A schematic diagram of data caching in an embodiment of the present disclosure is shown. Figure 5 As shown, different user keys can correspond to multiple values.

[0128] S440, caching the response message after the configuration key value;

[0129] S450, receiving a signaling sent by the client in case of a server failure;

[0130] S460, determining a response message corresponding to the signaling based on the signaling;

[0131] S470: Send a response message to the client.

[0132] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0133] Figure 6 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0134] like Figure 6 As shown, the method may include:

[0135] S610: Collect response messages sent by the server to the client.

[0136] S620: Cache the response message.

[0137] S630, receiving a signaling sent by the client in case of a server failure;

[0138] S640, parsing the signaling to obtain a key value corresponding to the signaling;

[0139] S650, determining a response message corresponding to the signaling based on a key value corresponding to the signaling and a key value corresponding to the response message;

[0140] In some embodiments, after receiving the signaling sent by the client, the signaling sent by the client can be parsed to obtain the key value corresponding to the signaling.

[0141] In some embodiments, the response message may be determined based on a pre-established correspondence between a key value corresponding to the signaling and a key value corresponding to the response message and the health care corresponding to the signaling.

[0142] S660: Send a response message to the client.

[0143] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0144] Figure 7 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0145] like Figure 7 As shown, the method may include:

[0146] S710, collecting response messages sent by the server to the client;

[0147] S720, cache the response message;

[0148] S730: Delete the cached response message based on the time when the response message is collected and / or the time when the response message is sent to the client.

[0149] In some embodiments, a time value may be configured while caching the response message, where the time may be the time for collecting the response message and / or the time for sending the response message to the client.

[0150] S740, receiving a signaling sent by the client in case of a server failure;

[0151] S750, determining a response message corresponding to the signaling based on the signaling;

[0152] S760: Send a response message to the client.

[0153] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0154] Figure 8 A flow chart of another data processing method in an embodiment of the present disclosure is shown.

[0155] like Figure 8 As shown, the method may include:

[0156] S810, collecting response messages sent by the server to the client;

[0157] S820: Perform integrity check on the response message.

[0158] In some embodiments, whether the response message is complete may be determined based on a predetermined integrity policy.

[0159] In some embodiments, when the response message fails the integrity check, the response message that fails the integrity check may be discarded.

[0160] S830: When the response message completeness check passes, cache the response message.

[0161] S840, receiving a signaling sent by the client in case of a server failure;

[0162] S850, determining a response message corresponding to the signaling based on the signaling;

[0163] S860: Send a response message to the client.

[0164] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0165] Fig. 9 A data processing system architecture diagram in an embodiment of the present disclosure is shown.

[0166] like Fig. 9 As shown, the system may include:

[0167] The receiving and processing pre-processing module 901 is used to receive the Diametr signaling collected and reported by the client DataAgent, identify the signaling type and verify the data integrity, put the data packets that are identified and verified to be OK into the exclusive signaling cache queue, and directly discard the data packets with problems.

[0168] The signaling cache queue module 802 is constructed by a high-performance message queue and is used to define multiple exclusive categories according to the Diameter signaling type, so as to facilitate the classification and analysis of signaling into the warehouse while preventing the impact of large data volume.

[0169] The signaling parsing module 903 is used to parse and process the signaling stored in the queue according to the requirements of the storage module, and store the results in the signaling cache management module. The signaling parsing module is composed of multiple dedicated signaling service parsing services, which are responsible for parsing different types of Diameter signaling. Because it is connected to the message queue, it can flexibly deploy multiple sub-service copies according to the signaling volume and processing efficiency to improve the processing capability.

[0170] The signaling cache management module 904 is used to provide the functions of adding, deleting, checking and modifying Diameter signaling by type, and is also responsible for clearing expired signaling according to the expiration policy.

[0171] The Diameter service interface module 905 is used to provide a variety of standard Diameter signaling service interfaces and provide standard Diameter signaling services such as Cx, Dx, Zh, etc. to the client. Its data source is provided by the signaling cache management module.

[0172] The data processing method provided by the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0173] Fig.10 A logic diagram of a receiving and processing preprocessing module in an embodiment of the present disclosure is shown.

[0174] like Fig.10 As shown, the receiving and processing pre-processing module filters the response message based on BPF.

[0175] Based on the same inventive concept, the present disclosure also provides a data processing device in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0176] Fig.11 A data processing device architecture diagram in an embodiment of the present disclosure is shown.

[0177] like Fig.11 As shown, the data processing device in the embodiment of the present disclosure may include:

[0178] The collection module 1101 is used to collect the response message sent by the server to the client;

[0179] The cache module 1102 is used to cache the response message;

[0180] The receiving module 1103 is used to receive the signaling sent by the client in case of a server failure;

[0181] A determination module 1104, configured to determine a response message corresponding to the signaling based on the signaling;

[0182] The sending module 1105 is used to send the response message to the client.

[0183] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0184] In one embodiment of the present disclosure, the cache module includes:

[0185] A filtering unit, used for filtering the collected response messages based on a Berkeley Packet Filter (BPF) to obtain a response message including a server address, a client address and a server port;

[0186] The first cache unit is used to cache the response message including the server address, the client address and the server port.

[0187] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0188] In one embodiment of the present disclosure, the sending module includes:

[0189] The sending unit is used to collect the response messages sent by the server to the client according to a preset period and a preset collection quantity within a unit time.

[0190] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0191] In one embodiment of the present disclosure, the cache module includes:

[0192] A parsing unit, used to parse the response message to obtain parameter data corresponding to the response message;

[0193] A configuration unit, configured to configure a plurality of key values ​​for the response message based on parameter data corresponding to the response message and a time when the response message is collected;

[0194] The second cache unit is used to cache the response message after the configuration key value.

[0195] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0196] In one embodiment of the present disclosure, the determination module includes:

[0197] A parsing unit, used to parse the signaling to obtain a key value corresponding to the signaling;

[0198] A determination unit is used to determine a response message corresponding to the signaling based on a key value corresponding to the signaling and a key value corresponding to the response message.

[0199] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0200] In one embodiment of the present disclosure, the device further includes:

[0201] The deletion module is used to delete the cached response messages based on the time when the response messages are collected and / or the time when the response messages are sent to the client.

[0202] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0203] In one embodiment of the present disclosure, the device further includes:

[0204] A check module is used to check the integrity of the response message;

[0205] Cache module, including:

[0206] The third cache unit is used to cache the response message when the response message completeness check passes.

[0207] The data processing device provided in the embodiment of the present disclosure collects response messages sent by the server to the client, caches the response messages, receives signaling sent by the client in the event of a server failure, determines a response message corresponding to the signaling based on the signaling, and sends the response message to the client, thereby improving the stability of the Diameter signaling network to some extent.

[0208] The data processing device provided in the embodiments of the present disclosure can be used to execute the positioning methods provided in the above-mentioned method embodiments. The implementation principles and technical effects thereof are similar and will not be described in detail here for the sake of brevity.

[0209] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0210] Refer to the following Fig.12 1200 according to this embodiment of the present disclosure is described. Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0211] like Fig.12 As shown, the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 may include but are not limited to: at least one processing unit 1212, at least one storage unit 1220, and a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1212).

[0212] The storage unit stores program codes, which can be executed by the processing unit 1212, so that the processing unit 1212 performs the steps of various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1212 can perform the following steps of the above method embodiment:

[0213] Collect the response message sent by the server to the client;

[0214] Cache the response message;

[0215] In case of server failure, receive signaling sent by the client;

[0216] Determine a response message corresponding to the signaling based on the signaling;

[0217] Send the response message to the client.

[0218] The storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 12201 and / or a cache storage unit 12202 , and may further include a read-only storage unit (ROM) 12203 .

[0219] The storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0220] Bus 1230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0221] The electronic device 1200 may also communicate with one or more external devices 1240 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1200, and / or communicate with any device that enables the electronic device 1200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1250. Furthermore, the electronic device 1200 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1260. As shown, the network adapter 1260 communicates with other modules of the electronic device 1200 via a bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0222] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0223] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. A program product capable of implementing the above method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.

[0224] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0225] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0226] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0227] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0228] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0229] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0230] Through the description of the above implementation modes, it is easy for those skilled in the art to understand that the example implementation modes described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation mode of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation mode of the present disclosure.

[0231] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A data processing method, characterized in that: include: Collect the response message sent by the server to the client; Cache the response message; In case of a failure of the server, receiving a signaling sent by the client; Determine a response message corresponding to the signaling based on the signaling; The response message is sent to the client.

2. The method according to claim 1, characterized in that: The caching of the response message comprises: The collected response messages are filtered based on the Berkeley Packet Filter (BPF) to obtain the response messages including the server address, the client address and the server port; The response message including the server address, client address and server port is cached.

3. The method according to claim 1, characterized in that The response message sent by the collection server to the client includes: The response message sent by the collection server to the client is collected according to the preset cycle and the preset collection quantity in the unit time.

4. The method according to claim 1, characterized in that The caching of the response message comprises: Parsing the response message to obtain parameter data corresponding to the response message; Configuring a plurality of key values ​​for the response message based on parameter data corresponding to the response message and a time when the response message is collected; Cache the response message after configuring the key value.

5. The method according to claim 4, characterized in that The determining, based on the signaling, a response message corresponding to the signaling includes: Parsing the signaling to obtain a key value corresponding to the signaling; A response message corresponding to the signaling is determined based on the key value corresponding to the signaling and the key value corresponding to the response message.

6. The method according to claim 1, characterized in that The method further comprises: The cached response messages are deleted based on the time when the response messages are collected and / or the time when the response messages are sent to the client.

7. The method according to claim 1, characterized in that The method further comprises: Performing integrity check on the response message; Caching the response message includes: When the response message completeness check passes, the response message is cached.

8. A data processing device, characterized in that: include: A collection module, used to collect response messages sent by the server to the client; A cache module, used for caching the response message; A receiving module, used for receiving a signal sent by the client in the event of a failure of the server; A determination module, used to determine a response message corresponding to the signaling based on the signaling; A sending module is used to send the response message to the client.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the data processing method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Interface display method and device, terminal and server

    CN111682983A

  • Service command processing method and device, system, equipment, medium and vehicle

    CN117135194A

  • Data processing method, device and system

    CN117729210A

  • Device, system, method and program for controlling DNS response

    JP2010268316A

  • Data transfer management apparatus, data transfer management method and data transfer management program

    JP2011180820A