Abnormality determination method, device, electronic device and storage medium

By receiving the identification and location information of the terminal device and using the preset relationship to determine the authorized location set, the problem of the server being unable to accurately identify device abnormalities is solved, and the accuracy of identifying abnormal states is improved.

CN116155772BActive Publication Date: 2024-09-27CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211707132.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2024-09-27
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

In the existing technology, the server cannot reasonably determine whether there is an abnormality in the device because the area where the user is located may be inconsistent with the area where the device is used, or the device is used by other users, making it difficult to identify the abnormal state.

Method used

By receiving the device identification and location information sent by the terminal, the authorized location set of the device is determined based on the preset corresponding relationship. If the device location is not in the set, the device is judged to be in an abnormal state and virtual resources are allocated to the target user account.

Benefits of technology

It improves the accuracy of identification of device abnormality, ensures that the target user account is using the device normally within the authorized location, and avoids misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155772B
    Figure CN116155772B
Patent Text Reader

Abstract

This invention provides an anomaly determination method, apparatus, electronic device, and storage medium, relating to the field of Internet technology, and solves the problem in related technologies where servers cannot reasonably determine whether a device is abnormal based on the user's location. The method includes: receiving a device identifier and location information of a device to be identified sent by a terminal; determining an authorized location set for the device to be identified based on the device identifier and a preset correspondence; and determining that the device is in an abnormal state if the location information of the device to be identified is not found in the authorized location set.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to an abnormality determination method, device, electronic device and storage medium. Background Art

[0002] Currently, when a user purchases a device, the server can determine whether the device has an abnormality based on the region where the user is located.

[0003] However, in the above method, the area where the user is located may not be the area where the device is used, or the user may give the device to other users after purchasing it, resulting in the server being unable to reasonably determine whether there is an abnormality in the device based on the above method. Summary of the invention

[0004] The present invention provides an abnormality determination method, device, electronic device and storage medium, which solve the technical problem in the related art that the server cannot reasonably determine whether there is an abnormality in the device based on the area where the user is located.

[0005] In a first aspect, the present invention provides an abnormality determination method, comprising: receiving a device identification of a device to be identified and location information of the device to be identified sent by a terminal; determining an authorized location set of the device to be identified based on the device identification and a preset correspondence, the preset correspondence comprising multiple device identifications and an authorized location set corresponding to each device identification in the multiple device identifications, wherein an authorized location set comprises at least one location information; and determining that the device to be identified is in an abnormal state when the location information of the device to be identified does not exist in the authorized location set of the device to be identified.

[0006] Optionally, the above-mentioned abnormality determination method also includes: allocating virtual resources to a target user account, and the target user account is a user account corresponding to the terminal.

[0007] Optionally, the server stores the device identification of the device to be identified and the target Internet Protocol (IP) address, where the target IP address is the IP address corresponding to the server. Before the receiving terminal sends the device identification of the device to be identified and the location information of the device to be identified, the method also includes: generating an identification code of the device to be identified based on the device identification and the target IP address.

[0008] In a second aspect, the present invention provides an abnormality determination method, comprising: obtaining a device identification and a target IP address of the device to be identified in response to an identification processing of an identification code of a device to be identified by a target user account, wherein the target user account is a user account corresponding to the terminal; obtaining location information of the terminal; sending the device identification and location information of the device to be identified to a server, wherein the location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address.

[0009] Optionally, the above-mentioned abnormality determination method also includes: receiving virtual resources sent by the server.

[0010] In a third aspect, the present invention provides an abnormality determination device, comprising: a receiving module and a determination module; the receiving module is used to receive a device identification of a device to be identified and location information of the device to be identified sent by a terminal; the determination module is used to determine an authorized location set of the device to be identified based on the device identification and a preset correspondence, the preset correspondence comprising multiple device identifications and an authorized location set corresponding to each device identification in the multiple device identifications, wherein an authorized location set comprises at least one location information; the determination module is also used to determine that the device to be identified is in an abnormal state when the location information of the device to be identified does not exist in the authorized location set of the device to be identified.

[0011] Optionally, the above-mentioned abnormality determination device also includes a processing module; the processing module is used to allocate virtual resources to a target user account, and the target user account is a user account corresponding to the terminal.

[0012] Optionally, the server stores the device identification and target IP address of the device to be identified, where the target IP address is the IP address corresponding to the server. The processing module is further used to generate an identification code for the device to be identified based on the device identification and the target IP address.

[0013] In a fourth aspect, the present invention provides an abnormality determination device, comprising: a processing module, an acquisition module and a sending module; the processing module is used to obtain a device identification and a target IP address of the device to be identified in response to the identification processing of the identification code of the device to be identified by the target user account, and the target user account is the user account corresponding to the terminal; the acquisition module is used to obtain the location information of the terminal; the sending module is used to send the device identification and the location information of the device to be identified to the server, the location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address.

[0014] Optionally, the above-mentioned abnormality determination device also includes a receiving module; the receiving module is used to receive the virtual resources sent by the server.

[0015] In a fifth aspect, the present invention provides an electronic device comprising: a processor and a memory configured to store processor executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional abnormality determination methods in the first aspect above, or to implement any one of the optional abnormality determination methods in the second aspect above.

[0016] In a sixth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon. When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is enabled to execute any one of the optional abnormality determination methods in the first aspect above, or execute any one of the optional abnormality determination methods in the second aspect above.

[0017] The abnormality determination method, device, electronic device and storage medium provided by the present invention can be used by a server to receive the device identification of the device to be identified and the location information of the device to be identified sent by the terminal, and then determine the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship. Since the location information of the device to be identified does not exist in the authorized location set of the device to be identified, it means that the target user account may not be able to use the device to be identified normally with the location information of the device to be identified. At this time, the server can determine that the device to be identified is in an abnormal state. In the present invention, since the location information of the device to be identified is the location information of the terminal when the target user account performs identification processing on the identification code of the device to be identified, the server can determine that the device to be identified is in an abnormal state when the target user account may not be able to use the device to be identified normally with the location information of the device to be identified. It can accurately determine whether the device to be identified is abnormal, thereby improving the accuracy of abnormal determination of the device to be identified. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0019] Figure 1 A schematic diagram of the network architecture of an abnormality determination system provided by an embodiment of the present invention;

[0020] Figure 2 A flowchart of an abnormality determination method provided by an embodiment of the present invention;

[0021] Figure 3 A schematic diagram of a flow chart of another abnormality determination method provided by an embodiment of the present invention;

[0022] Figure 4 A schematic diagram of a flow chart of another abnormality determination method provided by an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of a flow chart of another abnormality determination method provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of the structure of an abnormality determination device provided by an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of the structure of another abnormality determination device provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of the structure of another abnormality determination device provided by an embodiment of the present invention;

[0027] Fig. 9 A schematic diagram of the structure of another abnormality determination device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The abnormality determination method, device, electronic device and storage medium provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0029] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0030] It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0031] The term "and / or" used in the present application includes using either or both of the two methods.

[0032] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0033] Based on the description in the background technology, in the prior art, the server cannot reasonably determine whether there is an abnormality in the device based on the area where the user is located. Based on this, the embodiments of the present invention provide an abnormality determination method, device, electronic device and storage medium. Since the location information of the device to be identified is the location information of the terminal when the target user account identifies the identification code of the device to be identified, the server determines that the device to be identified is in an abnormal state when the target user account may not be able to use the device to be identified normally based on the location information of the device to be identified. It can accurately determine whether the device to be identified is abnormal, thereby improving the accuracy of abnormal determination of the device to be identified.

[0034] An abnormality determination method, device, electronic device, and storage medium provided by the embodiments of the present invention can be applied to an abnormality determination system, such as Figure 1 As shown, the abnormality determination system includes a terminal 101 and a server 102. Generally, in practical applications, the connection between the above-mentioned various devices or service functions can be a wireless connection. In order to conveniently and intuitively represent the connection relationship between the various devices, Figure 1 Solid lines are used to indicate.

[0035] Among them, the terminal 101 can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR)\virtual reality (VR) device, etc. The present invention does not impose any special restrictions on the specific form of the terminal 101. It can interact with the user through one or more methods such as a keyboard, a touch pad, a touch screen, a remote control, voice interaction or a handwriting device. In an embodiment of the present invention, the terminal 101 can respond to the target user account's identification processing of the device to be identified, obtain the device identification of the device to be identified and the target IP address, and send the device identification of the device to be identified and the location information of the device to be identified to the server.

[0036] The server 102 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, network acceleration services (content delivery network, CDN), and big data and artificial intelligence platforms. In an embodiment of the present invention, the server 102 may determine the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship, and determine that the device to be identified is in an abnormal state when the device to be identified does not exist in the authorized location set of the device to be identified.

[0037] The abnormality determination method, device, electronic device and storage medium provided by the embodiments of the present invention are applied to the scenario of determining whether the device to be identified is abnormal. When the terminal responds to the identification processing of the device to be identified by the user account and obtains the device identification and the target IP address of the device to be identified, the terminal can obtain the location information of the terminal and send the device identification of the device to be identified and the location information of the device to be identified to the server. After the server receives the device identification of the device to be identified and the location information of the device to be identified, it can determine the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship, and then, if the device to be identified does not exist in the authorized location set of the device to be identified, it is determined that the device to be identified is in an abnormal state.

[0038] Combined with the above Figure 1 The abnormality determination system shown in the figure, the abnormality determination method provided by the embodiment of the present invention is fully described below from the perspective of the interaction of each device in the abnormality determination system, so as to illustrate the process in which the terminal responds to the identification processing of the identification code of the device to be identified by the target user account, obtains the device identification and the target IP address of the device to be identified, and the server determines that the device to be identified is in an abnormal state when the location information of the device to be identified does not exist in the authorized location set of the device to be identified.

[0039] like Figure 2 As shown, the abnormality determination method provided by the embodiment of the present invention may include S101-S106.

[0040] S101 . The terminal obtains a device identifier and a target IP address of the device to be identified in response to an identification process of an identification code of the device to be identified by a target user account.

[0041] The target user account is a user account corresponding to the terminal.

[0042] In one implementation of an embodiment of the present invention, the identification code of the device to be identified is the identification code on the shell of the device to be identified. After the target user account obtains the device to be identified, it can obtain the QR code on the shell of the device to be identified. Then, the terminal can respond to the target user account's identification processing of the identification code of the device to be identified, and obtain the device identification and target IP address of the device to be identified.

[0043] It can be understood that the device identification of the device to be identified is used to uniquely identify the device to be identified, and the target IP address can also be understood as the destination address.

[0044] Optionally, the identification code of the device to be identified may be a QR code.

[0045] Optionally, the device to be identified may be a cloud server.

[0046] S102: The terminal obtains location information of the terminal.

[0047] It can be understood that the location information of the terminal is the location information of the terminal corresponding to the target user account when the target user account performs identification processing on the identification code of the device to be identified.

[0048] Optionally, the location information of the terminal may be latitude and longitude information, or may be the name of the city where the terminal is located.

[0049] S103: The terminal sends the device identification of the device to be identified and the location information of the device to be identified to the server.

[0050] The location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address.

[0051] In combination with the description of the above embodiments, it should be understood that since the location information of the terminal is the location information of the terminal corresponding to the target user account when the target user account identifies the identification code of the device to be identified, and the identification code of the device to be identified is the identification code on the shell of the device to be identified, the location information of the device to be identified is relatively similar to the location information of the terminal. At this time, the terminal can determine the location information of the terminal as the location information of the device to be identified.

[0052] It is understandable that the terminal may send the device identification of the device to be identified and the location information of the device to be identified to the server based on the target IP address.

[0053] In an optional implementation, after obtaining the location information of the terminal, the terminal can determine whether the location information is false location information. Specifically, the terminal can determine whether the terminal includes virtual positioning software and whether the virtual positioning software is running. When the terminal includes the virtual positioning software and the virtual positioning software is running, the terminal can determine that the location information of the terminal is false location information. At this time, the terminal can determine not to send the device identification of the device to be identified and the location information of the device to be identified to the server.

[0054] S104: The server receives the device identification of the device to be identified and the location information of the device to be identified sent by the terminal.

[0055] S105: The server determines an authorized location set of the device to be identified based on the device identification and the preset corresponding relationship.

[0056] The preset corresponding relationship includes multiple device identifiers and an authorized location set corresponding to each of the multiple device identifiers, and an authorized location set includes at least one location information.

[0057] In the embodiment of the present invention, the server may store the preset corresponding relationship, and then determine the authorized location set of the device to be identified based on the device identification of the device to be identified and the preset corresponding relationship.

[0058] It can be understood that the authorized location set of the device to be identified is a set of location information that the device to be identified is authorized to use, and the target user account can normally use the identification device within the location information that the device to be identified is authorized to use.

[0059] Optionally, a location information may be a city or a region, and in the preset correspondence stored in the server, the authorized location set corresponding to each device identifier may also be an identifier, for example, identifier "X" is used to represent Beijing.

[0060] S106: When the location information of the device to be identified does not exist in the authorized location set of the device to be identified, the server determines that the device to be identified is in an abnormal state.

[0061] It can be understood that when the location information of the device to be identified does not exist in the authorized location set of the device to be identified, it means that the device to be identified is located in an unauthorized area, and the target user account may not be able to use the device to be identified normally based on the location information of the device to be identified. At this time, the server can determine that the device to be identified is in an abnormal state.

[0062] Optionally, if the location information of the device to be identified exists in the authorized location set of the device to be identified, it means that the device to be identified is located in the authorized area, and the target user account can use the device to be identified normally. At this time, the server can determine that the device to be identified is in a normal state.

[0063] It should be understood that when the location information of the device to be identified is within the authorized location set of the device to be identified, the server may determine that the location information of the device to be identified exists in the authorized location set of the device to be identified.

[0064] Exemplarily, assuming that the authorized location set of the device to be identified is Beijing, when the longitude and latitude of the device to be identified are located in Beijing, the server can determine that the location information of the device to be identified exists in the authorized location set of the device to be identified.

[0065] In an optional implementation, the manufacturer corresponding to the device to be identified can determine the dealer corresponding to the authorized location set of the device to be identified after determining the authorized location set of the device to be identified, and then hand over the device to be identified to the dealer corresponding to the authorized location set of the device to be identified, and authorize the dealer to sell the device to be identified in the authorized location set of the device to be identified. After the server determines that the device to be identified is in an abnormal state, it can also determine the dealer corresponding to the authorized location set of the device to be identified.

[0066] The technical solution provided by the above-mentioned embodiment can at least bring the following beneficial effects: As can be seen from S101-S106, the server can receive the device identification of the device to be identified and the location information of the device to be identified sent by the terminal, and then determine the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship. Since the location information of the device to be identified does not exist in the authorized location set of the device to be identified, it means that the target user account may not be able to use the device to be identified normally with the location information of the device to be identified. At this time, the server can determine that the device to be identified is in an abnormal state. In the present invention, since the location information of the device to be identified is the location information of the terminal when the target user account performs identification processing on the identification code of the device to be identified, the server can determine that the device to be identified is in an abnormal state when the target user account may not be able to use the device to be identified normally with the location information of the device to be identified. It can accurately determine whether the device to be identified is abnormal, thereby improving the accuracy of the abnormal determination of the device to be identified.

[0067] Combination Figure 2 ,like Figure 3 As shown, the abnormality determination method provided by the embodiment of the present invention further includes S107.

[0068] S107: The server allocates virtual resources to the target user account.

[0069] The target user account is a user account corresponding to the terminal.

[0070] It is understandable that after receiving the device identification of the device to be identified and the location information of the device to be identified sent by the terminal, the server can allocate virtual resources to the target user account.

[0071] Optionally, the virtual resource may be an electronic red packet, an electronic voucher, etc.

[0072] Optionally, when the server determines that the device to be identified is in a normal state, the server may also send abnormality confirmation information to the device to be identified, and the abnormality confirmation information is used to notify the device to be identified that it can be used normally.

[0073] In an implementation of the embodiment of the present invention, the server stores the device identification of the device to be identified and the target IP address, where the target IP address is the IP address corresponding to the server. Figure 2 ,like Figure 4 As shown, before the server receives the device identification of the device to be identified and the location information of the device to be identified sent by the terminal, the abnormality determination method further includes S108.

[0074] S108: The server generates an identification code for the device to be identified based on the device identification and the target IP address.

[0075] In the embodiment of the present invention, the device identification and the target IP address are both a string of characters, and the server can generate an identification code of the device to be identified based on the string of characters.

[0076] It is understandable that the server can generate a unique device identifier for each device to identify the device to be identified.

[0077] It is understandable that the target IP address corresponding to the identifier of each device among the identifiers of multiple devices stored in the server may be different, and the target IP address is the IP address corresponding to the server deployed in the authorized location set of the device to be identified.

[0078] In an optional implementation, the server may also generate an identification code of the device to be identified based on the device identifier and a target uniform resource locator (URL) address, where the target URL address is a URL address corresponding to the server.

[0079] Combination Figure 3 ,like Figure 5As shown, the abnormality determination method provided by the embodiment of the present invention further includes S109.

[0080] S109: The terminal receives the virtual resources sent by the server.

[0081] In combination with the description of the above embodiment, it should be understood that the virtual resource may be an electronic red packet or a voucher, etc.

[0082] The embodiment of the present invention can divide the functional modules of the electronic device etc. according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0083] In the case of dividing each functional module into corresponding functional modules, Figure 6 A possible structural diagram of the abnormality determination device involved in the above embodiment is shown. Figure 6 As shown, the abnormality determination device 20 may include: a receiving module 201 and a determination module 202 .

[0084] The receiving module 201 is used to receive the device identification of the device to be identified and the location information of the device to be identified sent by the terminal.

[0085] The determination module 202 is used to determine the authorized location set of the device to be identified based on the device identification and a preset correspondence relationship, wherein the preset correspondence relationship includes multiple device identifications and the authorized location set corresponding to each device identification in the multiple device identifications, wherein an authorized location set includes at least one location information.

[0086] The determination module 202 is further configured to determine that the device to be identified is in an abnormal state when the location information of the device to be identified does not exist in the authorized location set of the device to be identified.

[0087] Optionally, the abnormality determination device 20 further includes a processing module 203 .

[0088] The processing module 203 is used to allocate virtual resources to a target user account, where the target user account is a user account corresponding to the terminal.

[0089] Optionally, the server stores a device identification and a target IP address of the device to be identified, and the target IP address is an IP address corresponding to the server.

[0090] The processing module 203 is further configured to generate an identification code of the device to be identified based on the device identification and the target IP address.

[0091] In the case of an integrated unit, Figure 7 FIG. 2 shows a possible structural diagram of the abnormality determination device involved in the above embodiment. Figure 7 As shown, the abnormality determination device 30 may include: a processing module 301 and a communication module 302. The processing module 301 may be used to control and manage the actions of the abnormality determination device 30. The communication module 302 may be used to support the communication between the abnormality determination device 30 and other entities. Figure 7 As shown, the abnormality determination device 30 may further include a storage module 303 for storing program codes and data of the abnormality determination device 30 .

[0092] The processing module 301 may be a processor or a controller. The communication module 302 may be a transceiver, a transceiver circuit or a communication interface, etc. The storage module 303 may be a memory.

[0093] When the processing module 301 is a processor, the communication module 302 is a transceiver, and the storage module 303 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

[0094] In the case of dividing each functional module into corresponding functional modules, Figure 8 A possible structural diagram of the abnormality determination device involved in the above embodiment is shown. Figure 8 As shown, the abnormality determination device 40 may include: a processing module 401 , an acquisition module 402 , and a sending module 403 .

[0095] The processing module 401 is used to obtain the device identification and the target IP address of the device to be identified in response to the identification processing of the identification code of the device to be identified by the target user account, and the target user account is the user account corresponding to the terminal.

[0096] The acquisition module 402 is used to acquire the location information of the terminal.

[0097] The sending module 403 is used to send the device identification of the device to be identified and the location information of the device to be identified to the server, where the location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address.

[0098] Optionally, the abnormality determination device further includes a receiving module 404 .

[0099] The receiving module 404 is used to receive the virtual resources sent by the server.

[0100] In the case of an integrated unit, Fig. 9 FIG. 2 shows a possible structural diagram of the abnormality determination device involved in the above embodiment. Fig. 9 As shown, the abnormality determination device 50 may include: a processing module 501 and a communication module 502. The processing module 501 may be used to control and manage the actions of the abnormality determination device 50. The communication module 502 may be used to support the communication between the abnormality determination device 50 and other entities. Fig. 9 As shown, the abnormality determination device 50 may further include a storage module 503 for storing program codes and data of the abnormality determination device 50 .

[0101] The processing module 501 may be a processor or a controller. The communication module 502 may be a transceiver, a transceiver circuit or a communication interface, etc. The storage module 503 may be a memory.

[0102] When the processing module 501 is a processor, the communication module 502 is a transceiver, and the storage module 503 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

[0103] It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean 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 the present invention.

[0104] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

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

[0107] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0108] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for determining an abnormality, characterized in that: Applied to a server, the method comprises: Generate an identification code of the device to be identified based on the device identification of the device to be identified and the target Internet Protocol IP address; the target IP address is the IP address corresponding to the server, and the identification code of the device to be identified includes a QR code; The receiving terminal sends a device identification of the device to be identified and location information of the device to be identified, wherein the location information of the device to be identified is the location information of the terminal corresponding to the target user account when the target user account identifies the identification code of the device to be identified, the location information of the terminal is the latitude and longitude information of the terminal, and the identification code of the device to be identified is the identification code on the shell of the device to be identified; the terminal is configured to: when the terminal includes virtual positioning software and the virtual positioning software is running, not send the device identification of the device to be identified and the location information of the device to be identified to the server; Determine the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship, wherein the preset corresponding relationship includes multiple device identifications and the authorized location set corresponding to each device identification in the multiple device identifications, wherein one authorized location set includes multiple location information; In a case where the location information of the device to be identified is within the authorized location set of the device to be identified, determining that the location information of the device to be identified exists in the authorized location set of the device to be identified; When the location information of the device to be identified does not exist in the authorized location set of the device to be identified, it is determined that the device to be identified is in an abnormal state.

2. The abnormality determination method according to claim 1, characterized in that: The method further comprises: The virtual resource is allocated to the target user account, where the target user account is a user account corresponding to the terminal.

3. A method for determining an abnormality, characterized in that: Applied to a terminal, the method comprises: In response to the target user account identifying the identification code of the device to be identified, obtaining the device identification of the device to be identified and the target Internet Protocol IP address, the target user account is the user account corresponding to the terminal, the identification code of the device to be identified is generated by the server based on the device identification of the device to be identified and the target IP address, the identification code of the device to be identified is the identification code on the shell of the device to be identified, and the identification code of the device to be identified includes a QR code; Acquire the location information of the terminal, where the location information of the terminal is the location information of the terminal corresponding to the target user account when the target user account performs identification processing on the identification code of the device to be identified, and the location information of the terminal is the latitude and longitude information of the terminal; Sending the device identification of the device to be identified and the location information of the device to be identified to the server, so that the server determines whether the device to be identified is abnormal based on the device identification of the device to be identified and the authorized location set of the device to be identified, the location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address; The server determines whether the device to be identified is abnormal based on the device identification of the device to be identified and the authorized location set of the device to be identified, specifically including: determining the authorized location set of the device to be identified based on the device identification and a preset corresponding relationship, the preset corresponding relationship including multiple device identifications and the authorized location set corresponding to each device identification in the multiple device identifications, wherein an authorized location set includes multiple location information; when the location information of the device to be identified is within the authorized location set of the device to be identified, determining that the location information of the device to be identified exists in the authorized location set of the device to be identified; when the location information of the device to be identified does not exist in the authorized location set of the device to be identified, determining that the device to be identified is in an abnormal state; When the terminal includes virtual positioning software and the virtual positioning software is running, the device identification of the device to be identified and the location information of the device to be identified are not sent to the server.

4. The abnormality determination method according to claim 3, characterized in that: The method further comprises: Receive the virtual resource sent by the server.

5. An abnormality determination device, characterized in that: Applied to a server, comprising: a receiving module, a determining module and a processing module; The processing module is used to generate an identification code of the device to be identified based on the device identification of the device to be identified and the target Internet Protocol IP address; the target IP address is the IP address corresponding to the server, and the identification code of the device to be identified includes a QR code; The receiving module is used to receive the device identification of the device to be identified and the location information of the device to be identified sent by the terminal, the location information of the device to be identified is the location information of the terminal corresponding to the target user account when the target user account performs identification processing on the identification code of the device to be identified, the location information of the terminal is the latitude and longitude information of the terminal, and the identification code of the device to be identified is the identification code on the shell of the device to be identified; the terminal is configured to: when the terminal includes virtual positioning software and the virtual positioning software of the terminal is running, the device identification of the device to be identified and the location information of the device to be identified are not sent to the server; The determination module is used to determine the authorized location set of the device to be identified based on the device identification and a preset corresponding relationship, wherein the preset corresponding relationship includes multiple device identifications and the authorized location set corresponding to each device identification in the multiple device identifications, wherein one authorized location set includes one more location information; The determination module is further configured to determine that the location information of the device to be identified exists in the authorized location set of the device to be identified when the location information of the device to be identified is within the authorized location set of the device to be identified; The determination module is further configured to determine that the device to be identified is in an abnormal state when the location information of the device to be identified does not exist in the authorized location set of the device to be identified.

6. The abnormality determination device according to claim 5, characterized in that: The processing module is further used to allocate virtual resources to the target user account, where the target user account is a user account corresponding to the terminal.

7. An abnormality determination device, characterized in that: Applied to the terminal, including: a processing module, an acquisition module and a sending module; The processing module is used to obtain the device identification of the device to be identified and the target Internet Protocol IP address in response to the target user account identifying the identification code of the device to be identified, the target user account is the user account corresponding to the terminal, the identification code of the device to be identified is generated by the server based on the device identification of the device to be identified and the target IP address, the identification code of the device to be identified is the identification code on the shell of the device to be identified, and the identification code of the device to be identified includes a QR code; The acquisition module is used to acquire the location information of the terminal, the location information of the terminal is the location information of the terminal corresponding to the target user account when the target user account performs identification processing on the identification code of the device to be identified, and the location information of the terminal is the latitude and longitude information of the terminal; The sending module is used to send the device identification of the device to be identified and the location information of the device to be identified to the server, so that the server determines whether the device to be identified is abnormal based on the device identification of the device to be identified and the authorized location set of the device to be identified, the location information of the device to be identified is the same as the location information of the terminal, and the server is the server corresponding to the target IP address; the server determines whether the device to be identified is abnormal based on the device identification of the device to be identified and the authorized location set of the device to be identified, specifically including: determining the authorized location set of the device to be identified based on the device identification and the preset corresponding relationship, and the preset corresponding relationship includes multiple a device identification and an authorized location set corresponding to each device identification in the multiple device identifications, wherein an authorized location set includes multiple location information; when the location information of the device to be identified is within the authorized location set of the device to be identified, it is determined that the location information of the device to be identified exists in the authorized location set of the device to be identified; when the location information of the device to be identified does not exist in the authorized location set of the device to be identified, it is determined that the device to be identified is in an abnormal state; when the terminal includes virtual positioning software and the virtual positioning software is running, the device identification of the device to be identified and the location information of the device to be identified are not sent to the server.

8. The abnormality determination device according to claim 7, characterized in that: The abnormality determination device also includes a receiving module; The receiving module is used to receive the virtual resources sent by the server.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory configured to store instructions executable by the processor; The processor is configured to execute the instruction to implement the abnormality determination method as claimed in claim 1 or 2, or to implement the abnormality determination method as claimed in claim 3 or 4.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by an electronic device, the electronic device is enabled to execute the abnormality determination method as claimed in claim 1 or 2, or execute the abnormality determination method as claimed in claim 3 or 4.