A data detection method and apparatus, an electronic device, and a storage medium

By generating a preset correspondence, the abnormality of the target service data is judged based on the target location information, which solves the problem of data detection accuracy caused by the large number of network elements and different detection methods, and realizes fast and accurate data detection.

CN116760737BActive Publication Date: 2026-05-29CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2023-06-14
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

The large number of network elements and the different testing methods used by maintenance personnel have affected the accuracy of data testing.

Method used

By generating a preset correspondence, the target area identifier is determined based on the target location information, the abnormality of the target business data is judged, and corresponding prompt information is displayed or sent to indicate the data status.

Benefits of technology

It enables fast and accurate data detection, avoids duplicate detection, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116760737B_ABST
    Figure CN116760737B_ABST
Patent Text Reader

Abstract

The application provides a data detection method and device, electronic equipment and storage medium, relates to the technical field of computer, and solves the technical problem that the accuracy of data detection is affected because the number of network elements is large and different maintenance personnel have different detection methods when maintenance personnel detect service data of different network elements. The method comprises the following steps: obtaining target service data, the target service data comprising a target area identifier and target position information, the target area identifier being an area identifier of an area where a target terminal is located, and the target position information being position information of the target terminal; determining a preset area identifier from a preset correspondence relationship, the preset correspondence relationship comprising a plurality of area identifiers and position information corresponding to each of the plurality of area identifiers; and in the case where the preset area identifier is the same as the target area identifier, determining that the target service data is normal data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data detection method, apparatus, electronic device, and storage medium. Background Technology

[0002] Currently, the server can obtain business data from different network elements, and different maintenance personnel can test this data.

[0003] However, the above methods involve a large number of network elements, and different maintenance personnel use different detection methods, which may affect the accuracy of data detection. Summary of the Invention

[0004] This application provides a data detection method, apparatus, electronic device, and storage medium, which solves the technical problem that the accuracy of data detection is affected when maintenance personnel detect the service data of different network elements due to the large number of network elements and the different detection methods used by different maintenance personnel.

[0005] In a first aspect, this application provides a data detection method, comprising: acquiring target service data, the target service data including a target area identifier and target location information, the target area identifier being an area identifier of the area where a target terminal is located, and the target location information being the location information of the target terminal; determining a preset area identifier from a preset correspondence relationship, the preset area identifier being an area identifier in the preset correspondence relationship that corresponds to the target location information, the preset correspondence relationship including multiple area identifiers and the location information corresponding to each of the multiple area identifiers; and determining that the target service data is normal data if the preset area identifier is the same as the target area identifier.

[0006] Optionally, the data detection method further includes: obtaining the multiple area identifiers and their corresponding location information from multiple network element devices, wherein the multiple network element devices belong to at least two resource pools, and each resource pool includes at least one network element device; and generating the preset correspondence based on the multiple area identifiers and their corresponding location information.

[0007] In this application, electronic devices can accurately generate a preset correspondence based on multiple area identifiers in multiple network element devices in multiple cities and the location information corresponding to each of the multiple area identifiers, so that data in network element devices in different cities can be detected using the preset correspondence, thereby making data detection more convenient and faster.

[0008] Optionally, the data detection method further includes: displaying a preset prompt message when the preset area identifier is different from the target area identifier, the preset prompt message being used to indicate that the target business data is abnormal data.

[0009] In this application, when the preset area identifier and the target area identifier are different, the electronic device can accurately determine that the target service data is abnormal. At this time, the electronic device displays a preset prompt message, which can quickly and conveniently indicate that the target service data is abnormal data.

[0010] Optionally, the above-mentioned acquisition of target service data further includes: if the target network element device did not store the target service data in the previous time, and the target network element device stores the target service data in the current time, then the target service data is acquired from the target network element device.

[0011] In this application, if the electronic device did not store target service data in the previous time period, but the target network element device stores target service data in the current time period, it indicates that the target service data is newly added data in the target network element device. In this case, the electronic device can accurately obtain the target service data and perform detection on it, avoiding repeated detection of the same data and improving the speed and efficiency of data detection. Optionally, the data detection method further includes: if the preset area identifier is the same as the target area identifier, sending a data normal indication to the target network element device. This data normal indication is used to notify the target network element device that the target service data is normal data.

[0012] In this application, when the preset area identifier is the same as the target area identifier, that is, when the target service data is normal data, the electronic device sends a data normal indication to the target network element device, which can accurately and effectively notify the target network element device that the target service data is normal data.

[0013] Secondly, this application provides a data detection device, comprising: an acquisition module and a determination module; the acquisition module is used to acquire target service data, the target service data including a target area identifier and target location information, the target area identifier being an area identifier of the area where the target terminal is located, and the target location information being the location information of the target terminal; the determination module is used to determine a preset area identifier from a preset correspondence relationship, the preset area identifier being an area identifier in the preset correspondence relationship that corresponds to the target location information, the preset correspondence relationship including multiple area identifiers and the location information corresponding to each of the multiple area identifiers; the determination module is further used to determine that the target service data is normal data when the preset area identifier is the same as the target area identifier.

[0014] Optionally, the data detection device further includes a generation module; the acquisition module is further configured to acquire the multiple area identifiers and the location information corresponding to each of the multiple area identifiers from multiple network element devices, the multiple network element devices belonging to at least two resource pools, and a resource pool including at least one network element device; the generation module is configured to generate the preset correspondence based on the multiple area identifiers and the location information corresponding to each of the multiple area identifiers.

[0015] Optionally, the data detection device further includes a display module; the display module is used to display a preset prompt message when the preset area identifier and the target area identifier are different, the preset prompt message being used to indicate that the target service data is abnormal data. Optionally, the acquisition module is specifically used to acquire the target service data from the target network element device if the target network element device did not store the target service data in the previous time, but the target network element device stores the target service data in the current time.

[0016] Optionally, the data detection device further includes a sending module; the sending module is used to send a data normal indication to the target network element device when the preset area identifier is the same as the target area identifier, the data normal indication is used to notify the target network element device that the target service data is normal data.

[0017] Thirdly, this application provides an electronic device, including: a processor and a memory configured to store processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the optional data detection methods in the first aspect described above.

[0018] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed by an electronic device, enable the electronic device to perform any of the optional data detection methods described in the first aspect.

[0019] The data detection method, apparatus, electronic device, and storage medium provided in this application allow the electronic device to acquire target service data, which includes target area identifiers and target location information. The electronic device can then determine a preset area identifier corresponding to the target location information from a preset correspondence. If the preset area identifier matches the target area identifier, it indicates that the target area identifier and the target location information conform to the preset correspondence, and the electronic device can then determine that the target service data is normal. In this application, the electronic device can obtain the correspondence between multiple area identifiers and their respective location information based on the preset correspondence, accurately representing the area identifier corresponding to each location information. Based on the target location information in the target service data, the electronic device can find the preset area identifier corresponding to that target location information. By determining whether the preset area identifier matches the target area identifier in the target service data, the electronic device can accurately determine whether the target service data is abnormal, thereby enabling accurate and rapid data detection. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.

[0021] Figure 1 A flowchart illustrating a data detection method provided in an embodiment of this application;

[0022] Figure 2 A flowchart illustrating another data detection method provided in an embodiment of this application;

[0023] Figure 3 A flowchart illustrating another data detection method provided in an embodiment of this application;

[0024] Figure 4 A schematic diagram illustrating the generation process of a preset correspondence in a data detection method provided in this application embodiment;

[0025] Figure 5 A flowchart illustrating another data detection method provided in an embodiment of this application;

[0026] Figure 6 A flowchart illustrating another data detection method provided in an embodiment of this application;

[0027] Figure 7 This is a schematic diagram of the structure of a data detection device provided in an embodiment of this application;

[0028] Figure 8 This is a schematic diagram of another data detection device provided in an embodiment of this application. Detailed Implementation

[0029] The data detection method, apparatus, electronic device, and storage medium provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0030] The terms “comprising” and “having”, and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.

[0031] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0032] In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0033] As described in the background art, in related technologies, when maintenance personnel inspect the service data of different network elements, the large number of network elements and the different inspection methods used by different maintenance personnel affect the accuracy of data inspection. Therefore, this application provides a data inspection method, apparatus, electronic device, and storage medium. In this application embodiment, the electronic device can obtain the correspondence between multiple region identifiers and their corresponding location information based on a preset correspondence, accurately representing the region identifier corresponding to each location information. Then, based on the target location information in the target service data, the electronic device can find the preset region identifier corresponding to that target location information. By determining whether the preset region identifier is the same as the target region identifier in the target service data, the electronic device can accurately determine whether the target service data is abnormal, thereby enabling accurate and rapid data inspection.

[0034] For example, the electronic device executing the data detection method provided in this application embodiment can be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, or personal digital assistant (PDA). This application embodiment does not impose any special limitations on the specific form of the electronic device. It can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction, or handwriting device.

[0035] In addition, electronic devices can be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN) services, as well as big data and artificial intelligence platforms.

[0036] like Figure 1 As shown, the data detection method provided in this application embodiment may include S101-S103.

[0037] S101. Electronic devices acquire target business data.

[0038] The target service data includes a target area identifier and target location information. The target area identifier is the area identifier of the region where the target terminal is located, and the target location information is the location information of the target terminal.

[0039] It should be understood that the target area identifier corresponds to multiple location information, which are the location information of multiple locations within the target area represented by the target area identifier, and the target location information is one of the multiple location information.

[0040] In this embodiment of the application, the target terminal is a terminal used by the target user, and the target location information is the location information of the target user when using the terminal.

[0041] Combination Figure 1 ,like Figure 2 As shown, the above-mentioned electronic device acquires target service data, which may specifically include S1011.

[0042] S1011. If the target network element did not store the target service data in the previous time, but the target network element stores the target service data in the current time, the electronic device shall obtain the target service data from the target network element.

[0043] It should be understood that electronic devices will only retrieve and detect target service data from target network elements when the target network element stores new target service data.

[0044] Optionally, when the first value of the target service data stored in the target network element is different from the second value of the target service, the electronic device retrieves the target service data from the target network element. The first value is the value of the target service data stored in the network element at the previous moment, and the second value is the value of the target service data stored in the target network element at the current moment.

[0045] In this embodiment of the application, the target network element device is a device that stores the target service data.

[0046] For example, the target network element device can be a proxy-call session control function (P-CSCF) device or a session border controller (SBC) device.

[0047] In this embodiment, if the electronic device does not store target service data in the target network element at the previous time, but stores target service data in the current time, it indicates that the target service data is newly added data in the target network element. At this time, the electronic device can accurately obtain the target service data and detect it, avoiding repeated detection of the same data and improving the speed and efficiency of data detection.

[0048] S102. The electronic device determines the preset area identifier from the preset correspondence.

[0049] The preset area identifier is the area identifier corresponding to the target location information in the preset correspondence relationship. The preset correspondence relationship includes multiple area identifiers and the location information corresponding to each of the multiple area identifiers.

[0050] In this embodiment of the application, the electronic device can query the preset area identifier corresponding to the target location information in the preset correspondence.

[0051] S103. When the preset area identifier and the target area identifier are the same, the electronic device determines that the target service data is normal data.

[0052] It should be understood that when the preset area identifier is the same as the target area identifier, it means that the target area identifier is the area identifier corresponding to the target location information, that is, the target area identifier and the target location information conform to the preset correspondence. At this time, the electronic device can determine that the target service data is normal data.

[0053] The technical solutions provided by the above embodiments can bring at least the following beneficial effects: As shown in S101-S103, the electronic device acquires target service data, which includes target area identifiers and target location information. Then, the electronic device can determine the preset area identifier corresponding to the target location information from the preset correspondence. If the preset area identifier is the same as the target area identifier, it indicates that the target area identifier and the target location information conform to the preset correspondence. At this time, the electronic device can determine that the target service data is normal data. In this embodiment, the electronic device can obtain the correspondence between multiple area identifiers and the location information corresponding to each of the multiple area identifiers based on the preset correspondence, which can accurately characterize the area identifier corresponding to each location information. At this time, the electronic device can find the preset area identifier corresponding to the target location information based on the target location information in the target service data. By judging whether the preset area identifier is the same as the target area identifier in the target service data, the electronic device can accurately judge whether the target service data is abnormal, and thus can accurately and quickly perform data detection.

[0054] Combination Figure 1 ,like Figure 3 As shown, the data detection method provided in this application embodiment further includes: S104-S105.

[0055] S104. The electronic device obtains multiple area identifiers and their corresponding location information from multiple network element devices.

[0056] These multiple network element devices belong to at least two resource pools, and each resource pool includes at least one network element device.

[0057] In this embodiment of the application, different resource pools can represent different cities, that is, electronic devices obtain multiple area identifiers of multiple network element devices in multiple cities and the location information corresponding to each of the multiple area identifiers.

[0058] S105. The electronic device generates a preset correspondence based on multiple area identifiers and the location information corresponding to each of the multiple area identifiers.

[0059] It should be understood that electronic devices can accurately generate preset correspondences based on multiple area identifiers in multiple network element devices in multiple cities and the location information corresponding to each of the multiple area identifiers. This allows data in network element devices in different cities to be detected using the preset correspondences, thereby making data detection more convenient and faster.

[0060] The following example illustrates the process of generating the preset correspondence in an embodiment of this application.

[0061] For example, such as Figure 4 As shown, resource pool 1 includes network element device 1, network element device 2, and network element device 3; resource pool 2 includes network element device 4, network element device 5, network element device 6, network element device 7, and network element device 8; and resource pool 3 includes network element device 9, network element device 10, network element device 11, network element device 12, network element device 13, and network element device 14. Resource pool 1, resource pool 2, and resource pool 3 represent different cities. Based on the multiple network element devices in resource pool 1, resource pool 2, and resource pool 3, multiple regional identifiers and their corresponding location information can be determined, thereby generating a preset correspondence.

[0062] Combination Figure 1 ,like Figure 5 As shown, the data detection method provided in this application embodiment further includes: S106.

[0063] S106. If the preset area identifier and the target area identifier are different, the electronic device displays a preset prompt message.

[0064] The preset prompt message is used to indicate that the target business data is abnormal.

[0065] It should be understood that if the preset area identifier is different from the target area identifier, it means that the target area identifier is not the area identifier corresponding to the target location information. That is, the target area identifier and the target location information do not conform to the preset correspondence. The electronic device can determine that the target service data is abnormal data, and at this time the electronic device displays a preset prompt message.

[0066] In this embodiment of the application, when the preset area identifier and the target area identifier are different, the electronic device can accurately determine that the target service data is abnormal. At this time, the electronic device displays a preset prompt message, which can quickly and conveniently indicate that the target service data is abnormal data.

[0067] Combination Figure 1 ,like Figure 6 As shown, the data detection method provided in this application embodiment further includes: S107.

[0068] S107. When the preset area identifier is the same as the target area identifier, the electronic device sends a data normal indication to the target network element device.

[0069] The "data normality indication" is used to notify the target network element that the target service data is normal.

[0070] It should be understood that when the preset area identifier is the same as the target area identifier, it means that the target area identifier is the area identifier corresponding to the target location information, that is, the target area identifier and the target location information conform to the preset correspondence, that is, the target service data is normal data. At this time, the electronic device can send a data normal indication to the target network element device. The data normal indication is used to indicate that the target service data is normal data.

[0071] In this embodiment of the application, when the preset area identifier is the same as the target area identifier, that is, when the target service data is normal data, the electronic device sends a data normal indication to the target network element device, which can accurately and effectively notify the target network element device that the target service data is normal data.

[0072] This application embodiment can divide electronic devices and the like into functional modules according to the above method examples. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0073] When dividing each function into modules according to its corresponding function. Figure 7 A possible structural schematic diagram of the data detection device involved in the above embodiments is shown, such as... Figure 7 As shown, the data detection device 10 may include an acquisition module 101 and a determination module 102.

[0074] The acquisition module 101 is used to acquire target service data, which includes a target area identifier and target location information. The target area identifier is the area identifier of the area where the target terminal is located, and the target location information is the location information of the target terminal.

[0075] The determining module 102 is used to determine a preset area identifier from a preset correspondence relationship. The preset area identifier is the area identifier in the preset correspondence relationship that corresponds to the target location information. The preset correspondence relationship includes multiple area identifiers and the location information corresponding to each of the multiple area identifiers.

[0076] The determination module 102 is also used to determine that the target business data is normal data when the preset area identifier is the same as the target area identifier.

[0077] Optionally, the data detection device 10 also includes a generation module 103.

[0078] The acquisition module 101 is also used to acquire the multiple area identifiers and the location information corresponding to each of the multiple area identifiers from multiple network element devices. The multiple network element devices belong to at least two resource pools, and a resource pool includes at least one network element device.

[0079] The generation module 103 is used to generate the preset correspondence based on the multiple area identifiers and the location information corresponding to each of the multiple area identifiers.

[0080] Optionally, the data detection device 10 also includes a display module 104.

[0081] The display module 104 is used to display a preset prompt message when the preset area identifier is different from the target area identifier. The preset prompt message is used to indicate that the target business data is abnormal data.

[0082] Optionally, the acquisition module 101 is specifically used to acquire the target service data from the target network element device if the target network element device did not store the target service data in the previous time and the target network element device stores the target service data in the current time.

[0083] Optionally, the data detection device 10 also includes a transmission module 105.

[0084] The sending module 105 is used to send a data normal indication to the target network element device when the preset area identifier is the same as the target area identifier. The data normal indication is used to notify the target network element device that the target service data is normal data.

[0085] When using integrated units, Figure 8 A possible structural schematic diagram of the data detection device involved in the above embodiments is shown. For example... Figure 8 As shown, the data detection device 20 may include a processing module 201 and a communication module 202. The processing module 201 can be used to control and manage the operation of the data detection device 20. The communication module 202 can be used to support communication between the data detection device 20 and other entities. Optionally, as shown... Figure 8 As shown, the data detection device 20 may also include a storage module 203 for storing the program code and data of the data detection device 20.

[0086] The processing module 201 can be a processor or a controller. The communication module 202 can be a transceiver, transceiver circuit, or communication interface, etc. The storage module 203 can be a memory.

[0087] In this configuration, when the processing module 201 is a processor, the communication module 202 is a transceiver, and the storage module 203 is a memory, the processor, transceiver, and memory can be connected via a bus. The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc.

[0088] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0089] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0090] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0091] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0092] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be, in whole or in part, in the form of a computer program product. This computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device containing one or more servers, data centers, etc., that can be integrated with the medium. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).

[0093] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A data detection method, characterized in that, The method includes: If the first value and the second value are different, or if the target network element did not store the target service data in the previous time, and the target network element stores the target service data in the current time, then the target service data is obtained from the target network element. The target service data includes a target area identifier and target location information. The target area identifier is the area identifier of the area where the target terminal is located, and the target location information is the location information of the target terminal. The first value is the value of the target service data stored by the target network element in the previous time, and the second value is the value of the target service data stored by the target network element in the current time. A preset region identifier is determined from a preset correspondence relationship. The preset region identifier is the region identifier in the preset correspondence relationship that corresponds to the target location information. The preset correspondence relationship includes multiple region identifiers and the location information corresponding to each of the multiple region identifiers. The preset correspondence relationship is generated based on obtaining the multiple region identifiers and the location information corresponding to each of the multiple region identifiers from multiple network element devices. The multiple network element devices belong to at least two resource pools, and a resource pool includes at least one network element device. If the preset area identifier is the same as the target area identifier, the target service data is determined to be normal data.

2. The data detection method according to claim 1, characterized in that, The method further includes: If the preset area identifier is different from the target area identifier, a preset prompt message is displayed. The preset prompt message is used to indicate that the target business data is abnormal data.

3. The data detection method according to claim 1, characterized in that, The method further includes: If the preset area identifier is the same as the target area identifier, a data normal indication is sent to the target network element device. The data normal indication is used to notify the target network element device that the target service data is normal data.

4. A data detection device, characterized in that, include: Get the module and determine the module; The acquisition module is configured to acquire the target service data from the target network element device if the first value and the second value are different, or if the target network element device did not store the target service data in the previous time and the target network element device stores the target service data in the current time. The target service data includes a target area identifier and target location information. The target area identifier is the area identifier of the area where the target terminal is located, and the target location information is the location information of the target terminal. The first value is the value of the target service data stored by the target network element device at the previous moment, and the second value is the value of the target service data stored by the target network element device at the current moment; The determining module is used to determine a preset region identifier from a preset correspondence relationship. The preset region identifier is a region identifier in the preset correspondence relationship that corresponds to the target location information. The preset correspondence relationship includes multiple region identifiers and the location information corresponding to each of the multiple region identifiers. The preset correspondence is generated based on obtaining the multiple area identifiers and the location information corresponding to each of the multiple area identifiers from multiple network element devices. The multiple network element devices belong to at least two resource pools, and a resource pool includes at least one network element device. The determining module is further configured to determine that the target service data is normal data when the preset area identifier is the same as the target area identifier.

5. The data detection device according to claim 4, characterized in that, The data detection device also includes a display module; The display module is used to display a preset prompt message when the preset area identifier is different from the target area identifier. The preset prompt message is used to indicate that the target business data is abnormal data.

6. The data detection device according to claim 4, characterized in that, The data detection device also includes a transmission module; The sending module is used to send a data normal indication to the target network element device when the preset area identifier is the same as the target area identifier. The data normal indication is used to notify the target network element device that the target service data is normal data.

7. An electronic device, characterized in that, The electronic device includes: processor; A memory configured to store processor-executable instructions; The processor is configured to execute the instructions to implement the data detection method as described in any one of claims 1-3.

8. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is able to perform the data detection method as described in any one of claims 1-3.