Method, device and non-volatile storage medium for determining device status
By receiving and analyzing the electronic identity and configuration file information of the eSIM card in the power acquisition device, obtaining traffic data from the operator, solving the problem that the Internet of Things connection status of the power acquisition device is difficult to be determined remotely, and effectively monitoring the device status and Reduced operating costs.
Patent Information
- Application Number
- CN202210753830.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-06-29
AI Technical Summary
It is difficult to remotely determine the Internet of Things connection status caused by using SIM cards for data transmission in power acquisition equipment.
By determining the target power acquisition device, the electronic identity identification and configuration file information of the eSIM card sent by the mobile terminal are received, and the target traffic data is obtained from the operator based on this information, and the status of the target power acquisition device is determined.
Remote monitoring of the Internet of Things connection status of power acquisition equipment is realized, reducing the operating costs of IoT connection services.
Smart Images

Figure CN115038112B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method and apparatus for determining a device state and a non-volatile storage medium. Background Art
[0002] In order to improve the level of informatization of the power system, the power industry generally adopts intelligent power consumption collection equipment based on SIM cards with 4G network transmission capabilities. However, with the increasing number of intelligent power equipment, the material management, file management and cost management of SIM cards are becoming increasingly complex, which has brought several problems to the informatization transformation of the power industry.
[0003] In actual operation, the management of massive SIM cards is often more complex and diversified than the scenarios considered during solution design. In the SIM card-based connection management business, many processes and operations need to be performed offline. Too many offline and online integration operations will increase the distortion rate during the information medium conversion process.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a method, an apparatus and a non-volatile storage medium for determining the status of a device, so as to at least solve the technical problem that the Internet of Things connection status of a power harvesting device is difficult to remotely determine due to the use of a SIM card for data transmission in the power harvesting device.
[0006] According to one aspect of an embodiment of the present invention, a method for determining a device status is provided, including: determining a target power collection device; receiving an electronic identity identifier of a target embedded customer identity module (eSIM) card corresponding to the target power collection device and first configuration file information of the target eSIM card sent by a mobile terminal; based on the first configuration file information, obtaining target traffic data of the target eSIM card from an operator; and determining the status of the target power collection device according to the target traffic data.
[0007] Optionally, determining the state of the target power collection device includes: obtaining historical traffic data of the target eSIM card; determining a traffic threshold of the target eSIM card based on the historical traffic data; and determining the state of the target power collection device based on the traffic threshold and the target traffic data.
[0008] Optionally, determining the traffic threshold of the target eSIM card based on the historical traffic data includes: determining a first minimum value based on the historical traffic data, wherein the first minimum value is the minimum value of the historical traffic data of the target eSIM card; obtaining territorial information of the target power collection device from the mobile terminal; obtaining a second minimum value based on the territorial information, wherein the second minimum value is the minimum value of reference historical traffic data of the eSIM card corresponding to the reference power collection device, and the reference power collection device is located within the geographical range specified by the territorial information; determining the traffic threshold of the target eSIM card based on the first minimum value and the second minimum value.
[0009] Optionally, the state of the target power collection device is determined according to the flow threshold and the target flow data, including: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
[0010] According to another aspect of an embodiment of the present invention, a method for determining a device status is provided, including: obtaining an electronic identity and first configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device; sending the electronic identity and the first configuration file information to a server, wherein the server is used to determine the status of the target power collection device based on the electronic identity and the first configuration file information, and the first configuration file information is used to describe a first configuration file in the target eSIM card.
[0011] Optionally, a local data management channel for connecting to a target eSIM card is established; second profile information is obtained through the local data management channel, wherein the second profile information is used to describe a second profile, the second profile has been pre-installed in the target eSIM card, and the first profile information includes the second profile information; third profile information is obtained from a server according to the second profile information, wherein the third profile information is used to describe a third profile, and the third profile information and the second profile information do not belong to the same operator; a third profile is obtained from the operator according to the third profile information, and the third profile is installed in the target eSIM card.
[0012] According to another aspect of an embodiment of the present invention, a device for determining a device status is also provided, including: a determination module for determining a target power collection device; a data transmission module for receiving a target embedded customer identification module eSIM card electronic identity identifier corresponding to the target power collection device and configuration file information of the target eSIM card sent by a mobile terminal; an acquisition module for acquiring target traffic data of the target eSIM card from an operator based on the configuration file information of the target eSIM card; and a data processing module for determining the status of the target power collection device based on the target traffic data.
[0013] According to another aspect of an embodiment of the present invention, a device for determining a device status is also provided, including: an acquisition module, used to acquire the electronic identity and configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device; a data transmission module, used to send the electronic identity and configuration file information of the target eSIM card to a server, wherein the server is used to determine the status of the target power collection device based on the electronic identity and configuration file information of the target eSIM card.
[0014] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute any one of the above methods for determining the device status.
[0015] According to another aspect of the embodiments of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above methods for determining a device status is performed.
[0016] In an embodiment of the present invention, by determining a target power collection device; receiving the electronic identity of a target embedded customer identification module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by a mobile terminal; obtaining the target traffic data of the target eSIM card from the operator based on the first configuration file information; and determining the state of the target power collection device according to the target traffic data, the purpose of monitoring the Internet of Things connection state of the power collection device is achieved, thereby achieving the technical effect of remotely determining the Internet of Things connection state of the power collection device, and further solving the technical problem that the Internet of Things connection state of the power collection device is difficult to remotely determine due to the use of a SIM card for data transmission in the power collection device. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0018] Figure 1 A hardware structure block diagram of a computer terminal for implementing a method for determining a device status is shown;
[0019] Figure 2 is a flowchart of a method for determining a device status according to an embodiment of the present invention;
[0020] Figure 3is a flowchart of a second method for determining a device status provided in an embodiment of the present invention;
[0021] Figure 4 is a schematic diagram of a method for configuring an operator network in a device according to an optional embodiment of the present invention;
[0022] Figure 5 is a schematic diagram of Profile state transfer provided according to an optional embodiment of the present invention;
[0023] Figure 6 is a structural block diagram of an apparatus for determining a device state according to an embodiment of the present invention;
[0024] Figure 7 4 is a structural block diagram of a second apparatus for determining a device status provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:
[0028] eSIM card (Embedded-SIM, abbreviated as eSIM), that is, embedded SIM card, is the hardware carrier of Profile, which can meet the needs of dynamically loading operator data. Multiple Profiles belonging to different operators can be loaded on the same eSIM card, but only one Profile can be used at the same time.
[0029] Electronic IDentity (EID) is the network electronic identity of the eSIM card.
[0030] Profile is a collection of card data and card applications required by operators to provide services to users. The eSIM card communicates with the operator corresponding to the Profile based on the Profile.
[0031] International Mobile Equipment Identity (IMEI), the serial number of a mobile communication device, can be used to identify the mobile communication device.
[0032] According to an embodiment of the present invention, a method embodiment for determining a device status is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0033] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a method for determining a device status. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0034] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0035] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for determining the device status in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the method for determining the device status of the above-mentioned application program is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0036] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0037] Figure 2 is a flow chart of a method for determining a device status according to an embodiment of the present invention. The method for determining a device status can be applied to a server, such as Figure 2 As shown, the method comprises the following steps:
[0038] Step S202: determining a target power collection device.
[0039] In this step, the server stores many equipment numbers of power collection devices and equipment identification codes of their communication modules. The target power collection device is the device whose status needs to be confirmed among all the power collection devices for which files have been created on the server. The equipment number of the power collection device can be used to distinguish the power collection device. The communication module has an IMEI code to indicate the identity. The server stores multiple equipment numbers of power collection devices and corresponding IMEIs of communication modules. This correspondence has been stored in the server before the power collection device is put into use.
[0040] Step S204: receiving the electronic identity of the target embedded subscriber identity module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal.
[0041] In this step, the communication modules of all power collection devices will be embedded with an eSIM card before leaving the factory, which is used to send the power data collected by the power collection device. Before the power collection device is put into use, the configuration file must be installed in the eSIM card. This process is also called writing the number to the eSIM card over the air. The eSIM card must have a configuration file associated with the operator, that is, Profile, in order to send power data through the operator. Profiles of three operators can be installed in one eSIM card at the same time, and each operator has only one associated Profile. When the power collection device sends power data through the eSIM card, the Profile of one operator can be selected from all the Profiles installed in the eSIM card. In other words, each eSIM card can be installed with up to three Profiles belonging to three operators. The three Profiles can be switched when using them to send data, but only one Profile can be used to send data at the same time. Among them, all the configuration files installed in the eSIM card are first configuration files, and the first configuration file information can describe the first configuration file, specifically the identification number describing the first configuration file and the operator corresponding to the first configuration file. The server obtains relevant information of the eSIM card embedded in the communication module of the target power collection device through the terminal, such as the electronic identity of the eSIM card and all installed configuration file information therein, and associates it with the device number of the power collection device and the IMEI of the communication module stored by the server in the previous step, and associates and stores the target power collection device, the communication module of the target power collection device, the target eSIM card and the first configuration file information. When you want to monitor the device status next time, you can directly read the data in the server to obtain the Profile information associated with the device to be monitored, without having to obtain the Profile information through the mobile terminal again.
[0042] Step S206: acquiring target traffic data of the target eSIM card from the operator based on the first configuration file information.
[0043] In this step, the server can obtain the target traffic data of the target eSIM card from the operator based on the first profile information, where the target traffic data can describe the data traffic used by the target eSIM card when sending power data. For example, if the profiles of three operators are installed in the target eSIM card at the same time, the target traffic data can be the data traffic used daily or monthly by the three profiles respectively.
[0044] Step S208: determining the state of the target power collection device according to the target flow data.
[0045] Optionally, in this step, based on the target flow data, the amount of power data sent by the power collection device through the communication module can be obtained, and then it can be known whether the Internet of Things connection status of the power collection device is normal.
[0046] Through the above steps, the Internet of Things connection status of the power collection device can be monitored, thereby solving the technical problem that the Internet of Things connection status of the power collection device is difficult to remotely monitor due to the use of SIM cards for data transmission in the power collection device, and can also reduce the operating costs of the Internet of Things connection business.
[0047] As an optional embodiment, determining the state of the target power collection device according to the target traffic data may include the following steps: obtaining the historical traffic data of the target eSIM card; determining the traffic threshold of the target eSIM card according to the historical traffic data; determining the state of the target power collection device according to the traffic threshold and the target traffic data.
[0048] Optionally, the target traffic data can be used to confirm whether the IoT connection status of the power collection device is normal. Specifically, the traffic threshold of the target eSIM card can be obtained by analyzing the historical traffic data of the target eSIM card. The IoT connection status of the target power collection device can be determined based on the traffic threshold and the target traffic data. The historical traffic data of the target eSIM card includes the data traffic used by all Profiles in the target eSIM card, and is divided into daily usage and monthly usage. The target traffic data can be the data traffic consumed by the target eSIM card to transmit power data from midnight on the day when the operator obtains the target traffic data to the moment when the server sends a request to the operator.
[0049] As an optional embodiment, determining the traffic threshold of the target eSIM card based on historical traffic data may include the following steps: determining a first minimum value based on the historical traffic data, wherein the first minimum value is the minimum value of the historical traffic data of the target eSIM card; obtaining territorial information of the target power collection device from the mobile terminal; obtaining a second minimum value based on the territorial information, wherein the second minimum value is the minimum value of the reference historical traffic data of the eSIM card corresponding to the reference power collection device, and the reference power collection device is located within the geographical range specified by the territorial information; determining the traffic threshold of the target eSIM card based on the first minimum value and the second minimum value.
[0050] Optionally, the first minimum value can be determined based on historical traffic data, and the determination method is: select the minimum value of historical traffic data on the date when the IoT connection status of the target power collection device is normal as the first minimum value. When the IoT connection status of the target power collection device is abnormal, the target eSIM card may be disconnected from the target power collection device, resulting in very little data traffic consumed by the target eSIM card to send power data; when the IoT connection status of the target power collection device is normal, the communication module of the target power collection device can normally transmit the collected power data through the target eSIM card, and the data traffic consumed by the target eSIM card can fluctuate within a normal range. Therefore, the traffic threshold of the target eSIM card can be determined by taking the minimum value of historical traffic data on the date when the IoT connection status of the target power collection device is normal as the first minimum value. In order to make the traffic threshold of the target eSIM card more referenceable, the historical traffic data of the eSIM cards corresponding to other power collection devices within the territory of the target power collection device can be taken as a reference. Specifically, the reference power equipment can be selected as other power collection devices within the geographical range specified by the territory information of the target power collection device, and the minimum value of the reference historical traffic data of the eSIM card corresponding to the reference power collection device is obtained as the second minimum value, and the first minimum value and the second minimum value are averaged to obtain the traffic threshold of the target eSIM card.
[0051] As an optional embodiment, the state of the target power collection device can be determined based on the flow threshold and the target flow data in the following manner: compare the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determine the state of the target power collection device based on the judgment result.
[0052] Optionally, by comparing the traffic threshold of the target eSIM card and the target traffic data, when the target traffic data is less than the traffic threshold, it is determined that the IoT connection state of the target power collection device is abnormal. It should be noted that when obtaining the traffic data of the eSIM card from the operator, there may be multiple Profiles in an eSIM card, and it may be necessary to obtain the data traffic consumed by the corresponding Profile from different operators respectively, and then sum the data traffic consumed by the obtained multiple Profiles to obtain the required target traffic data or historical traffic data. The previous embodiment involves comparing the data after summing the traffic consumed by multiple Profiles with the traffic threshold, and the IoT connection state of the corresponding power collection device can be obtained. In this embodiment, the data traffic consumed by each Profile can also be paid attention to. If the overall data traffic consumed by the eSIM card is normal, the IoT connection state of the corresponding power collection device is also normal, but there may be one or more Profiles in the eSIM card that have not generated traffic consumption for a long time. At this time, the server can mark the Profile that has not generated traffic consumption for a long time as the Profile of the card to be cancelled, and the monitoring of the Profile status can be realized.
[0053] Figure 3 is a flow chart of a second method for determining a device state according to an embodiment of the present invention. The second method for determining a device state can be applied to a mobile terminal, such as Figure 3 As shown, the method comprises the following steps:
[0054] Step S302: obtaining the electronic identity and first configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device.
[0055] In this step, the mobile terminal can establish a connection with the target eSIM card to obtain the electronic identity of the target eSIM card and information of a first configuration file installed in the target eSIM card, where the first configuration file includes all profiles installed in the target eSIM card.
[0056] Step S304, sending the electronic identity and the first configuration file information to the server, wherein the server is used to determine the state of the target power collection device according to the electronic identity and the first configuration file information, and the first configuration file information is used to describe the first configuration file in the target eSIM card.
[0057] In this step, the mobile terminal sends the electronic identity of the target eSIM card and the first configuration file information to the server, so as to synchronize data with the server.
[0058] In the embodiment of the present invention, through the above steps, the purpose of configuring the operator network of the power collection device is achieved, and the Internet of Things connection status of the power collection device can be monitored through the operator network, thereby solving the technical problem that the Internet of Things connection status of the power collection device is difficult to remotely monitor due to the use of eSIM cards for data transmission in the power collection device, and can also reduce the operating cost of the Internet of Things connection service.
[0059] As an optional embodiment, before obtaining the first profile information, the method includes the following steps: establishing a local data management channel for connecting to the target eSIM card; obtaining second profile information through the local data management channel, wherein the second profile information is used to describe the second profile, the second profile is pre-installed in the target eSIM card, and the first profile information includes the second profile information; according to the second profile information, obtaining third profile information from the server, wherein the third profile information is used to describe the third profile, and the third profile information and the second profile information do not belong to the same operator; according to the third profile information, obtaining a third profile from the operator, and installing the third profile into the target eSIM card.
[0060] Optionally, before obtaining the first configuration file information, one or more Profiles may be installed and configured in the target eSIM card, and then information of all Profiles installed and configured in the target eSIM card may be sent to the server. Specifically, the method for installing and configuring the Profile may be: using a Bluetooth tooling board to establish a local data management channel between the mobile terminal and the communication module of the power collection device; obtaining the information of the Profile installed in the target eSIM card at this moment, i.e., the second configuration file information, through the local data management channel; according to the installed Profile information in the second configuration file information, it can be confirmed whether the Profile can be installed in the target eSIM card. If the second configuration file information shows that the number of Profiles installed in the target eSIM card is less than 3, then the Profile, i.e., the third configuration file, can be installed in the target eSIM card, and the installed Profile cannot belong to the same operator as the installed Profile. If the second configuration file information shows that three Profiles have been installed in the target eSIM card, then the Profile cannot be installed in the target eSIM card; after confirming that the Profile can be installed in the target eSIM card, the mobile terminal selects the operator in which the Profile can be installed, and sends a request to the server, and can receive the installable Profile information allocated by the server, i.e., the third configuration file information; according to the received third configuration file information, the mobile terminal obtains the third configuration file from the operator, and can install the third configuration file in the target eSIM card through the local data management channel, thereby completing the configuration process of the target eSIM card.
[0061] As a specific embodiment of the present invention, Figure 4 is a schematic diagram of a method for configuring an operator network in a device according to an optional embodiment of the present invention, such as Figure 4 As shown in the figure, the IoT management system for power collection equipment based on eSIM technology includes mobile terminals, Bluetooth tooling boards, collection equipment, communication modules, servers and operator systems. After the on-site workers arrive at the construction site with their mobile phones and tooling boards, they configure the operator network for the power collection equipment.
[0062] The steps for configuring the operator network of the power collection device are as follows:
[0063] First, use a mobile terminal to scan the barcode of the power collection equipment and report the barcode information to the server. The server will verify the asset barcode and return the location information of the barcode to the mobile terminal.
[0064] Secondly, use the mobile terminal to connect to the tooling board via Bluetooth, establish a local management data channel, and obtain the basic information of the eSIM card. The specific steps are: turn on the power of the Bluetooth tooling board, insert the communication module of the power collection device embedded with the eSIM card into the Bluetooth tooling board, and establish a parallel serial communication connection between the two; when searching and connecting the Bluetooth of the tooling board through the mobile terminal, the tooling board will assist in establishing a data communication connection between the mobile terminal and the eSIM card, so the eSIM card configuration instructions transmitted by the mobile terminal can be transmitted to the communication module via Bluetooth and serial port; the mobile terminal opens the eSIM card logical channel through the AT command and establishes the eSIM local management data channel; the mobile terminal obtains the IMEI of the communication module and the basic information of the eSIM card from the eSIM chip through the local management data transmission channel, including EID, installed Profile, etc.
[0065] Secondly, the mobile terminal synchronizes the current available Profile resources of the eSIM card with the server. The specific steps are as follows: the mobile terminal reports data such as EID, IMEI, installed Profile and territorial information to the server; if the server data is inconsistent with the data reported by the mobile terminal, the server updates the database according to the latest basic information of the eSIM card reported by the mobile terminal; the mobile terminal obtains the operator Profile resource information available for the eSIM card, and the server queries the Profile resource status under the operator account that has signed a cooperation agreement in the territory, and returns to the mobile terminal the number of bindable Profiles or Profile information to be downloaded for each operator available for the eSIM card; if the server finds that the installed Profile reported by the mobile terminal contains a cancelled Profile, the server returns the result to inform the mobile terminal that the Profile has been cancelled, and the mobile terminal will initiate a delete Profile command to remove the Profile from the eSIM chip.
[0066] Secondly, click to select an operator on the mobile terminal, and the server checks whether the eSIM card has been bound to the operator's Profile resources; if it has been bound and the Profile is to be downloaded, the Profile activation code is directly returned to the mobile terminal, otherwise, a bindable Profile resource information belonging to the operator is selected from the database, and the Profile resource information is applied to the operator system through the interface; the operator system verifies the legitimacy of the application data by itself, and if the verification is successful, the EID of the eSIM card, the IMEI of the communication module and the corresponding Profile data resource information are associated in its system, and if the binding is successful, the Profile activation code is returned, otherwise a failure message is returned, and the operator interface is called to query the Profile resource binding status to apply for the next binding until the binding is successful; the server saves the activation code information, returns the activation code information to the mobile terminal, and marks the Profile status as to be downloaded.
[0067] Secondly, after the mobile terminal clicks the operator button on the page to obtain the activation code, if the activation code is successfully obtained, the mobile terminal starts the Profile download process; after the Profile is successfully downloaded, the mobile terminal sends an instruction to apply the Profile, so that the chip of the eSIM card switches to the newly downloaded Profile; the mobile terminal sends a restart instruction to let the communication module re-inject the network, completing the process of installing the Profile on the eSIM card.
[0068] Secondly, after the Profile is installed, the mobile terminal again obtains the EID of the eSIM card, the IMEI of the communication module, and the Profile information installed in the eSIM card from the eSIM module, and reports this information to the server to complete the file synchronization.
[0069] Finally, the server obtains the card status, monthly usage, daily usage and other information of all Profiles from the operator system through the interface, and stores this information in the database. The traffic data information can be used to determine the IoT connection status of the power collection device where the eSIM card corresponding to the Profile is located, and can also be used to cancel the card of the Profile that has not been used for a long time. The definition of the Profile that has not been used for a long time is: a Profile that has been put into use, that is, downloaded and installed, and has not generated any traffic for one month or more.
[0070] As a specific embodiment of the present invention, Figure 5 is a schematic diagram of Profile state transfer according to an optional embodiment of the present invention, such as Figure 5As shown in the figure, the status of Profile changes with the usage of Profile. The status of Profile includes bindable, waiting to be downloaded, waiting to be cancelled, enabled, cancelled and disabled. The usage of Profile includes the entry of Profile data, application and binding of Profile, downloading and installation of Profile and switching of Profile in eSIM chip.
[0071] Step 1: Profile data entry: Profile identification information is entered into the server; if only Profile identification information is entered without entering the EID information of the eSIM card to which the Profile has been bound, the initial status of the Profile is bindable, otherwise the initial status of the Profile is pending download.
[0072] Step 2: Profile application and binding: The mobile terminal can apply for Profile binding through the button on the mobile terminal. After receiving the EID information, the server selects the identification information of the Profile whose status is bindable from the database. The server shall not select resources whose Profile status is pending cancellation or cancelled; the server gives priority to Profile resources with an earlier entry time.
[0073] Step 3: Apply to the operator to bind EID, IMEI and Profile: Based on step 2, the server sends a binding application to the operator. After the binding is successful, the operator returns the Profile activation code information, and the server changes the Profile status to pending download.
[0074] Step 4: Download and install the Profile: After the mobile terminal obtains the activation code, it starts the formal Profile download process. The mobile terminal directly applies to the operator to download the Profile data package. After the installation is complete, the mobile terminal sends the installation result and status of the new Profile to the server. The initial installation status is disabled.
[0075] Step 5: Enable Profile: After completing the Profile download and installation process, the mobile terminal sends an activation command to the eSIM chip. After the activation is completed, the mobile terminal sends a list of all Profiles in the eSIM chip to the server, including Profile identification information, status, eSIM card EID, and communication module IMEI information.
[0076] Step 6: Delete Profile: When the mobile terminal synchronizes all Profile information in the eSIM card with the server and obtains that the service status of a certain Profile is cancelled, the mobile terminal first sends a command to disable the Profile to the eSIM card, and then sends a delete command to the eSIM card to delete the Profile from the eSIM card. After the deletion is completed, the EID of the eSIM card, the IMEI of the communication module, and the identification information of all Profiles are synchronized to the server.
[0077] Step 7: Daily maintenance, obtain operator business data: The server calls the operator interface and uses the information acquisition interface provided by the operator to batch obtain the card status, package, monthly usage, daily usage and other data of each Profile, and saves this data in the database.
[0078] Step 8: Daily maintenance, card cancellation: The server selects the profiles that meet the card cancellation conditions from the database every month; the card cancellation conditions are: Condition 1, the Profile that has been put into use has not generated traffic for a long time, that is, the historical monthly usage data for the last month or for several consecutive months is 0; Condition 2, it has not been used since it was entered into the database, but the Profile is in an activated state due to the expiration of the silent period, where the silent period is a general term for the retention period before automatic activation set by the operator, and different operators have different status names.
[0079] Step 9: Card cancellation application: After the server automatically selects the profile list suitable for card cancellation, it automatically generates a card cancellation work order. After the business personnel complete the work order approval in the server, they can download the card cancellation list. The business personnel will send the card cancellation list to the operator offline. The server also marks this batch of profiles as cards to be cancelled.
[0080] Step 10: Card cancellation confirmation: During the daily card status acquisition process, the server checks whether the Profile status of the card to be cancelled has become a cancelled card. If the condition is met, the server updates the Profile status to a cancelled card.
[0081] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0082] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method for determining the device status according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0083] According to an embodiment of the present invention, a device for implementing the above-mentioned method 1 for determining the device status is also provided. Figure 6 is a structural block diagram of an apparatus for determining a device state according to an embodiment of the present invention. Figure 6 As shown, the device for determining the device status includes: a determination module 62, a data transmission module 64, an acquisition module 66 and a data processing module 68. The device for determining the device status is described below.
[0084] A determination module 62, used to determine a target power collection device;
[0085] The data transmission module 64 is connected to the determination module 62 and is used to receive the target embedded customer identity module eSIM card electronic identity identifier corresponding to the target power collection device and the configuration file information of the target eSIM card sent by the mobile terminal;
[0086] An acquisition module 66, connected to the data transmission module 64, is used to acquire target traffic data of the target eSIM card from the operator based on the configuration file information of the target eSIM card;
[0087] The data processing module 68 is connected to the acquisition module 66 and is used to determine the state of the target power collection device according to the target flow data.
[0088] It should be noted that the above-mentioned determination module 62, data transmission module 64, acquisition module 66 and data processing module 68 correspond to steps S202 to S208 in the embodiment, and the four modules and the corresponding steps implement the same examples and application scenarios, but are not limited to the contents disclosed in the above-mentioned embodiment. It should be noted that the above-mentioned modules as part of the device can be run in the computer terminal 10 provided in the embodiment.
[0089] According to an embodiment of the present invention, a device for implementing the second method for determining the device status is also provided. Figure 7 is a structural block diagram of a second apparatus for determining a device state according to an embodiment of the present invention, such as Figure 7 As shown, the device for determining the device status includes:, and the second device for determining the device status is described below.
[0090] An acquisition module 72 is used to acquire the electronic identity and configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device;
[0091] The data transmission module 74 is connected to the acquisition module 72 and is used to send the electronic identity identification and configuration file information of the target eSIM card to the server, wherein the server is used to determine the state of the target power collection device according to the electronic identity identification and configuration file information of the target eSIM card.
[0092] It should be noted that the acquisition module 72 and the data transmission module 74 correspond to steps S302 to S304 in the embodiment, and the examples and application scenarios implemented by the two modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.
[0093] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.
[0094] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for determining the device status in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method for determining the device status. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0095] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: determine the target power collection device; receive the electronic identity of the target embedded customer identification module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal; based on the first configuration file information, obtain the target flow data of the target eSIM card from the operator; and determine the state of the target power collection device according to the target flow data.
[0096] Optionally, the processor may also execute the program code of the following steps: determining the state of the target power collection device based on the target traffic data, including: obtaining the historical traffic data of the target eSIM card; determining the traffic threshold of the target eSIM card based on the historical traffic data; determining the state of the target power collection device based on the traffic threshold and the target traffic data.
[0097] Optionally, the processor may also execute program code of the following steps: determining the traffic threshold of the target eSIM card based on historical traffic data, including: determining a first minimum value based on the historical traffic data, wherein the first minimum value is the minimum value of the historical traffic data of the target eSIM card; obtaining territorial information of the target power collection device from the mobile terminal; obtaining a second minimum value based on the territorial information, wherein the second minimum value is the minimum value of the reference historical traffic data of the eSIM card corresponding to the reference power collection device, and the reference power collection device is located within the geographical range specified by the territorial information; determining the traffic threshold of the target eSIM card based on the first minimum value and the second minimum value.
[0098] Optionally, the processor may also execute the program code of the following steps: determining the state of the target power collection device according to the flow threshold and the target flow data, including: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
[0099] Optionally, the processor may also execute the program code of the following steps: obtaining the electronic identity and first configuration file information of the target eSIM card, wherein the target eSIM card is located on the target power collection device; sending the electronic identity and the first configuration file information to the server, wherein the server is used to determine the status of the target power collection device based on the electronic identity and the first configuration file information, and the first configuration file information is used to describe the first configuration file in the target eSIM card.
[0100] Optionally, the processor may also execute program code of the following steps: establishing a local data management channel for connecting to a target eSIM card; obtaining second profile information through the local data management channel, wherein the second profile information is used to describe a second profile, the second profile is pre-installed in the target eSIM card, and the first profile information includes the second profile information; obtaining third profile information from a server according to the second profile information, wherein the third profile information is used to describe a third profile, and the third profile information and the second profile information do not belong to the same operator; obtaining a third profile from the operator according to the third profile information, and installing the third profile into the target eSIM card.
[0101] By adopting the embodiment of the present invention, the target power collection device is determined; the electronic identity of the target embedded customer identification module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal are received; based on the first configuration file information, the target traffic data of the target eSIM card is obtained from the operator; according to the target traffic data, the state of the target power collection device is determined, thereby achieving the purpose of monitoring the Internet of Things connection state of the power collection device, thereby realizing the technical effect of remotely determining the Internet of Things connection state of the power collection device, and further solving the technical problem that the Internet of Things connection state of the power collection device is difficult to remotely determine due to the use of a SIM card for data transmission in the power collection device.
[0102] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0103] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the method for determining the device status provided by the above embodiment.
[0104] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0105] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: determining a target power collection device; receiving an electronic identity of a target embedded customer identification module eSIM card corresponding to the target power collection device and first profile information of the target eSIM card sent by a mobile terminal; based on the first profile information, obtaining target traffic data of the target eSIM card from the operator; and determining the state of the target power collection device according to the target traffic data.
[0106] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: determining the state of the target power collection device based on the target traffic data, including: obtaining historical traffic data of the target eSIM card; determining the traffic threshold of the target eSIM card based on the historical traffic data; determining the state of the target power collection device based on the traffic threshold and the target traffic data.
[0107] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: determining the traffic threshold of the target eSIM card based on historical traffic data, including: determining a first minimum value based on the historical traffic data, wherein the first minimum value is the minimum value of the historical traffic data of the target eSIM card; obtaining territorial information of the target power collection device from the mobile terminal; obtaining a second minimum value based on the territorial information, wherein the second minimum value is the minimum value of the reference historical traffic data of the eSIM card corresponding to the reference power collection device, and the reference power collection device is located within the geographical range specified by the territorial information; determining the traffic threshold of the target eSIM card based on the first minimum value and the second minimum value.
[0108] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for executing the following steps: determining the state of the target power collection device based on the flow threshold and the target flow data, including: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; determining the state of the target power collection device based on the judgment result.
[0109] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: obtaining an electronic identity and first profile information of a target eSIM card, wherein the target eSIM card is located on a target power collection device; sending the electronic identity and the first profile information to a server, wherein the server is used to determine a state of the target power collection device based on the electronic identity and the first profile information, and the first profile information is used to describe a first profile in the target eSIM card.
[0110] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: establishing a local data management channel for connecting to a target eSIM card; obtaining second profile information through the local data management channel, wherein the second profile information is used to describe a second profile, the second profile is pre-installed in the target eSIM card, and the first profile information includes the second profile information; obtaining third profile information from a server according to the second profile information, wherein the third profile information is used to describe a third profile, and the third profile information and the second profile information do not belong to the same operator; obtaining a third profile from the operator according to the third profile information, and installing the third profile into the target eSIM card.
[0111] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0112] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0113] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0114] 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 units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0115] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0116] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0117] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining a device status, characterized in that: include: Determine the target power collection equipment; Receiving the electronic identity of the target embedded client identity module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal; Based on the first configuration file information, obtain target traffic data of the target eSIM card from the operator; Determining the state of the target power collection device according to the target flow data; The step of determining the state of the target power collection device according to the target flow data includes: Obtain historical traffic data of the target eSIM card; Determining a traffic threshold of the target eSIM card according to the historical traffic data; Determining the state of the target power collection device according to the flow threshold and the target flow data; The determining, according to the historical traffic data, a traffic threshold of the target eSIM card includes: Determine a first minimum value according to the historical traffic data, wherein the first minimum value is a minimum value of the historical traffic data of the target eSIM card; Acquiring the territorial information of the target power collection device from the mobile terminal; According to the territorial information, a second minimum value is obtained, wherein the second minimum value is a minimum value of reference historical traffic data of an eSIM card corresponding to a reference power collection device, and the reference power collection device is located within a geographical range defined by the territorial information; Determining a traffic threshold of the target eSIM card according to the first minimum value and the second minimum value; Determining the state of the target power collection device based on the flow threshold and the target flow data includes: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
2. A method for determining a device status, characterized in that: include: Obtaining an electronic identity and first configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device; Sending the electronic identity and the first configuration file information to a server, wherein the server is used to determine the state of the target power collection device according to the electronic identity and the first configuration file information, and the first configuration file information is used to describe the first configuration file in the target eSIM card; Wherein, determining the state of the target power collection device according to the electronic identity and the first configuration file information includes: Determine the target power collection equipment; Receiving the electronic identity of the target embedded client identity module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal; Based on the first configuration file information, obtain target traffic data of the target eSIM card from the operator; Get the historical traffic data of the target eSIM card; Determine the traffic threshold of the target eSIM card based on historical traffic data; Determine the state of the target power collection device according to the flow threshold and the target flow data; Determining the state of the target power collection device based on the flow threshold and the target flow data includes: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
3. The method according to claim 2, characterized in that Before obtaining the first configuration file information, the method further includes: Establishing a local data management channel for connecting to the target eSIM card; Acquire second configuration file information through the local data management channel, wherein the second configuration file information is used to describe a second configuration file, the second configuration file has been pre-installed in the target eSIM card, and the first configuration file information includes the second configuration file information; acquiring, from the server, third profile information according to the second profile information, wherein the third profile information is used to describe a third profile, and the third profile information and the second profile information do not belong to the same operator; According to the third configuration file information, the third configuration file is obtained from the operator, and the third configuration file is installed in the target eSIM card.
4. A device for determining a device status, characterized in that: include: A determination module, used to determine a target power collection device; A data transmission module, used for receiving the target embedded customer identity module eSIM card electronic identity identification corresponding to the target power collection device and the configuration file information of the target eSIM card sent by the mobile terminal; An acquisition module, configured to acquire target traffic data of the target eSIM card from an operator based on the configuration file information of the target eSIM card; A data processing module, used to determine the state of the target power collection device according to the target flow data; The step of determining the state of the target power collection device according to the target flow data includes: Obtain historical traffic data of the target eSIM card; Determining a traffic threshold of the target eSIM card according to the historical traffic data; Determining the state of the target power collection device according to the flow threshold and the target flow data; The determining, according to the historical traffic data, a traffic threshold of the target eSIM card includes: Determine a first minimum value according to the historical traffic data, wherein the first minimum value is a minimum value of the historical traffic data of the target eSIM card; Acquiring the territorial information of the target power collection device from the mobile terminal; According to the territorial information, a second minimum value is obtained, wherein the second minimum value is a minimum value of reference historical traffic data of an eSIM card corresponding to a reference power collection device, and the reference power collection device is located within a geographical range defined by the territorial information; Determining a traffic threshold of the target eSIM card according to the first minimum value and the second minimum value; Determining the state of the target power collection device based on the flow threshold and the target flow data includes: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
5. A device for determining a device status, characterized in that: include: An acquisition module, used to acquire the electronic identity and configuration file information of a target eSIM card, wherein the target eSIM card is located on a target power collection device; A data transmission module, used to send the electronic identity identification and configuration file information of the target eSIM card to a server, wherein the server is used to determine the state of the target power collection device according to the electronic identity identification and configuration file information of the target eSIM card; Wherein, determining the state of the target power collection device according to the electronic identity and the configuration file information includes: Determine the target power collection equipment; Receiving the electronic identity of the target embedded client identity module eSIM card corresponding to the target power collection device and the first configuration file information of the target eSIM card sent by the mobile terminal; Based on the first configuration file information, obtain target traffic data of the target eSIM card from the operator; Get the historical traffic data of the target eSIM card; Determine the traffic threshold of the target eSIM card based on historical traffic data; Determine the state of the target power collection device according to the flow threshold and the target flow data; Determining the state of the target power collection device based on the flow threshold and the target flow data includes: comparing the flow threshold and the target flow data to obtain a judgment result of whether the target flow data is less than the flow threshold; and determining the state of the target power collection device based on the judgment result.
6. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for determining the device status according to any one of claims 1 to 3.
7. A computer device, characterized in that: The computer device comprises a processor, and the processor is used to run a program, wherein the program executes the method for determining the device status according to any one of claims 1 to 3 when running.
Citation Information
Patent Citations
Internet of Things card anomaly detection method and device
CN110505196A
Flow detection method, device and equipment and storage medium
CN111614634A