Data processing method and device

By generating and managing differential data in communication devices, the problem of massive control data storage impacting storage space is solved, and the efficiency of communication connection management is improved.

CN114816242BActive Publication Date: 2025-09-23LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210343345.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2025-09-23
Estimated Expiration
2042-03-31

AI Technical Summary

Technical Problem

In the field of communication technology, the storage of massive amounts of control data in communication equipment impacts storage space and reduces the efficiency of communication connection management.

Method used

By using data processing equipment to obtain differential data based on received data requests, storage requirements are reduced and management efficiency is improved. The specific steps include parsing data requests to obtain the identifier and business information of terminal devices, generating differential data, and managing it.

Benefits of technology

It reduces the impact on the storage space of data processing equipment, reduces data addressing calculation time, and improves the efficiency of communication connection management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114816242B_ABST
    Figure CN114816242B_ABST
Patent Text Reader

Abstract

The present application discloses a data processing method and device, wherein the method includes: a data processing device obtains first data based on a received first data request; wherein the first data includes configuration data corresponding to the first data request; the first data and the first data request are processed to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request; based on the first difference data, a target connection is managed; wherein the target connection includes a communication connection between a terminal device and the data processing device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data processing method and device. Background Art

[0002] In the field of communications technology, managing the communication connections between communication devices requires massive amounts of control data. Furthermore, to manage communication connections in real time, related technologies require the complete storage of this control data within the communication devices. Consequently, when there are a large number of communication connections, storing this massive amount of control data can significantly impact the storage space of the communication devices and reduce the efficiency of communication connection management. Summary of the Invention

[0003] In view of the above problems, an embodiment of the present application provides a data processing method and device.

[0004] The technical solution provided by the embodiments of this application is as follows:

[0005] An embodiment of the present application provides a data processing method, the method comprising:

[0006] The data processing device obtains first data based on the received first data request; wherein the first data includes configuration data corresponding to the first data request;

[0007] Processing the first data and the first data request to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request;

[0008] Based on the first difference data, a target connection is managed; wherein the target connection includes a communication connection between a terminal device and the data processing device.

[0009] In some embodiments, obtaining the first data includes:

[0010] Parsing the first data request to obtain type information of the first data request;

[0011] The first data corresponding to the type information of the first data request is acquired.

[0012] In some embodiments, the first data request includes a request to establish the target connection; and processing the first data and the first data request to obtain first difference data includes:

[0013] Parsing the first data request to obtain at least first identification information and first service information; wherein the first identification information includes a device identification of the terminal device; and the first service information includes type information of the service requested by the first data request;

[0014] The first difference data is obtained based at least on the first identification information, the first service information, and the first data.

[0015] In some embodiments, the first data request includes a registration request; and processing the first data and the first data request to obtain first difference data includes:

[0016] Parsing the first data request to obtain at least second identification information and second service information; wherein the second identification information includes at least a standard identification of the communication module of the terminal device; and the second service information includes information of at least one service type configured for the communication module of the terminal device;

[0017] The first difference data is obtained based on at least the second identification information, the second service information and the first data.

[0018] In some embodiments, the data processing device includes a core network (CN) network element device; and the parsing and processing the first data request to obtain at least the second identification information and the second service information includes:

[0019] The CN network element device parses and processes the first data request to obtain at least the subscriber identity module (SIM) configuration information of the mobile terminal device; wherein the SIM configuration information includes the second identification information and the second service information.

[0020] In some embodiments, the method further comprises:

[0021] If the data processing device receives a second data request, it obtains second data; wherein the second data request at least includes a data change request; the second data at least includes the data to be changed in the data change request;

[0022] obtaining second difference data between the second data and the first data;

[0023] updating the first difference data based on the second difference data to obtain updated first difference data;

[0024] The managing the target connection based on the first difference data includes:

[0025] The target connection is managed based on the updated first difference data.

[0026] In some embodiments, the method further comprises:

[0027] Obtaining first identification information; wherein the first identification information at least includes a device identification of the terminal device;

[0028] Acquire first difference data corresponding to the first identification information;

[0029] Sending first difference data corresponding to the first identification information to the terminal device.

[0030] In some embodiments, obtaining the first identification information includes:

[0031] The first identification information is obtained from the first data request or the third data request; wherein the third data request includes a data acquisition request sent by the terminal device.

[0032] In some embodiments, obtaining the first data includes:

[0033] The first data is obtained from the memory space of the data processing device.

[0034] The present application also provides a data processing device, including:

[0035] an acquisition module, configured to acquire first data based on the received first data request; wherein the first data includes configuration data corresponding to the first data request;

[0036] a processing module, configured to process the first data and the first data request to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request;

[0037] A management module is used to manage a target connection based on the first difference data; wherein the target connection includes a communication connection between a terminal device and the data processing device.

[0038] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can implement the data processing method described in any of the previous embodiments.

[0039] As can be seen from the above, in the data processing method provided by the embodiment of the present application, the data processing device obtains the first data based on the received first data request, and then manages the target connection between the terminal device and the data processing device based on the difference data between the first data and the first data request, that is, the first difference data. In this way, during the communication between the data processing device and the terminal device, since the amount of data of the first difference data is smaller than the amount of data of the first data request, storing the first difference data in the data processing device can effectively reduce the impact on the storage space of the data processing device. Moreover, since the data type and data amount contained in the first difference data are smaller than the data type and data amount contained in the first data request, when managing the target connection based on the first difference data, it can also reduce the time of data addressing calculation of the data processing device, thereby improving the efficiency of the data processing device in managing the target connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flowchart of a data processing method provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of a process for obtaining first difference data provided in an embodiment of the present application;

[0042] Figure 3 A schematic diagram of a process for sending first difference data to a terminal device according to an embodiment of the present application;

[0043] Figure 4 A schematic diagram of a structural flow of sending full data corresponding to first identification information to a first device provided in an embodiment of the present application;

[0044] Figure 5 A schematic diagram of a process for updating first difference data provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of a structural flow chart for updating first difference data provided in an embodiment of the present application;

[0046] Figure 7 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0048] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0049] The present application relates to the field of communication technology, and in particular to a data processing method and device.

[0050] In the field of communications technology, communications equipment, especially those used to manage communications connections, typically requires a large amount of control data to manage and control these connections. In practice, this control data changes with the state of the communication connection. To fully guarantee a secure communication connection, the control data carries a large and diverse range of data types.

[0051] In the actual communication process, in order to achieve real-time and effective management of communication connections, communication equipment usually needs to save all control data associated with the current communication connection. When there are a large number of communication connections, rich control data types, and a large amount of control data, the storage of massive control data will have a strong impact on the storage space of the communication equipment.

[0052] Based on the above problems, an embodiment of the present application provides a data processing method and device. In the data processing method provided in the embodiment of the present application, the data processing device can obtain the configuration data corresponding to the first data request, i.e., the first data, based on the received first data request, and then obtain the first difference data between the first data and the first data request, and manage the target connection based on the first difference data. Since the amount of the first difference data is smaller than the amount of the first data request, storing the first difference data in the data processing device can effectively reduce the impact on the storage space of the data processing device, and managing the target connection based on the first difference data can also improve the efficiency of target connection management.

[0053] It should be noted that the above data processing method can be implemented by a processor of a data processing device. The above processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor.

[0054] Figure 1 A flow chart of the data processing method provided in the embodiment of the present application is shown as follows: Figure 1 As shown, the process may include steps 101 to 103:

[0055] Step 101: A data processing device obtains first data based on a received first data request.

[0056] The first data includes configuration data corresponding to the first data request.

[0057] In one embodiment, the data processing device may be a computer device, such as a server device; exemplarily, the data processing device may be a device for implementing communication management, such as a base station device; exemplarily, the data processing device may be a control device for implementing communication connection balance, which is not limited in this embodiment of the present application.

[0058] In one embodiment, the first data request may be sent by a terminal device; exemplarily, the terminal device may include a computer device, such as a client device; exemplarily, the terminal device may include a mobile smart terminal, such as a mobile phone and a tablet computer; exemplarily, the terminal device may also include an edge computing device (Mobile Edge Computing, MEC), which is not limited in this embodiment of the present application.

[0059] In one embodiment, the terminal device may include vehicle monitoring equipment, remote control equipment, telemetry equipment, wireless meter reading equipment, access control equipment, industrial data acquisition equipment, identity recognition equipment, security and fire protection equipment, wireless remote control equipment, biological signal acquisition equipment, hydrological and meteorological monitoring equipment, and robot control equipment, etc.

[0060] In one implementation, the terminal device may include a device that initiates the first data request, and may also include a device for forwarding the first data request.

[0061] In one embodiment, the first data request may include any type of data request initiated by the terminal device; illustratively, the first data request may be at least one data request among multiple data requests received by the data processing device and sent by the terminal device. For example, the first data request may be the data request received by the data processing device from the terminal device for the first time. This embodiment of the present application is not limited to this.

[0062] In one embodiment, the first data may include data for describing a configuration method for configuring the first data request; illustratively, the configuration method may include at least one of compressing the first data request and extracting at least one field in the first data request.

[0063] In one embodiment, the first data may include full configuration data corresponding to the first data request. For example, the first data may include data having the same data structure as the first data request, including all parameters in the first data request, and each parameter is set with a default parameter value; exemplarily, the first data may include parameters included in all types of data requests that can be processed by the terminal device, and each parameter is set with a default parameter value.

[0064] Exemplarily, the data processing device obtains the first data based on the first data request by any of the following methods:

[0065] The data processing device obtains first data corresponding to the source information of the first data request sent by the terminal device based on the obtained source information; illustratively, the source information may include a device identifier of the terminal device that sends the first data request.

[0066] The data processing device obtains the first data corresponding to the time period information based on the time period information of the first data request sent by the terminal device; illustratively, the above time period information may include weekday time periods and holiday time periods, etc., and may also include ordinary time periods and peak time periods, etc.

[0067] Step 102: Process the first data and the first data request to obtain first difference data.

[0068] The first difference data includes difference data between the first data and the first data request.

[0069] In one embodiment, the type of data included in the first difference data may be at least one; and the amount of data included in the first difference data may be at least one.

[0070] In one implementation, the first difference data may be embodied in the form of an array, a structure, and a file, which is not limited in this embodiment of the present application.

[0071] Exemplarily, processing the first data and the first data request to obtain the first difference data may be achieved by any of the following methods:

[0072] Obtain structural information of the first data and structural information of the first data request, and then compare the type of parameters in the first data with the type of parameters in the first data request based on the structural information of the first data and the structural information of the first data request, and determine the different types of parameters in the first data and the first data request and their corresponding parameter values ​​as first difference data.

[0073] Find the same parameters or fields from the first data and the first data request, and based on the differences and similarities in the parameter values ​​corresponding to the same parameters or fields, lock the target parameters and the parameter values ​​of the target parameters from the first data and the first data request, and then determine the above target parameters and parameter values ​​as the first difference data.

[0074] Illustratively, in the data processing method provided in the embodiment of the present application, after obtaining the first difference data, the first difference data may be stored in a storage space of the data processing device.

[0075] Step 103: Manage the target connection based on the first difference data.

[0076] The target connection includes a communication connection between a terminal device and a data processing device.

[0077] In one embodiment, the target connection may include a communication connection between the terminal device and the data processing device at the current moment; illustratively, the target connection may be a wired connection or a wireless connection.

[0078] In one embodiment, the target connection may include a communication connection between the terminal device and the data processing device at a future time.

[0079] In one embodiment, managing the target connection may include at least one of maintaining the target connection, terminating the target connection, modifying configuration information of the target connection, and whether to allow a response to a service request included in the first data request based on the target connection. The configuration information of the target connection may include at least one of modifying a data transmission mode of the target connection, modifying a data type transmitted based on the target connection, and modifying a data transmission rate of the target connection.

[0080] Exemplarily, managing the target connection based on the first difference data can be achieved in the following manner:

[0081] The target connection is managed based on the first difference data and the data resources that the data processing device can manage. For example, if the first difference data indicates that more data resources need to be requested for the target connection, the data processing device can determine whether to allocate more data resources to the target connection based on the data resources included in the first difference data and the data resources that the data processing device can manage.

[0082] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, the data processing device obtains the first data based on the received first data request, and then manages the target connection between the terminal device and the data processing device based on the difference data between the first data and the first data request, that is, the first difference data.

[0083] In this way, during the communication between the data processing device and the terminal device, since the data volume of the first difference data is smaller than the data volume of the first data request, storing the first difference data in the data processing device can reduce the impact on the storage space of the data processing device. Moreover, since the data type and data volume contained in the first difference data are smaller than the data type and data volume contained in the first data request, when the target connection is managed based on the first difference data, the data addressing calculation time of the data processing device can also be reduced, thereby improving the efficiency of the data processing device in managing the target connection.

[0084] Based on the above embodiment, in the data processing method provided in the embodiment of the present application, obtaining the first data can be achieved through steps A1 to A2:

[0085] Step A1: parse the first data request to obtain type information of the first data request.

[0086] In one embodiment, the type information of the first data request may include type information of the data requested by the first data request. For example, the data requested by the first data request may include text data, video data, image data, and web page data.

[0087] In one embodiment, the type information of the first data request may include type information of a device initiating the first data request. For example, the device initiating the first data request may include a server device, a client device, and a mobile terminal device.

[0088] In one embodiment, the type information of the first data request may further include service information corresponding to the first data request, such as a remittance service, a ticket purchase service, and a room reservation service.

[0089] In one embodiment, the type information of the first data request may be included in the first data request. In this case, the data processing device may parse the first data request to obtain the above type information.

[0090] In one embodiment, the type information of the first data request may be determined by parsing at least one type of data included in the first data request and then according to the parsing result and request classification information in the data processing device.

[0091] Step A2: Acquire first data corresponding to the type information of the first data request.

[0092] In one embodiment, under the condition that the type information of the data request changes, at least one of the data structure of the data request, the amount of data included in the data request, and the type of data included in the data request may be different.

[0093] In one embodiment, a plurality of first data corresponding to the type information of the data request may be pre-stored in the storage space of the data processing device. Exemplarily, association information may be established between the first data and the type information of the data request. Thus, after obtaining the type information of the first data request, the first data corresponding to the type information of the first data request may be obtained based on the type information of the first data request and the above-mentioned association information.

[0094] As can be seen from the above, in the data processing method provided in the embodiments of the present application, processing the first data request can obtain the type information of the first data request and also obtain the first data corresponding to the type information of the first data request. As a result, the first data is directly associated with the type information of the first data request, thereby improving the efficiency of determining the first difference data. Furthermore, if the granularity of the data request type classification is finer, the amount of the first difference data can be further reduced, and the accuracy of controlling the target connection based on the first difference data can be further improved.

[0095] Based on the above embodiments, in the data processing method provided in the embodiments of the present application, obtaining the first data can also be achieved by the following methods:

[0096] First data is obtained from a memory space of a data processing device.

[0097] Exemplarily, the first data may be stored in the memory space of the data processing device. Thus, after receiving the first data request, the data processing device may quickly obtain the first data from the memory space, thereby improving the efficiency of obtaining the first data and further improving the efficiency of determining the first difference data.

[0098] Based on the foregoing embodiment, in the data processing method provided by the embodiment of the present application, the first data request includes a request to establish a target connection.

[0099] In one embodiment, the first data request may be a request sent by the terminal device for the first time to the data processing device to request establishment of a target connection; exemplarily, when the terminal device is a smart phone and the data processing device is a base station controller (BSC), the first data request may include a network search request sent by the smart phone to the BSC after it is turned on for the first time, or an access request sent by the smart phone to the target BSC when performing BSC switching during movement; exemplarily, the first data request at this time may include device information of the smart phone.

[0100] In one embodiment, the first data request may include a request sent by the terminal device to the data processing device to connect to a target connection at a specified address; illustratively, when the terminal device is a smart phone or a computer device and the data processing device is a network management device such as a router device, the first data request may include a request from the smart phone or computer device to access a specified network address.

[0101] Accordingly, the first data and the first data request are processed to obtain the first difference data, which can be achieved by Figure 2 The process shown is implemented Figure 2 This is a flow chart of obtaining the first difference data provided in the embodiment of the present application. Figure 2 As shown, the process may include steps 201 to 202:

[0102] Step 201: parse and process a first data request to obtain at least first identification information and first business information.

[0103] The first identification information includes the device identification of the terminal device; the first service information includes the type information of the service requested by the first data request.

[0104] In one implementation, the device identification of the terminal device may include an address identification of the terminal device; illustratively, the address identification of the terminal device may include a physical address identification and / or a network address identification of the terminal device.

[0105] In one embodiment, the device identification of the terminal device may also include the identity identification of the terminal device. For example, if the terminal device is a smart phone, the device identification of the terminal device may include the smart phone serial number, namely the International Mobile Equipment Identity (IMEI).

[0106] In one embodiment, the first identification information may also include device type information of the terminal device. Exemplarily, the device type information may include a mobile terminal device and an MEC device, etc. This embodiment of the present application is not limited to this.

[0107] In one embodiment, the first service information may include type information of service data carried by the target connection requested by the first data request, such as video data and voice data; exemplarily, the first service information may also include quality information of the service data carried by the target connection, such as whether the service data is transmitted synchronously or asynchronously.

[0108] In one embodiment, the first identification information and the first service information may be included in the first data request. Therefore, the data processing device may obtain the first identification information and the first service information by parsing the first data request.

[0109] Exemplarily, by parsing the first data request, information such as the sending time of the first data request, the current location information of the terminal device, and the network distribution status of the current location of the terminal device can be obtained.

[0110] Step 202: Obtain first difference data based at least on the first identification information, the first service information, and the first data.

[0111] In one implementation, the type information of the first data request may be determined based on the first service information and / or the first identification information, and then the first data corresponding to the type information of the first data request may be obtained based on the type information of the first data request.

[0112] In one embodiment, the first difference data can be obtained based on the difference data between the first identification information, the first business information, the sending time of the first data request, the current location information of the terminal device, and the network distribution status of the current location of the terminal device, and the first data.

[0113] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, after the data processing device receives the first data request sent by the terminal device to establish a target connection, it can parse and process the first data request to obtain at least the first identification information and the first business information, and then obtain the first difference data based on at least the first identification information, the first business information and the first data.

[0114] Therefore, in the data processing method provided in the embodiment of the present application, the data processing device can determine the first difference data based on the first identification information and the first business information in the first data request before the target connection is established, thereby making the process of determining the first difference data more flexible.

[0115] Based on the foregoing embodiment, in the data processing method provided in the embodiment of the present application, the first data request includes a registration request.

[0116] In one embodiment, the registration request may include information such as an account number and password obtained by the terminal device and entered by the user of the terminal device. That is, the registration request may be a request passively sent by the terminal device in response to the user's registration operation; illustratively, the registration request may be a request sent by the terminal device in response to the user's registration operation to a designated website.

[0117] In one embodiment, the registration request may include a device registration request actively initiated by the terminal device; illustratively, under the condition that the terminal device is a mobile phone and the data processing device is a BSC, the mobile phone may initiate a network registration request to the BSC after being turned on.

[0118] In one embodiment, the registration request may include a device registration request initiated by other devices capable of managing terminal devices, such as a device registration request for an office device sent from a management device for managing office devices to a cloud server.

[0119] Accordingly, the first data and the first data request are processed to obtain the first difference data, which can be done through steps B1 to B2:

[0120] Step B1: parse and process the first data request to obtain at least second identification information and second business information.

[0121] The second identification information at least includes a standard identification of a communication module of the terminal device; and the second service information includes information of at least one service type configured for the communication module of the terminal device.

[0122] In one embodiment, the communication module may include a wireless communication module and / or a wired communication module; exemplarily, the wireless communication module may include a wireless mobile communication module, such as a Bluetooth (BT) module, a Wi-Fi module, and a near field communication (NFC); ​​the wired communication module may include a module that requires an electrical connection via a physical line to achieve data communication, such as a wired network card commonly used in computer equipment.

[0123] Correspondingly, the standard identifier of the communication module may include an identifier or name of the communication standard that the communication module can implement. For example, if the BT module can implement BT communication, the indication identifier of the BT module may be BT communication.

[0124] In one embodiment, the second identification information may include a communication module currently in an available state among the communication modules provided in the terminal device, and a standard identification of the communication module currently in an available state. For example, the terminal device may be provided with a BT module, a Wi-Fi module, and an NFC module, but the only modules currently available are the BT module and the NFC module. In this case, the second identification information may include BT module-BT communication and NFC module-NFC communication.

[0125] In one embodiment, the second service information may be information about the service type configured by the terminal device for the communication module. For example, when the terminal device detects that the Wi-Fi module is available, it may configure service types such as video data download and data upload for the Wi-Fi module.

[0126] In one embodiment, the second service information can be determined based on user input of the terminal device; for example, after the terminal device detects the audio transmission service set by the user for the BT module, the second service information configured by the terminal device may include: configuring the audio transmission service for the BT module.

[0127] For example, after the terminal device determines the second identification information and the second service information, when sending a first data request, and if the service requested in the first data request is associated with at least one communication module in the second identification information, the second identification information and the second service information can be added to the first data request, and the first data request can be sent to the data processing device. In this manner, after receiving the first data request, the data processing device parses the first data request to obtain the second identification information and the second service information.

[0128] Exemplarily, the data processing device parses the first data request and can also obtain at least one of the device identification of the terminal device, the network status of the terminal device's current environment, and the terminal device's current account information. This embodiment of the present application is not limited to this.

[0129] Step B2: Obtain first difference data based at least on the second identification information, the second service information, and the first data.

[0130] Exemplarily, obtaining the first difference data based on at least the second identification information, the second service information, and the first data may be achieved by any of the following methods:

[0131] At least based on the second identification information and the second business information, determine the type information of the first data request, and based on the type information of the first data request, obtain the first data corresponding to the type information of the first data request, and then based on at least the second identification information and the second business information, and the difference information between the first data, obtain the first difference data.

[0132] First difference data is obtained based on the second identification information, the second business information, the source information of the first data request, the request time of the first data request and other information, and the difference information between the first data.

[0133] As can be seen from the above, in the data processing method provided by the embodiment of the present application, under the condition that the first data request is a registration request, the data processing device parses and processes the first data request, and can obtain the standard identification of the communication module of the terminal device, that is, the second identification information, and information of at least one service type configured for the communication module of the terminal device, that is, the second service information, and then obtain the first difference data based on at least the second identification information, the second service information and the first data. As a result, the first difference data not only contains information about the service type requested by the terminal device, but also includes standard information about the communication mode supported by the communication module of the terminal device, so that the first difference data is more consistent with the communication parameters of the terminal device. On this basis, the management accuracy of the target connection based on the first difference data can also be improved.

[0134] Based on the foregoing embodiments, in the data processing method provided in the embodiments of the present application, the data processing device includes a CN network element device.

[0135] In one embodiment, the data processing device may be a device capable of implementing data management in a CN network element. For example, the CN network element device may be a Unified Data Repository (UDR), an Access and Mobility Management Function (AMF) network element, and a Session Management Function (SMF).

[0136] In one embodiment, the mobile terminal device may include a smart phone, a tablet computer, etc., which is not limited in this embodiment of the present application.

[0137] Accordingly, parsing the first data request to obtain at least the second identification information and the second service data can be achieved in the following manner:

[0138] The CN network element device parses and processes the first data request to obtain at least SIM configuration information of the mobile terminal device.

[0139] The SIM configuration information includes second identification information and second service information.

[0140] In one implementation, the first data request may be a registration request sent indirectly to the CN network element device via other communication devices after the mobile terminal device is powered on for the first time.

[0141] In one embodiment, the first data request may be a registration request that does not need to rely on the power-on startup operation of the mobile terminal device; exemplarily, the registration request at this time may be a SIM card activation request, that is, a SIM card network access request; exemplarily, the SIM card network access request may include at least one of the standard identification of the communication module configured for the SIM card, the service type, the number of services, the account information, and the service validity period.

[0142] In one embodiment, the first data request may be a SIM card network access request initiated by a staff member of a wireless mobile communications operator to a CN network element device via a computer device. In this request, the staff member may configure at least one of the following information for the SIM card: a standard identifier of the communication module, a service type, a number of services, account information, and a service validity period. Upon receiving the first data request, the CN network element device may parse the first data request to obtain the standard identifier of the communication module, i.e., a second identifier, and further obtain second service information including at least one of the following information: a service type, a number of services, whether service data is encrypted, a service encryption processing policy, and a service validity period.

[0143] Exemplarily, the communication standard configured for the SIM card may include the communication standard supported by the communication module of the terminal device to be set with the SIM card; Exemplarily, the communication standard may include Wideband Code Division Multiple Access (W-CDMA) and Time Division-Synchronous Code Division Multiple Access (TD-SCDMA); Exemplarily, the communication standard may include the third generation mobile communication technology (3G), the fourth generation mobile communication technology (4G), and the like. th The present invention relates to 4G and 5G mobile communication technologies, which are not limited in the embodiments of the present invention.

[0144] In one implementation, when the first data request is a SIM card network access request, the second identification information and the second service information in the first data request may be referred to as SIM card network access data.

[0145] In actual applications, when a large number of SIM cards are registered for network access, the CN network element device will save the full amount of network access data for each SIM card, which will inevitably have a large impact on the storage space of the CN network element device. In addition, under normal circumstances, the differences between the network access data of SIM cards are small. Therefore, there is a lot of redundant data in the SIM card network access data stored in the storage space of the CN network element device. Therefore, in the storage process of the above-mentioned SIM card network access data, there is a large amount of repeated storage of the same data, which will also lead to a waste of limited storage space in the CN network element device.

[0146] In order to alleviate the impact on the storage space of CN network element devices, reduce the repetitive storage of redundant data during the storage of SIM card network access data, and at the same time ensure the accurate and stable management of communication connections, the data processing method provided in the embodiment of the present application pre-stores first data in the CN network element device, and after receiving the first data request sent by the terminal device, obtains first difference data based on the difference information between the first data and the SIM configuration information contained in the first data request, and stores the first difference data in the storage space of the CN network element device. In this way, the data processing method provided in the embodiment of the present application can not only reduce the impact of the massive storage of SIM card network access data on the storage space of the CN network element device, but also reduce the redundant storage operations during the storage of SIM card network access data.

[0147] Based on the above embodiments, the data processing method provided in the embodiments of the present application may further include: Figure 3 The process shown, Figure 3 A schematic diagram of a process for sending first difference data to a terminal device according to an embodiment of the present application is provided, such as Figure 3 As shown, the process may include steps 301 to 303:

[0148] Step 301: Obtain first identification information.

[0149] The first identification information at least includes the device identification of the terminal device.

[0150] In one embodiment, the first identification information may be randomly determined by the data processing device; illustratively, the first identification information may be obtained by the data processing device from a communication connection managed by the data processing device; illustratively, the first identification information may be sent to the data processing device by other communication devices that have established a communication connection with the data processing device.

[0151] Step 302: Acquire first difference data corresponding to the first identification information.

[0152] In one embodiment, a large amount of first difference data may be stored in the storage space of a data processing device. For example, since the identification information of each terminal device may be identity information used to distinguish the terminal device, that is, the first identification information may be key difference information associated with each terminal device, each piece of first difference data may include the first identification information. Thus, based on the first identification information, the first difference data may be traversed and matched, and the data processing device may obtain the first difference data corresponding to the first identification information.

[0153] In one embodiment, when the data processing device stores the first difference data, the first difference data may be stored in association with the first identification information. Thus, based on the first identification information, the data processing device can traverse and match the associated stored first identification information and the first difference data to obtain the first difference data corresponding to the first identification information.

[0154] Step 303: Send first difference data corresponding to the first identification information to the terminal device.

[0155] In one embodiment, under the condition that the target connection has been established, the data processing device may send the first difference data corresponding to the first identification information to the terminal device through the target connection.

[0156] In one embodiment, under the condition that the target connection is not established, the data processing device may send the first difference data corresponding to the first identification information to the terminal device after the target connection is established.

[0157] In one embodiment, under the condition that the target connection is not established and the first data request is a connection request, the data processing device may send the first difference data corresponding to the first identification information to the terminal device as response data to the first data request.

[0158] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, after the data processing device obtains the first identification information, it can obtain the first difference data corresponding to the first identification information, and can also send the first difference data corresponding to the first identification information to the terminal device, thereby realizing a communication handshake between the data processing device and the terminal device in terms of the first difference data, and also laying the foundation for the terminal device to confirm the accuracy of the first difference data, thereby further improving the stability and security of the data processing device managing the target connection based on the first difference data.

[0159] Based on the above embodiment, in the data processing method provided in the embodiment of the present application, obtaining the first identification information can be achieved by the following methods:

[0160] The first identification information is obtained from the first data request or the third data request.

[0161] The third data request includes a data acquisition request sent by the terminal device.

[0162] In one embodiment, the first identification information can be obtained by parsing the first data request when the data processing device first receives the first data request; illustratively, in this case, after obtaining the first difference information, the data processing device can send the first difference data corresponding to the first identification information to the terminal device in real time.

[0163] In one embodiment, after obtaining the first difference data and / or storing the first difference data, the data processing device does not send the first difference data corresponding to the first identification information to the terminal device in real time. At this time, the terminal device can send a third data request to the data processing device before the connection request, registration request, and service request are started. After receiving the third data request, the data processing device can parse and process the third data request to obtain the first identification information, and obtain the first difference data corresponding to the first identification information, and then send the first difference data corresponding to the first identification information to the terminal device.

[0164] In one implementation, the data processing device may send the first difference data corresponding to the first identification information to the terminal device and / or the device that sends the third data request.

[0165] In one embodiment, other communication devices participating in target connection management may also send a third data request to the data processing device, and may add the first identification information to the third data request.

[0166] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, the data processing device can obtain the first identification information from the first data request, or from the data acquisition request sent by the terminal device, that is, the third data request, and then obtain the first difference data corresponding to the first identification information, providing a diversified implementation method for obtaining the first difference data.

[0167] Based on the above embodiment, in the data processing method provided in the embodiment of the present application, the data processing device can also send the full amount of data corresponding to the first identification information to the device including the terminal device, and the process can be as follows: Figure 4 As shown, Figure 4 A schematic diagram of the structural flow of sending full data corresponding to first identification information to a first device provided in an embodiment of the present application.

[0168] exist Figure 4In the embodiment, the first device 401 may send a third data request to the data processing device 402; exemplarily, the third data request may include a data acquisition request; exemplarily, the third data request may include a full data acquisition request; exemplarily, the third data request may carry the first identification information.

[0169] Exemplarily, the first device 401 may include the terminal device in the aforementioned embodiment, or may include other devices other than the terminal device that establish a communication connection with the data processing device 402; exemplarily, the first device 401 may also be a network function (NF) network element in the CN, such as AMF, etc.; exemplarily, the data processing device 402 may be any network element in the CN that has a data management function, and this embodiment of the application is not limited to this.

[0170] Illustratively, after the data processing device 402 receives the third data request, it may perform the following steps:

[0171] Step 4021: Obtain first difference data corresponding to the first identification information.

[0172] Illustratively, the data processing device 402 may obtain the first identification information from the third data request, and traverse and search multiple first difference information stored in its storage space based on the first identification information, thereby obtaining the first difference data corresponding to the first identification information.

[0173] Step 4022: Obtain first data.

[0174] Illustratively, the data processing device 402 may obtain the first data from its memory space; illustratively, the first data may be the full amount of data corresponding to the data request stored in the data processing device.

[0175] It should be noted that step 4021 and step 4022 can be executed in parallel, or their order of execution can be adjusted, and this embodiment of the present application does not limit this.

[0176] Step 4023: Obtain and send the full amount of data corresponding to the first identification information.

[0177] Illustratively, the data processing device 402 may modify or edit the parameter value in the first data based on the first difference data to obtain the full data corresponding to the first identification information, and send the full data corresponding to the first identification information to the first device 401 .

[0178] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, the data processing device 402 can send the full amount of data corresponding to the first identification information to any first device 401 with which a communication connection is established; thereby providing a strong guarantee for other devices to obtain the first difference data and the management of the target connection of the terminal device in the entire network.

[0179] Based on the above embodiments, the data processing method provided in the embodiments of the present application may further include: Figure 5 The process shown, Figure 5 A schematic diagram of a process for updating the first difference data provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the process may include steps 501 to 503:

[0180] Step 501: If the data processing device receives a second data request, it obtains second data.

[0181] The second data request at least includes a data change request; and the second data at least includes the data to be changed in the data change request.

[0182] Correspondingly, if the data processing device does not receive the second data request, the operation of obtaining the second data may not be performed.

[0183] In one embodiment, the data change request may include a request to change at least one of account information, service type information, service validity period, encryption service type, encryption algorithm, and communication standard identification information. Correspondingly, the second data may include at least one of account information, service type information, service validity period, encryption service type, encryption algorithm, and communication standard identification information.

[0184] In one implementation, the second data request may be sent by the terminal device, or may be initiated by another device capable of managing the terminal device, such as a data management device of a wireless mobile network operator.

[0185] Step 502: Obtain second difference data between the second data and the first data.

[0186] Illustratively, the process of obtaining the second difference data is similar to that of obtaining the first difference data, and is not described again here.

[0187] Step 503: Update the first difference data based on the second difference data to obtain updated first difference data.

[0188] In one implementation, the first difference data may be updated based on the difference data between the second difference data and the first difference data, thereby obtaining updated first difference data.

[0189] In one embodiment, if the parameter type and quantity included in the second difference data are the same as the parameter type and quantity included in the first difference data, the data in the first difference data may be updated accordingly based on the data in the second difference data.

[0190] In one embodiment, if the parameter type and quantity contained in the second difference data are different from at least one of the parameter type and quantity contained in the first difference data, the data in the first difference data can be added or deleted accordingly based on the data in the second difference data, and the parameter value of the corresponding parameter in the first difference data can be updated based on the parameter value of the parameter in the second difference data.

[0191] Figure 6 A schematic diagram of a structural flow of updating the first difference data provided in an embodiment of the present application is shown as follows: Figure 6 As shown:

[0192] The second device 601 can send a second data request to the data processing device 402; illustratively, the second data request can be a data update request; illustratively, the second device 601 can be a terminal device or the first device 401, which is not limited in this embodiment of the present application.

[0193] After receiving the second data request, the data processing device 402 may execute steps 6021 to 6025:

[0194] Step 6021: Obtain second data based on the second data request.

[0195] Illustratively, the data processing device 402 may parse the second data request to obtain second data including at least one of account information, service type information, service validity period, encryption service type, encryption algorithm, and communication module format information.

[0196] Step 6022: Obtain first data.

[0197] Illustratively, the data processing device 402 may obtain the first data from its memory space.

[0198] It should be noted that step 6021 and step 6022 can be executed in parallel or in a different order, and this embodiment of the present application does not limit this.

[0199] Step 6023: Obtain second difference data.

[0200] Illustratively, the data processing device 402 may obtain second difference data based on difference data between the second data and the first data.

[0201] Step 6024: Obtain first difference data.

[0202] Exemplarily, the first difference data in step 6024 may be the first difference data corresponding to the first identification information in the aforementioned embodiment; exemplarily, the data processing device 402 may obtain the first identification information from the second data request, and traverse the multiple first difference information stored therein based on the first identification information, thereby obtaining the first difference data corresponding to the first identification information.

[0203] Exemplarily, step 6023 and step 6024 may be executed in parallel, or their order of execution may be adjusted, which is not limited in the embodiment of the present application.

[0204] Step 6025: Save and send the updated first difference data.

[0205] Illustratively, the data processing device 402 may save the updated first difference data corresponding to the first identification information, and send the updated first difference data corresponding to the first identification information to the second device 601 .

[0206] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, the data processing device can not only realize real-time updating of the first difference data, but also send the updated first difference data to the second device in real time, thereby realizing real-time synchronization of device information and business information between the second device and the data processing device.

[0207] Accordingly, the target connection can be managed based on the first difference data in the following manner:

[0208] The target connection is managed based on the updated first difference data.

[0209] In one embodiment, the data processing device can manage the target connection in real time based on the updated first difference data; illustratively, the data processing device can obtain the updated full data corresponding to the first identification information based on the updated first difference data and the first data, and manage the target connection based on the updated full data corresponding to the first identification information.

[0210] From the above, it can be seen that in the data processing method provided in the embodiment of the present application, after receiving the data update request, the data processing device can quickly update the first difference data according to the data update request, and manage the target connection based on the updated first difference data, thereby realizing real-time update of the device information and / or business information of the terminal device, and creating conditions for the data processing device to accurately manage the target connection.

[0211] Based on the above embodiment, the present embodiment further provides a data processing device 402, Figure 7A structural diagram of the data processing device 402 provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the data processing device 402 may include:

[0212] The acquisition module 701 is configured to acquire first data based on receiving a first data request, wherein the first data includes configuration data corresponding to the first data request;

[0213] The processing module 702 is configured to process the first data and the first data request to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request;

[0214] The management module 703 is configured to manage the target connection based on the first difference data; wherein the target connection includes a communication connection between the terminal device and the data processing device.

[0215] In some embodiments, the processing module 702 is configured to parse the first data request to obtain type information of the first data request;

[0216] The acquisition module 701 is configured to acquire first data corresponding to type information of a first data request.

[0217] In some embodiments, the first data request includes a request to establish a target connection; the processing module 702 is used to parse and process the first data request to obtain at least first identification information and first business information; at least based on the first identification information, the first business information and the first data, obtain first difference data, wherein the first identification information includes the device identification of the terminal device; the first business information includes type information of the business requested by the first data request.

[0218] In some embodiments, the first data request includes a registration request; the processing module 702 is used to parse and process the first data request to obtain at least second identification information and second business information; and obtain first difference data based on at least the second identification information, the second business information and the first data; wherein the second identification information includes at least the standard identification of the communication module of the terminal device; and the second business information includes information on at least one business type configured for the communication module of the terminal device.

[0219] In some embodiments, the data processing device includes a core network CN network element device; the processing module 702 is used for the CN network element device to parse and process the first data request to at least obtain the user identification module SIM configuration information of the mobile terminal device; wherein the SIM configuration information includes the second identification information and the second service information.

[0220] In some embodiments, the processing module 702 is configured to, upon receiving a second data request from the data processing device, obtain second data; obtain second difference data between the second data and the first data; and update the first difference data based on the second difference data to obtain updated first difference data; wherein the second data request at least includes a data change request; and the second data at least includes the data to be changed in the data change request;

[0221] The management module 703 is configured to manage the target connection based on the updated first difference data.

[0222] In some embodiments, the acquisition module 701 is used to obtain first identification information; obtain first difference data corresponding to the first identification information; wherein the first identification information at least includes a device identification of the terminal device;

[0223] The processing module 702 is configured to send first difference data corresponding to the first identification information to a terminal device.

[0224] In some embodiments, the processing module 702 is configured to obtain first identification information from the first data request or the third data request; wherein the third data request includes a data acquisition request sent by the terminal device.

[0225] In some embodiments, the acquisition module 701 is configured to acquire first data from a memory space of a data processing device.

[0226] Based on the foregoing embodiments, an embodiment of the present application also provides another data processing device, including a memory and a processor; wherein a computer program is stored in the memory, and when the computer program is executed by the processor of the electronic device, it can implement the data processing method provided in any of the previous embodiments.

[0227] The above-mentioned processor can be at least one of ASIC, DSP, DSPD, PLD, FPGA, CPU, controller, microcontroller, and microprocessor.

[0228] The above-mentioned memory can be a volatile memory (volatile memory), such as random access memory (RAM); or a non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, hard disk drive (HDD) or solid state drive (SSD); or a combination of the above types of memory, and provides instructions and data to the processor.

[0229] Exemplarily, the acquisition module 701 , the processing module 702 , and the management module 703 may be implemented by a processor of the data processing device 402 .

[0230] Based on the foregoing embodiments, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor of an electronic device, it can implement the data processing method provided in any of the previous embodiments.

[0231] The above description of the various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced with each other and will not be repeated herein for the sake of brevity.

[0232] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0233] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0234] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0235] It should be noted that the above-mentioned computer-readable storage medium can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface storage, an optical disc, or a compact disc read-only memory (CD-ROM); it can also be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0236] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0237] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0238] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus necessary general hardware nodes, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0239] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a heating module of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the heating module of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0240] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0241] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0242] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method, comprising: The data processing device obtains first data from a memory space of the data processing device based on the received first data request; wherein the first data includes configuration data corresponding to the first data request; the first data includes default parameter values ​​for parameters included in all types of data requests that can be processed by the terminal device sending the first data request; and the first data request includes at least a standard identification of a communication module of the terminal device; Processing the first data and the first data request to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request; Based on the first difference data, a target connection is managed; wherein the target connection includes a communication connection between a terminal device and the data processing device.

2. The method according to claim 1, wherein The obtaining of the first data includes: Parsing the first data request to obtain type information of the first data request; The first data corresponding to the type information of the first data request is acquired.

3. The method according to claim 1, wherein The first data request includes a request to establish the target connection; and the processing of the first data and the first data request to obtain first difference data includes: Parsing the first data request to obtain at least first identification information and first service information; wherein the first identification information includes a device identification of the terminal device; and the first service information includes type information of the service requested by the first data request; The first difference data is obtained based at least on the first identification information, the first service information, and the first data.

4. The method according to claim 1, wherein The first data request includes a registration request; and the processing of the first data and the first data request to obtain first difference data includes: Parsing the first data request to obtain at least second identification information and second service information; wherein the second identification information includes at least the format identification; and the second service information includes information about at least one service type configured for the communication module of the terminal device; The first difference data is obtained based on at least the second identification information, the second service information and the first data.

5. The method according to claim 4, wherein The data processing device includes a core network CN network element device; the parsing and processing the first data request to obtain at least second identification information and second service information includes: The CN network element device parses and processes the first data request to obtain at least the subscriber identity module SIM configuration information of the mobile terminal device; wherein the SIM configuration information includes the second identification information and the second service information.

6. The method according to claim 1, wherein The method further comprises: If the data processing device receives a second data request, it obtains second data; wherein the second data request at least includes a data change request; the second data at least includes the data to be changed in the data change request; obtaining second difference data between the second data and the first data; updating the first difference data based on the second difference data to obtain updated first difference data; The managing the target connection based on the first difference data includes: The target connection is managed based on the updated first difference data.

7. The method according to claim 1, wherein The method further comprises: Obtaining first identification information; wherein the first identification information at least includes a device identification of the terminal device; Acquire first difference data corresponding to the first identification information; Sending first difference data corresponding to the first identification information to the terminal device.

8. The method according to claim 7, wherein: The obtaining of the first identification information includes: The first identification information is obtained from the first data request or the third data request; wherein the third data request includes a data acquisition request sent by the terminal device.

9. The method according to claim 1, wherein: The obtaining of the first data includes: The first data is obtained from the memory space of the data processing device.

10. A data processing device comprising: an acquisition module, configured to acquire first data from a memory space of the data processing device based on a received first data request; wherein the first data includes configuration data corresponding to the first data request; the first data includes default parameter values ​​for parameters included in all types of data requests that can be processed by the terminal device sending the first data request; and the first data request includes at least a format identifier of a communication module of the terminal device; a processing module, configured to process the first data and the first data request to obtain first difference data; wherein the first difference data includes difference data between the first data and the first data request; A management module is used to manage a target connection based on the first difference data; wherein the target connection includes a communication connection between a terminal device and the data processing device.

Citation Information

Patent Citations

  • Configuration file processing method and device, terminal and medium

    CN110221860A