CN109283995B - Method and system for reducing power consumption of terminal user identification card of Internet of things - Google Patents
Method and system for reducing power consumption of terminal user identification card of Internet of things Download PDFInfo
- Publication number
- CN109283995B CN109283995B CN201811142555.4A CN201811142555A CN109283995B CN 109283995 B CN109283995 B CN 109283995B CN 201811142555 A CN201811142555 A CN 201811142555A CN 109283995 B CN109283995 B CN 109283995B
- Authority
- CN
- China
- Prior art keywords
- internet
- user identification
- identification card
- things
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3237—Power saving characterised by the action undertaken by disabling clock generation or distribution
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a system for reducing power consumption of an Internet of things terminal user identification card, and relates to the field of Internet of things. The method comprises the following steps: the method comprises the steps that an Internet of things terminal powers on a user identification card and provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region; when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed; the terminal of the internet of things stops providing clock signals for the user identification card, and the terminal of the internet of things controls the user identification card to be in an idle state. According to the invention, by caching the file data and stopping the clock, the possibility of interaction between the user identification card and the terminal of the Internet of things is reduced, the power consumption of the terminal of the Internet of things is reduced, and the standby time and the standby effect of the terminal of the Internet of things are increased.
Description
Technical Field
The invention relates to the field of Internet of things, in particular to a method and a system for reducing power consumption of an Internet of things terminal user identification card.
Background
With the development of science and technology, internet of things equipment gradually enters the lives of people and gradually improves the lives of people. The cellular Internet of things equipment in the existing Internet of things equipment carries a user identification card, namely a USIM card, data in the USIM card is stored in a file form, the Internet of things terminal acquires data from the USIM card or stores the data to the USIM card and needs to finish interaction through a plurality of instructions, and at the moment, the USIM card is in an activated state, so that the power consumption is large.
And the terminal of the internet of things may read or store data for one file at different times in the process of networking or updating the network state, so that the USIM card is in an activated state for a long time, and the power consumption of the terminal of the internet of things is further increased.
The existing PSM and eDRX modes allow the terminal to enter the sleep mode, but after the terminal is awakened from the sleep mode, the terminal and the USIM card can be immediately activated, if the access requirement of the USIM card with real-time requirements such as authentication and the like does not exist, the power consumption of the USIM card for the terminal of the Internet of things is activated to be larger, the standby power consumption of the SIM card is not reduced aiming at the extremely high requirement of the power consumption of the Internet of things at present, and the problem of high power consumption of the terminal of the Internet of things still.
Disclosure of Invention
The invention aims to provide a method and a system for reducing the power consumption of a user identification card of an Internet of things terminal, which reduce the possibility of interaction between the user identification card and the Internet of things terminal, reduce the power consumption of the Internet of things terminal and increase the standby time and standby effect of the Internet of things terminal.
The technical scheme provided by the invention is as follows:
a method for reducing power consumption of an Internet of things terminal user identification card comprises the following steps: the method comprises the steps that an Internet of things terminal powers on a user identification card and provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region; when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed; the terminal of the internet of things stops providing clock signals for the user identification card, and the terminal of the internet of things controls the user identification card to be in an idle state.
Further, when the file data of the subscriber identity card is not stored in the cache region, the storing, by the internet of things terminal, the file data of the subscriber identity card in the cache region specifically includes: the Internet of things terminal reads the identification number of the user identification card; the Internet of things terminal analyzes whether the identification number is consistent with the storage identification number of the cache region or not; when the identification number is consistent with the storage identification number of the cache region, the internet of things terminal determines that the file data of the user identification card is stored in the cache region; when the identification number is not consistent with the storage identification number of the cache region, the internet of things terminal determines that the file data of the user identification card is not stored in the cache region; the Internet of things terminal reads file data in a preset format from the user identification card; and the Internet of things terminal stores the file data in a preset format in the cache region and replaces the storage identification number with the identification number.
Further, the internet of things terminal stopping providing the clock signal to the subscriber identity module card, the internet of things terminal controlling the subscriber identity module card to be in an idle state further comprising: when the terminal of the Internet of things receives a low-power-consumption mode request, the terminal of the Internet of things controls the subscriber identity module to power off, and the terminal of the Internet of things enters a low-power-consumption mode; and the terminal of the Internet of things exits from the low power consumption mode, and changes the state of the user identification card according to the current state.
Further, when the internet of things terminal receives a low power consumption mode request, the internet of things terminal controls the subscriber identity module card to power down, and the internet of things terminal entering the low power consumption mode specifically includes: when the Internet of things terminal receives a low-power-consumption mode request, the Internet of things terminal analyzes whether a write-in request exists in the cache region; when a write request exists in the cache region, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; the Internet of things terminal writes the data in the cache area into the user identification card, and controls the power-off of the user identification card; when the write-in request does not exist in the cache region, the terminal of the Internet of things directly controls the power-off of the user identification card; and the terminal of the Internet of things enters a low power consumption mode.
Further, the exiting of the terminal of the internet of things from the low power consumption mode and the changing of the state of the subscriber identity module card according to the current state specifically include: the terminal of the Internet of things exits from a low power consumption mode; when the terminal of the Internet of things does not detect the access request of the user identification card, the terminal of the Internet of things controls the user identification card to keep a power-off state; when the terminal of the internet of things detects an access request of a user identification card, the terminal of the internet of things powers on the user identification card and provides a clock signal to the user identification card, and the terminal of the internet of things controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region; and when the file data of the user identification card is stored in the cache region, the initialization of the user identification card is completed.
Further, the internet of things terminal stopping providing the clock signal to the subscriber identity module card, the internet of things terminal controlling the subscriber identity module card to be in an idle state further comprising: when the Internet of things terminal receives a reading request, the Internet of things terminal acquires a data reading name in the reading request; the Internet of things terminal analyzes whether the cache region contains the data reading name or not; when the cache region contains the data reading name, the internet of things terminal acquires file data corresponding to the data reading name from the cache region; when the cache region does not contain the data reading name, the internet of things terminal acquires request data corresponding to the data reading name from the user identification card; the Internet of things terminal stores the request data in the cache region; and the Internet of things terminal returns the requested data.
Further, when the data reading name is not included in the cache region, the obtaining, by the internet of things terminal, request data corresponding to the data reading name from the subscriber identity module card specifically includes: when the file name is not contained in the cache region, the Internet of things terminal analyzes whether the user identification card is powered on or not; when the user identification card is not powered on, the Internet of things terminal powers on the user identification card and provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region; when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed; when the user identification card is powered on, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; and the Internet of things terminal acquires the request data corresponding to the file name from the user identification card.
Further, the internet of things terminal stopping providing the clock signal to the subscriber identity module card, the internet of things terminal controlling the subscriber identity module card to be in an idle state further comprising: when the terminal of the Internet of things receives a write-in request, the terminal of the Internet of things acquires a data write-in name in the write-in request; the Internet of things terminal analyzes whether the cache region contains the data writing name or not; when the cache region does not contain the data writing name, the Internet of things terminal creates the data writing name and a corresponding text data structure in the cache region, and writes the writing data corresponding to the data writing name in the writing request into the cache region; and when the cache region contains the file name, the Internet of things terminal writes the write-in request into the cache region.
Further, the internet of things terminal stopping providing the clock signal to the subscriber identity module card, the internet of things terminal controlling the subscriber identity module card to be in an idle state further comprising: when the Internet of things terminal receives a shutdown request, the Internet of things terminal analyzes whether the write-in request exists in the cache region; when a write request exists in the cache region, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state; the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal is powered off; and when the write-in request does not exist in the cache region, the terminal of the Internet of things is directly powered off.
One of the objectives of the present invention is to provide a system for reducing power consumption of an internet of things terminal user identification card, comprising: the system comprises a control module, a user identification card and a cache region; the control module includes: the communication control unit is used for electrifying the user identification card, providing a clock signal for the user identification card and controlling the user identification card to be in an activated state; the data unit is used for storing the file data of the user identification card in the cache region when the file data of the user identification card is not stored in the cache region; when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed; the communication control unit is also used for stopping providing the clock signal for the user identification card and controlling the user identification card to be in an idle state.
Further, the control module further comprises: a number reading unit for reading the identification number of the subscriber identity card; the number analysis unit is used for analyzing whether the identification number is consistent with the storage identification number of the cache region or not; when the identification number is consistent with the storage identification number of the cache region, the number analysis unit determines that the file data of the user identification card is stored in the cache region; when the identification number is not consistent with the storage identification number of the cache region, the number analysis determines that the file data of the user identification card is not stored in the cache region; the data unit is used for reading file data in a preset format from the user identification card, storing the file data in the preset format in the cache region, and replacing the storage identification number with the identification number.
Further, the control module further comprises: a mode request receiving unit for receiving a low power consumption mode request; when the terminal of the Internet of things receives a low power consumption mode request, the communication control unit controls the subscriber identity module card to power off, and the terminal of the Internet of things enters a low power consumption mode; the internet of things terminal exits from the low power consumption mode, and the control module is further used for changing the state of the subscriber identity module card according to the current state.
Further, the control module further comprises: a request analysis unit, which analyzes whether a write request exists in the cache region when the mode request receiving unit receives a low power consumption mode request; when a write request exists in the cache region, the communication control unit provides a clock signal to the user identification card, and the internet of things terminal controls the user identification card to be in an activated state; the data storage unit is also used for writing the data in the cache area into the user identification card, and the communication control unit controls the power-off of the user identification card; when the write-in request does not exist in the cache region, the communication control unit directly controls the power-off of the user identification card; and the terminal of the Internet of things enters a low power consumption mode.
Further, the control module further comprises: the awakening unit is used for controlling the Internet of things terminal to exit a low power consumption mode; when the mode request receiving unit does not detect a subscriber identity card access request, the communication control unit controls the subscriber identity card to keep a power-down state; when the mode request receiving unit detects an access request of a user identification card, the communication control unit powers on the user identification card and provides a clock signal for the user identification card, and the communication control unit controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the data storage unit stores the file data of the user identification card in the cache region; and when the file data of the user identification card is stored in the cache region, the initialization of the user identification card is completed.
Further, the control module further comprises: a read request receiving unit for receiving a read request; a reading name obtaining unit, configured to obtain a data reading name in the reading request when the reading request receiving unit receives the reading request; a read name analysis unit, configured to analyze whether the cache area contains the data read name; when the cache region contains the data reading name, the data unit is used for acquiring file data corresponding to the data reading name from the cache region; when the cache region does not contain the data reading name, the data unit acquires request data corresponding to the data reading name from the user identification card; the data unit is further configured to store the requested data in the cache region, and to return the requested data.
Further, when the file name is not contained in the cache region, the communication control unit analyzes whether the subscriber identity card is powered on; when the user identification card is not powered on, the communication control unit powers on the user identification card, provides a clock signal for the user identification card and controls the user identification card to be in an activated state; when the file data of the user identification card is not stored in the cache region, the data unit stores the file data of the user identification card in the cache region; when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed; when the user identification card is powered on, the communication control unit provides a clock signal to the user identification card, and the communication control unit controls the user identification card to be in an activated state; and the data unit acquires the request data corresponding to the file name from the user identification card.
Further, the control module further comprises: a write request receiving module, configured to receive a write request; a write name obtaining unit, configured to obtain a data write name in a write request when the write request receiving module receives the write request; a write name analyzing unit, configured to analyze whether the cache area contains the data write name; a creating unit, configured to create the data write name and a corresponding literal data structure in the cache area when the cache area does not contain the data write name, where the data unit writes the write data corresponding to the data write name in the write request into the cache area; and when the cache region contains the file name, the data unit writes the write-in data corresponding to the data write-in name in the write-in request into the cache region.
Further, the control module further comprises: a shutdown request receiving unit, configured to receive a shutdown request; the write-in request analysis unit is used for analyzing whether the write-in request exists in the cache region or not when the Internet of things terminal receives a shutdown request; when a write request exists in the cache region, the communication control unit provides a clock signal to the user identification card and controls the user identification card to be in an activated state; the data unit writes the data in the cache area into the subscriber identity module card and is used for controlling the Internet of things terminal to be powered off; and when the write-in request does not exist in the cache region, the shutdown control unit controls the Internet of things terminal to be directly shut down.
Compared with the prior art, the method and the system for reducing the power consumption of the terminal user identification card of the Internet of things have the following beneficial effects:
1. after the virtual subscriber identity module is set, the clock signal is stopped being provided for the subscriber identity module, so that the state of the subscriber identity module is changed, namely the state of the subscriber identity module is changed into an idle state, the possibility of interaction between the subscriber identity module and the internet of things terminal is reduced, the power consumption of the internet of things terminal by the USIM card can be reduced to one tenth of the power consumption of the internet of things terminal, the power consumption of the internet of things terminal is greatly reduced, and the standby time and the standby effect of the internet of things terminal are increased.
2. When the internet of things terminal acquires the file data in the user identification card, the internet of things terminal can acquire the file data format corresponding to the stored communication protocol, so that the internet of things terminal only needs to acquire the corresponding file data without storing other file data, and the waste of space is reduced.
3. In order to further reduce the power consumption of the terminal of the internet of things, the terminal of the internet of things can enter a low power consumption mode to further reduce the power consumption of the terminal of the internet of things, and the standby time and the standby effect of the terminal of the internet of things are increased.
4. When the internet of things terminal meets the reading request of the user, the user can also store the read data and the corresponding data reading name in the buffer area, when the user reads the data again, the user identification card does not need to be opened again, the internet of things terminal only needs to interact with the buffer area to complete the access request, unnecessary interaction with the internet of things terminal is further reduced, and the standby time and the standby effect of the internet of things terminal are increased.
5. For the access request of the user identification card and when data interaction with the user identification card is required, the terminal of the internet of things can perform different responses according to the current state of the user identification card and perform accurate actions, so that the activation flow of the user identification card is optimized.
Drawings
The above features, technical features, advantages and implementations of a method and system for reducing power consumption of an internet of things end user identification card will be further described in a clearly understandable manner in the following preferred embodiments with reference to the accompanying drawings.
FIG. 1 is a schematic flow chart of a method for reducing power consumption of an Internet of things terminal subscriber identity card according to the present invention;
fig. 2 is a schematic flowchart of step S12 in the method for reducing power consumption of the internet of things end user identification card according to the present invention;
FIG. 3 is a schematic flow chart illustrating a method for reducing power consumption of an Internet of things end user identification card according to another embodiment of the present invention;
fig. 4 is a schematic flowchart of step S3 in a method for reducing power consumption of an internet of things end user identification card according to another embodiment of the present invention;
fig. 5 is a schematic flowchart of step S4 in a method for reducing power consumption of an internet of things end user identification card according to another embodiment of the present invention;
FIG. 6 is a schematic flow chart illustrating a method for reducing power consumption of an Internet of things SIM card according to another embodiment of the present invention;
fig. 7 is a schematic flowchart of step S54 in a method for reducing power consumption of an internet of things end user identification card according to another embodiment of the present invention;
FIG. 8 is a schematic flow chart illustrating another method for reducing power consumption of an Internet of things end user identification card in accordance with the present invention;
FIG. 9 is a schematic structural diagram of a system for reducing power consumption of an Internet of things terminal user identification card according to the present invention;
FIG. 10 is a schematic structural diagram of a control module in another system for reducing power consumption of an end user identification card of the Internet of things according to the present invention;
FIG. 11 is a schematic structural diagram of a control module in a system for reducing power consumption of an Internet of things end user identification card according to another embodiment of the present invention;
FIG. 12 is a schematic structural diagram of a control module in a system for reducing power consumption of an Internet of things end user identification card according to another embodiment of the present invention;
fig. 13 is a schematic structural diagram of a control module in another system for reducing power consumption of an internet of things end user identification card according to the present invention.
The reference numbers illustrate: 10. the system comprises a control module, 11, a communication control unit, 12, a data unit, 131, a number reading unit, 132, a number analysis unit, 14, a mode request receiving unit, 15, a request analysis unit, 16, a wakeup unit, 171, a reading request receiving unit, 172, a reading name acquisition unit, 173, a reading name analysis unit, 181, a writing request receiving module, 182, a writing name acquisition unit, 183, a writing name analysis unit, 184, a creation unit, 191, a shutdown request receiving unit, 192, a writing request analysis unit, 193, a shutdown control unit, 20, a user identification card and 30 a buffer area.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, the drawings only schematically show the parts relevant to the present invention, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
According to an embodiment provided by the present invention, as shown in fig. 1, a method for reducing power consumption of an internet of things terminal user identification card includes:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
The subscriber identity module card mainly refers to a global subscriber identity module card, i.e., a USIM card, and may also be a subscriber identity module storing parameters and authentication related information required for operator network access and data stored by a subscriber. The internet of things terminal mainly refers to intelligent equipment, such as mobile equipment or intelligent wearable equipment.
In the communication process of the Internet of things, the intelligent equipment can realize data transmission between terminals of the Internet of things through a low power consumption wide area network (LPWAN), and services with higher requirements for power consumption and coverage in the connection requirements of the Internet of things can be met.
The power-on process in this embodiment refers to any power-on process, and may be a power-on process in the startup process of the terminal of the internet of things, or a power-on process in any other manner. After the internet of things terminal powers on the user identification card, the internet of things terminal can immediately provide a clock signal for the user identification card to control the user identification card to be in an activated state.
In this embodiment, when activating the subscriber identity card, the internet of things terminal can first receive ATR (Answer) data, and then perform PPS (Protocol and Parameter Selection) negotiation, thereby activating the USIM card.
And S12, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
When the file data of the user identification card is stored in the cache region, the data in the user identification card is directly stored in the internet of things terminal, and when the data needs to be read or written, the internet of things terminal can directly operate the cache region without operating the user identification card.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
Before the clock signal of the user identification card is disconnected, the file data of the user identification card is stored in the internet of things terminal, so that when the user identification card needs to be read and written, the internet of things terminal can directly read and write the cache region as the virtual user identification card, and then the user identification card is read and written.
After the virtual subscriber identity module is set, the clock signal is stopped being provided for the subscriber identity module, so that the state of the subscriber identity module is changed, namely the state of the subscriber identity module is changed into an idle state, the possibility of interaction between the subscriber identity module and the internet of things terminal is reduced, the power consumption of the internet of things terminal by the USIM card can be reduced to one tenth of the power consumption of the internet of things terminal, the power consumption of the internet of things terminal is greatly reduced, and the standby time and the standby effect of the internet of things terminal are increased.
According to another embodiment provided by the invention, as shown in fig. 1 and fig. 2, a method for reducing power consumption of an internet of things terminal user identification card comprises the following steps:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S12, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
When the file data of the subscriber identity module card is not stored in the cache region, the storing, by the internet of things terminal, the file data of the subscriber identity module card in the cache region specifically includes:
and S121, the Internet of things terminal reads the identification number of the user identification card.
In this embodiment, after the sim card is powered on, the terminal of the internet of things can read the identification number of the sim card, where the identification number mainly refers to the unique number recorded in the identification number and representing the sim card by the user, and in this embodiment, the identification number mainly refers to the unique identification number of the USIM card, i.e., an ICCID (Integrated Circuit card identification).
And S122, the Internet of things terminal analyzes whether the identification number is consistent with the storage identification number of the cache region.
The storage identification number in the cache region mainly refers to an identification number of a user identification card corresponding to the currently recorded file data. Therefore, after the subscriber identity card is powered on, whether the storage identification number recorded in the cache area is changed is judged to determine whether the subscriber identity card is changed.
And S123, when the identification number is consistent with the storage identification number of the cache region, the Internet of things terminal determines that the file data of the user identification card is stored in the cache region.
When the internet of things terminal detects that the user identification card is not changed, the internet of things terminal can know that the file data in the cache region is consistent with the data in the user identification card, so that the internet of things terminal determines that the file data of the user identification card is stored in the cache region, the data in the cache region does not need to be changed, and the initialization process of the user identification card is completed.
And S124, when the identification number is not consistent with the storage identification number of the cache region, the Internet of things terminal determines that the file data of the user identification card is not stored in the cache region.
And S125, the Internet of things terminal reads file data in a preset format from the user identification card.
And S126, the Internet of things terminal stores the file data in a preset format in the cache region, and replaces the storage identification number with the identification number.
After the internet of things terminal detects that the user identification card is changed, the cache region can record the identification number of the user identification card again, and save the file data in the user identification card in the file data again, so that the setting of the virtual user identification card is realized, and the identification number of the user is stored as the storage identification number, so that the subsequent analysis and comparison are facilitated.
In this embodiment, the communication protocol module is arranged in the terminal of the internet of things, and the corresponding communication protocol is stored, so that when the terminal of the internet of things acquires the file data in the user identification card, the file data format corresponding to the stored communication protocol can be acquired, and therefore, the terminal of the internet of things only needs to acquire the corresponding file data without storing other file data, and waste of space is reduced.
According to another embodiment provided by the invention, as shown in fig. 3, a method for reducing power consumption of an internet of things terminal user identification card includes:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S12, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
And S3, when the terminal of the Internet of things receives the low power consumption mode request, the terminal of the Internet of things controls the subscriber identity module card to be powered off, and the terminal of the Internet of things enters a low power consumption mode.
And S4, the terminal of the Internet of things exits the low power consumption mode, and the state of the user identification card is changed according to the current state.
In this embodiment, after the virtual subscriber identity module is set in time, the terminal of the internet of things is still in a high-load operating state, and the subscriber identity module is still in an operating state, so that the terminal of the internet of things still has the possibility of power consumption optimization. Therefore, in order to further reduce the power consumption of the terminal of the internet of things, the terminal of the internet of things can enter a low power consumption mode to further reduce the power consumption of the terminal of the internet of things, and the standby time and the standby effect of the terminal of the internet of things are increased.
Specifically, as shown in fig. 4, when the terminal of the internet of things receives a request of a low power consumption mode, the terminal of the internet of things controls the subscriber identity module to power down, and entering the low power consumption mode of the terminal of the internet of things specifically includes:
s31, when the terminal of the Internet of things receives the low-power-consumption mode request, the terminal of the Internet of things analyzes whether a write-in request exists in the cache region.
In an embodiment, the terminal of the internet of things can start executing a subsequent action when receiving the low power consumption mode request, and before receiving the low power consumption mode request, the terminal of the internet of things can detect whether the terminal of the internet of things receives any request, such as checking and writing of information, that is, a user does not actively turn on a screen to open the device of the internet of things to execute a corresponding request or a request for data communication between devices, that is, when the terminal of the internet of things does not receive an incoming call or a short message, if the state is maintained for a certain time, the maintained time can be changed according to a requirement, and the terminal of the internet of things does not receive any request, and the terminal of the internet of things can automatically initiate a request for entering the low power.
And S32, when the write-in request exists in the cache region, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S33, the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal controls the user identification card to power off.
And S34, when the write-in request does not exist in the cache region, the terminal of the Internet of things directly controls the power-off of the user identification card.
And S35, the terminal of the Internet of things enters a low power consumption mode.
In order to ensure that updated file data can be stored in the subscriber identity module before the terminal of the internet of things enters the low power consumption mode, the terminal of the internet of things needs to judge whether a write-in request exists in the cache region or not so as to determine whether the file data of the subscriber identity module needs to be changed or not.
When the internet of things terminal detects that data needing to be written in exists in the cache region, the internet of things terminal provides a clock signal for the user identification card, controls the user identification card to be in an activated state, can write the data in the cache region into the user identification card, and then controls the user identification card to be powered off, so that the possibility of data loss caused by accidental power failure of the internet of things terminal is reduced.
And when the internet of things terminal detects that the writing request does not exist in the cache region, the file data in the user identification card does not need to be changed, so that the internet of things terminal can directly control the user identification card to be powered off, and the user identification card can be powered off without other control operations.
After the user identification card is powered off, the Internet of things terminal enters a low power consumption mode, the power consumption of the user identification card to the Internet of things terminal is further reduced, and the standby time and the standby effect of the Internet of things terminal are increased.
Specifically, as shown in fig. 5, exiting the low power consumption mode by the internet of things terminal, and changing the state of the subscriber identity module card according to the current state specifically includes:
and S41, the terminal of the Internet of things exits from the low power consumption mode.
In this embodiment, when the terminal of the internet of things receives any request signal, for example, the information described in this embodiment is checked and written, that is, the user actively lights up the screen to open the device of the internet of things to execute a corresponding request, or a request for data communication between devices, that is, when the terminal of the internet of things receives an incoming call or a short message, the terminal of the internet of things may exit the low power consumption mode and enter the wake-up mode, but in the current state, only a part of modules of the terminal of the internet of things is woken up to execute a corresponding request response.
And S42, when the terminal of the Internet of things does not detect the access request of the user identification card, the terminal of the Internet of things controls the user identification card to keep a power-off state.
For example, when a user turns on a screen and checks requests such as short messages in a user identification card, file data in the user identification card is stored in a cache region in the internet of things terminal continuously, and the cache region is used as a virtual user identification card to perform data interaction with the internet of things device continuously, so that the internet of things device does not need to open the user identification card, keeps the power-off state of the user identification card, and accesses the cache region to complete the action of the request, the power-off state of the user identification card can meet the request of the user, the power consumption of the internet of things device is reduced, and the standby time and standby effect of the internet of things device are increased.
S43, when the terminal of the Internet of things detects the access request of the user identification card, the terminal of the Internet of things powers on the user identification card and provides a clock signal for the user identification card, and the terminal of the Internet of things controls the user identification card to be in an activated state.
When the terminal of the internet of things receives the network authentication and authentication request, the cache area serving as the virtual user identification card cannot complete the authentication and authentication algorithm, so that the terminal of the internet of things still needs to power on the user identification card and activate the user identification card.
And S44, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S45, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
In this embodiment, after the terminal of the internet of things is started, the user identification card can be controlled to enter an idle state, and by setting the virtual user identification card, the possibility of data interaction between the user identification card and the equipment of the internet of things is reduced, and the first power consumption optimization of the equipment of the internet of things is realized.
After the terminal of the internet of things receives the low-power-consumption mode request, the terminal enters the low-power-consumption mode, and the possibility of data interaction with the user identification card is further reduced through powering off the user identification card when the user identification card does not need to be opened, so that the second-time power consumption optimization of the internet of things equipment is realized.
Meanwhile, when the internet of things equipment receives the request, the internet of things equipment can determine the state of the subscriber identity module card after the subscriber identity module card needs to be changed according to the type of the request and the current state of the subscriber identity module card, the possibility of data interaction with the subscriber identity module card when the subscriber identity module card does not need to be opened is further reduced, and third-time power consumption optimization of the internet of things equipment is achieved.
According to another embodiment provided by the present invention, as shown in fig. 3 and fig. 6, a method for reducing power consumption of an internet of things terminal user identification card includes:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S12, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
Preferably, at S3, when the terminal of internet of things receives the low power consumption mode request, the terminal of internet of things controls the subscriber identity module to power down, and the terminal of internet of things enters the low power consumption mode.
Preferably, S4, the terminal of internet of things exits from the low power consumption mode, and changes the state of the subscriber identity card according to the current state.
And S51, when the Internet of things terminal receives the reading request, the Internet of things terminal acquires the data reading name in the reading request.
The reading request includes a data reading name that a user needs to read and data corresponding to the name, and each reading request can include one or more data reading request names. The reading request in this embodiment may be sent by an external terminal, may be generated by a user controlling an internet of things terminal, and may be automatically generated by the internet of things terminal according to a communication protocol.
And S52, the Internet of things terminal analyzes whether the cache region contains the data reading name.
Whether the data corresponding to the name is contained in the cache region is determined by checking whether the data reading request name is contained in the cache region, and whether interaction with the user identification card is needed is judged according to the data corresponding to the name.
And S53, when the data reading name is contained in the cache region, the Internet of things terminal acquires the file data corresponding to the data reading name from the cache region.
When the data reading name exists in the cache region, the fact that the state of the user identification card does not need to be changed by the terminal of the internet of things is shown, the cache region in the terminal of the internet of things can serve as the virtual user identification card, the reading request of a user is met, and the terminal of the internet of things can return data of the corresponding reading request.
And S54, when the data reading name is not contained in the cache region, the Internet of things terminal acquires the request data corresponding to the data reading name from the user identification card.
And S55, the Internet of things terminal stores the request data in the cache region.
And S56, the Internet of things terminal returns the requested data.
In this embodiment, when the cache region does not contain a data reading name, it is described that the data in the user identification card is stored in the cache region by the internet of things terminal, the data in the format is not stored in the cache region, so that the user identification card needs to be in an activated state, and the internet of things terminal can directly read the data corresponding to the reading request from the user identification card, so as to meet the reading request of the user.
Preferably, when the internet of things meets the reading request of the user, the user can also store the read data and the corresponding data reading name in the buffer area, when the user reads the data again, the user identification card does not need to be opened again, and the internet of things terminal only needs to interact with the buffer area to complete the access request, so that unnecessary interaction with the internet of things terminal is further reduced, and the standby time and the standby efficiency of the internet of things terminal are increased.
Specifically, as shown in fig. 7, when the data reading name is not included in the cache region, the obtaining, by the terminal of the internet of things, request data corresponding to the data reading name from the subscriber identity card specifically includes:
s541, when the file name is not contained in the cache region, the Internet of things terminal analyzes whether the user identification card is powered on.
The subscriber identity module card has a plurality of states, namely an activated state, an idle state and a power-off state; the terminal of the internet of things can perform data interaction with the user identification card only in an activated state, so that the terminal of the internet of things needs to analyze to obtain the current state of the user identification card at first, and judges whether the user identification card is in a power-off state or an idle state by judging whether the user identification card is powered on or not.
And S542, when the user identification card is not electrified, the Internet of things terminal electrifys the user identification card, provides a clock signal for the user identification card, and controls the user identification card to be in an activated state.
S543, when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region.
And S544, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
When the user identification card is not powered on, the user identification card is powered on and initialized, and the user identification card in the current state can directly enter an activated state and then performs data interaction with the terminal of the internet of things.
S545, when the user identification card is powered on, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
For the user identification card in the idle state, the internet of things terminal only needs to activate the user identification card, and then data interaction is carried out with the internet of things terminal.
And S546, the Internet of things terminal acquires the request data corresponding to the file name from the user identification card.
Therefore, in this embodiment, for the reading request of the user and when data interaction with the user identification card is required, the terminal of the internet of things can perform different responses according to the current state of the user identification card, perform accurate actions, and optimize the activation process of the user identification card.
According to another embodiment provided by the invention, as shown in fig. 1 and 8, a method for reducing power consumption of an internet of things terminal user identification card comprises the following steps:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S12, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
And S61, when the terminal of the Internet of things receives the write-in request, the terminal of the Internet of things acquires the data write-in name in the write-in request.
In this embodiment, when the terminal of the internet of things receives the write request, the terminal of the internet of things can directly obtain the data write name in the write request because the buffer area can be already used as a virtual subscriber identity module card.
And S62, the Internet of things terminal analyzes whether the cache region contains the data writing name.
S63, when the cache region does not contain the data writing name, the Internet of things terminal creates the data writing name and a corresponding text data structure in the cache region, and writes the writing data corresponding to the data writing name in the writing request into the cache region.
And S64, when the file name is contained in the cache region, the terminal of the Internet of things writes the write request into the cache region.
Because the data is written into the cache region without the participation of the user identification card, the terminal of the internet of things only needs to analyze whether a space for storing the write-in request exists in the cache region or not, and only needs to analyze whether the cache region contains the data write-in name or not, when the cache region does not contain the data write-in name, the data name and the corresponding data format are established, and the data in the write-in request can be stored in the current state, so that the write-in request of the user is completed.
S71, when the terminal of the Internet of things receives a shutdown request, the terminal of the Internet of things analyzes whether a write-in request exists in the cache region.
And S72, when the write-in request exists in the cache region, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S73, the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal is powered off.
And S74, when the write-in request does not exist in the cache region, directly powering off the Internet of things terminal.
When a user needs to shut down or the Internet of things equipment needs to shut down under the condition of insufficient electric quantity, the Internet of things terminal can receive a shutdown request; the internet of things terminal starts to judge whether a write-in request exists in the cache region or not so as to ensure that data in the user identification card is updated in time, and when the write-in request does not exist in the cache region, the user identification card does not need to be updated, and the internet of things equipment is directly powered off.
According to another embodiment provided by the present invention, as shown in fig. 1 to 8, a method for reducing power consumption of an internet of things terminal user identification card includes:
and S11, the Internet of things terminal powers on the user identification card and provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S121, the Internet of things terminal reads the identification number of the user identification card.
And S122, the Internet of things terminal analyzes whether the identification number is consistent with the storage identification number of the cache region.
And S123, when the identification number is consistent with the storage identification number of the cache region, the Internet of things terminal determines that the file data of the user identification card is stored in the cache region.
And S124, when the identification number is not consistent with the storage identification number of the cache region, the Internet of things terminal determines that the file data of the user identification card is not stored in the cache region.
And S125, the Internet of things terminal reads file data in a preset format from the user identification card.
And S126, the Internet of things terminal stores the file data in a preset format in the cache region, and replaces the storage identification number with the identification number.
And S13, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S2, the Internet of things terminal stops providing clock signals for the user identification card, and the Internet of things terminal controls the user identification card to be in an idle state.
S31, when the terminal of the Internet of things receives the low-power-consumption mode request, the terminal of the Internet of things analyzes whether a write-in request exists in the cache region.
And S32, when the write-in request exists in the cache region, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S33, the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal controls the user identification card to power off.
And S34, when the write-in request does not exist in the cache region, the terminal of the Internet of things directly controls the power-off of the user identification card.
And S35, the terminal of the Internet of things enters a low power consumption mode.
And S41, the terminal of the Internet of things exits from the low power consumption mode.
And S42, when the terminal of the Internet of things does not detect the access request of the user identification card, the terminal of the Internet of things controls the user identification card to keep a power-off state.
S43, when the terminal of the Internet of things detects the access request of the user identification card, the terminal of the Internet of things powers on the user identification card and provides a clock signal for the user identification card, and the terminal of the Internet of things controls the user identification card to be in an activated state.
And S44, when the file data of the user identification card is not stored in the cache region, the terminal of the Internet of things stores the file data of the user identification card in the cache region.
And S45, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
And S51, when the Internet of things terminal receives the reading request, the Internet of things terminal acquires the data reading name in the reading request.
And S52, the Internet of things terminal analyzes whether the cache region contains the data reading name.
And S53, when the data reading name is contained in the cache region, the Internet of things terminal acquires the file data corresponding to the data reading name from the cache region.
S541, when the file name is not contained in the cache region, the Internet of things terminal analyzes whether the user identification card is powered on.
And S542, when the user identification card is not electrified, the Internet of things terminal electrifys the user identification card, provides a clock signal for the user identification card, and controls the user identification card to be in an activated state.
S543, when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region.
And S544, when the file data of the user identification card is stored in the buffer area, the initialization of the user identification card is completed.
S545, when the user identification card is powered on, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S546, the Internet of things terminal acquires the request data corresponding to the file name from the user identification card.
And S55, the Internet of things terminal stores the request data in the cache region.
And S56, the Internet of things terminal returns the requested data.
And S61, when the terminal of the Internet of things receives the write-in request, the terminal of the Internet of things acquires the data write-in name in the write-in request.
And S62, the Internet of things terminal analyzes whether the cache region contains the data writing name.
S63, when the cache region does not contain the data writing name, the Internet of things terminal creates the data writing name and a corresponding text data structure in the cache region, and writes the writing data corresponding to the data writing name in the writing request into the cache region.
And S64, when the file name is contained in the cache region, the terminal of the Internet of things writes the write request into the cache region.
S71, when the terminal of the Internet of things receives a shutdown request, the terminal of the Internet of things analyzes whether the write-in request exists in the cache region.
And S72, when the write-in request exists in the cache region, the Internet of things terminal provides a clock signal for the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state.
And S73, the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal is powered off.
And S74, when the write-in request does not exist in the cache region, directly powering off the Internet of things terminal.
Through the setting of the embodiment, the power-on activation of the user identification card by the terminal of the internet of things can be realized, the virtual user identification card is set, the user identification card enters an idle state, and the equipment of the internet of things enters a low power consumption mode and exits the low power consumption mode. The embodiment also discloses action states of the internet of things equipment in an idle state and a low power consumption mode after receiving the read request and the write request, and actions of the internet of things terminal when receiving the shutdown signal.
According to an embodiment provided by the present invention, as shown in fig. 9, a system for reducing power consumption of an internet of things terminal user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
The subscriber identity module 20 mainly refers to a global subscriber identity module 20, i.e., a USIM card, and may also be a subscriber identity module storing parameters and authentication-related information required for network access of an operator and data stored by a subscriber. The internet of things terminal mainly refers to intelligent equipment, such as mobile equipment or intelligent wearable equipment.
In the communication process of the Internet of things, the Internet of things terminal can realize data transmission between the Internet of things terminal and the background server and between the Internet of things terminal through a low power consumption wide area network (LPWAN), and therefore the power consumption and the service with higher requirements covering the terminal in the connection requirements of the Internet of things can be met.
The power-on process in this embodiment refers to any power-on process, and may be a power-on process in the startup process of the terminal of the internet of things, or a power-on process in any other manner. After the internet of things terminal powers on the subscriber identity card 20, the internet of things terminal can immediately provide a clock signal to the subscriber identity card 20 to control the subscriber identity card 20 to be in an activated state.
In this embodiment, when activating the subscriber identity card 20, the internet of things terminal can first receive ATR (answer Reset) data, and then perform PPS (Protocol and Parameter Selection) negotiation, thereby implementing activation of the USIM card.
When the file data of the subscriber identity module 20 is stored in the buffer area 30, the data in the subscriber identity module 20 is directly stored in the terminal of the internet of things, and when the data needs to be read or written, the terminal of the internet of things can directly operate the buffer area 30 without operating the subscriber identity module 20.
Before the clock signal of the subscriber identity module 20 is disconnected, the internet of things terminal already stores the file data of the subscriber identity module 20, so that when the subscriber identity module 20 needs to be read and written, the internet of things terminal can directly read and write the cache region 30 as the virtual subscriber identity module 20, and then the reading and writing of the subscriber identity module 20 are realized.
After the virtual subscriber identity module 20 is set, the clock signal is stopped being provided to the subscriber identity module 20, so that the state of the subscriber identity module 20 is changed, that is, the state of the subscriber identity module 20 is changed into an idle state, the possibility of interaction between the subscriber identity module 20 and the internet of things terminal is reduced, the power consumption of the USIM card to the internet of things terminal can be reduced to one tenth of the power consumption of the internet of things terminal, the power consumption of the internet of things terminal is greatly reduced, and the standby time and the standby effect of the internet of things terminal are increased.
According to another embodiment provided by the present invention, as shown in fig. 9 and 10, a system for reducing power consumption of an internet of things end user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
The control module 10 further comprises:
a number reading unit 131 for reading the identification number of the subscriber identity card 20.
A number analyzing unit 132, configured to analyze whether the identification number is consistent with the storage identification number of the cache area 30.
When the identification number coincides with the stored identification number of the buffer area 30, the number analysis unit 132 determines that the file data of the subscriber identification card 20 is stored in the buffer area 30.
When the identification number is not identical to the stored identification number of the buffer area 30, the number analysis determines that the file data of the subscriber identification card 20 is not stored in the buffer area 30.
The data unit 12 is configured to read file data in a preset format from the subscriber identity card 20, store the file data in the preset format in the buffer 30, and replace the stored identification number with the identification number.
In this embodiment, after the user identification card 20 is powered on, the internet of things terminal can read the identification number of the user identification card 20, where the identification number mainly refers to the unique number recorded in the identification number and representing the user identification card 20 by the user, and in this embodiment, the identification number mainly refers to the unique identification number of the USIM card, that is, an ICCID (Integrated Circuit card identification code).
The storage identification number in the buffer area 30 mainly refers to the identification number of the user identification card 20 corresponding to the currently recorded file data. Therefore, after the subscriber identity card 20 is powered on, it is determined whether the stored identification number recorded in the buffer 30 is changed to determine whether the subscriber identity card 20 is changed.
When the terminal of the internet of things detects that the subscriber identity card 20 is not changed, the terminal of the internet of things can know that the file data in the cache region 30 is consistent with the data in the subscriber identity card 20, so that the terminal of the internet of things determines that the file data of the subscriber identity card 20 is stored in the cache region 30, the data in the cache region 30 does not need to be changed, and the initialization process of the subscriber identity card 20 is completed.
After the internet of things terminal detects that the subscriber identity module 20 is changed, the buffer area 30 can record the identity number of the subscriber identity module 20 again, and save the file data in the subscriber identity module 20 in the file data again, so that the setting of the virtual subscriber identity module 20 is realized, and the identity number of the subscriber is stored as the storage identity number for subsequent analysis and comparison.
In this embodiment, the communication protocol module is arranged in the terminal of the internet of things, and the corresponding communication protocol is stored, so that when the terminal of the internet of things acquires the file data in the user identification card 20, the file data format corresponding to the stored communication protocol can be acquired, and therefore, the terminal of the internet of things only needs to acquire the corresponding file data without storing the rest of the file data, thereby reducing the waste of space.
According to another embodiment provided by the present invention, as shown in fig. 9 and 11, a system for reducing power consumption of an internet of things end user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
A mode request receiving unit 14, configured to receive a low power mode request.
When the terminal of the internet of things receives a low power consumption mode request, the communication control unit 11 controls the subscriber identity module card 20 to power off, and the terminal of the internet of things enters a low power consumption mode.
The internet of things terminal exits the low power consumption mode, and the control module 10 is further configured to change the state of the subscriber identity card 20 according to the current state.
In this embodiment, after the virtual subscriber identity module 20 is set in time, the terminal of the internet of things is still in a high-load operating state, and the subscriber identity module 20 is still in an operating state, so that the terminal of the internet of things still has the possibility of optimizing power consumption. Therefore, in order to further reduce the power consumption of the terminal of the internet of things, the terminal of the internet of things can enter a low power consumption mode to further reduce the power consumption of the terminal of the internet of things, and the standby time and the standby effect of the terminal of the internet of things are increased.
Specifically, the control module 10 further includes:
a request analysis unit 15, when the mode request receiving unit 14 receives a low power consumption mode request, the request analysis unit 15 analyzes whether there is a write request in the buffer 30.
When there is a write request in the buffer 30, the communication control unit 11 provides a clock signal to the subscriber identity card 20, and the internet of things terminal controls the subscriber identity card 20 to be in an active state.
The data storage unit is further configured to write the data in the buffer 30 into the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to power down.
When there is no write request in the buffer 30, the communication control unit 11 directly controls the subscriber identity card 20 to power down.
And the terminal of the Internet of things enters a low power consumption mode.
In an embodiment, the terminal of the internet of things can start executing a subsequent action when receiving the low power consumption mode request, and before receiving the low power consumption mode request, the terminal of the internet of things can detect whether the terminal of the internet of things receives any request, such as checking and writing of information, that is, a user does not actively turn on a screen to open the device of the internet of things to execute a corresponding request or a request for data communication between devices, that is, when the terminal of the internet of things does not receive an incoming call or a short message, if the state is maintained for a certain time, the maintained time can be changed according to a requirement, and the terminal of the internet of things does not receive any request, and the terminal of the internet of things can automatically initiate a request for entering the low power.
In order to ensure that the updated file data can be stored in the subscriber identity module 20 before the terminal of the internet of things enters the low power consumption mode, the terminal of the internet of things needs to determine whether a write request exists in the buffer 30 for determining whether the file data of the subscriber identity module 20 needs to be changed.
When the internet of things terminal detects that data needing to be written into the cache region 30 exists, the internet of things terminal provides a clock signal for the user identification card 20, controls the user identification card 20 to be in an activated state, can write the data in the cache region 30 into the user identification card 20, and then controls the user identification card 20 to be powered off, so that the possibility of data loss caused by accidental power failure of the internet of things terminal is reduced.
When the terminal of the internet of things detects that no write-in request exists in the cache region 30, it indicates that the file data in the user identification card 20 does not need to be changed, so that the terminal of the internet of things can directly control the user identification card 20 to be powered off, and the user identification card 20 can be powered off without other control operations.
After the subscriber identity module card 20 is powered off, the terminal of the internet of things enters a low power consumption mode, power consumption of the subscriber identity module card 20 to the terminal of the internet of things is further reduced, and standby time and standby effect of the terminal of the internet of things are increased.
Specifically, the control module 10 further includes:
and the awakening unit 16 is used for controlling the internet of things terminal to exit the low power consumption mode.
When the mode request receiving unit 14 does not detect the subscriber identity card 20 access request, the communication control unit 11 controls the subscriber identity card 20 to maintain the power-down state.
When the mode request receiving unit 14 detects an access request of the subscriber identity card 20, the communication control unit 11 powers on the subscriber identity card 20, provides a clock signal to the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to be in an activated state.
When the file data of the subscriber identity card 20 is not stored in the buffer 30, the data storage unit stores the file data of the subscriber identity card 20 in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
In this embodiment, when the terminal of the internet of things receives any request signal, for example, the information described in this embodiment is checked and written, that is, the user actively lights up the screen to open the device of the internet of things to execute a corresponding request, or a request for data communication between devices, that is, when the terminal of the internet of things receives an incoming call or a short message, the terminal of the internet of things may exit the low power consumption mode and enter the wake-up mode, but in the current state, only a part of modules of the terminal of the internet of things is woken up to execute a corresponding request response.
For example, when a user turns on a screen and checks a request such as a short message in a user identification card, the cache area 30 in the internet of things terminal still stores file data in the user identification card 20, and continues to serve as the virtual user identification card 20 to perform data interaction with the internet of things device, so that the internet of things device does not need to open the user identification card 20, keeps the power-off state of the user identification card 20, and accesses the cache area 30 to complete the requested action, the request of the user can be met in the power-off state of the user identification card 20, the power consumption of the internet of things device is reduced, and the standby time and standby effect of the internet of things device are increased.
When the terminal of the internet of things receives the network authentication, the cache area 30 as a virtual subscriber identity module card cannot complete the authentication algorithm, so the terminal of the internet of things still needs to power on the subscriber identity module card 20 and activate the subscriber identity module card 20.
In this embodiment, after the terminal of the internet of things is turned on, the user identification card 20 can be controlled to enter an idle state, and by setting the virtual user identification card 20, the possibility of data interaction between the user identification card 20 and the equipment of the internet of things is reduced, and the first power consumption optimization of the equipment of the internet of things is realized.
After the terminal of the internet of things receives the low power consumption mode request, the terminal enters the low power consumption mode, and the possibility of data interaction with the user identification card 20 is further reduced by powering off the user identification card 20 when the user identification card 20 does not need to be opened, so that the second power consumption optimization of the internet of things equipment is realized.
Meanwhile, when the internet of things equipment receives the request, the internet of things equipment can determine the state of the user identification card 20 after the user identification card 20 needs to be changed according to the type of the request and the current state of the user identification card, so that the possibility of data interaction with the user identification card 20 when the user identification card 20 does not need to be opened is further reduced, and the third power consumption optimization of the internet of things equipment is realized.
According to still another embodiment of the present invention, as shown in fig. 9 and 12, a system for reducing power consumption of an internet of things end user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
Preferably, the control module 10 further comprises:
a mode request receiving unit 14, configured to receive a low power mode request.
When the terminal of the internet of things receives a low power consumption mode request, the communication control unit 11 controls the subscriber identity module card 20 to power off, and the terminal of the internet of things enters a low power consumption mode.
The internet of things terminal exits the low power consumption mode, and the control module 10 is further configured to change the state of the subscriber identity card 20 according to the current state.
The control module 10 further comprises:
a read request receiving unit 171 is configured to receive a read request.
A read name obtaining unit 172, configured to obtain a data read name in the read request when the read request receiving unit 171 receives the read request.
A read name analyzing unit 173 for determining whether the data read name is contained in the buffer area 30.
When the cache area 30 contains the data reading name, the data unit 12 is configured to obtain file data corresponding to the data reading name from the cache area 30; when the data reading name is not contained in the buffer area 30, the data unit 12 obtains the request data corresponding to the data reading name from the subscriber identity card 20.
The data unit 12 is also used to store the requested data in the buffer 30 and to return the requested data.
Specifically, when the file name is not contained in the buffer 30, the communication control unit 11 analyzes whether the subscriber identity card 20 is powered on.
When the subscriber identity card 20 is not powered on, the communication control unit 11 powers on the subscriber identity card 20, provides a clock signal to the subscriber identity card 20, and controls the subscriber identity card 20 to be in an active state.
When the file data of the subscriber identity card 20 is not stored in the buffer 30, the data unit 12 stores the file data of the subscriber identity card 20 in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
When the subscriber identity card 20 is powered on, the communication control unit 11 provides a clock signal to the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to be in an activated state.
The data unit 12 obtains the request data corresponding to the file name from the subscriber identity card 20.
The reading request includes a data reading name that a user needs to read and data corresponding to the name, and each reading request can include one or more data reading request names. The reading request in this embodiment may be sent by an external terminal, may be generated by a user controlling an internet of things terminal, and may be automatically generated by the internet of things terminal according to a communication protocol.
Whether the data corresponding to the name is contained in the buffer area 30 is determined by checking whether the data read request name is contained in the buffer area 30, and thus, whether the interaction with the subscriber identity card 20 is required is determined.
When the data reading name exists in the cache region 30, it indicates that the terminal of the internet of things does not need to change the state of the subscriber identity module 20, the cache region 30 in the terminal of the internet of things can serve as the virtual subscriber identity module 20, the reading request of the user is met, and the terminal of the internet of things can return the data of the corresponding reading request.
In this embodiment, when the cache region 30 does not contain a data reading name, it is described that when the internet of things terminal stores the data in the user identification card 20 in the cache region 30, the data in the format is not stored in the cache region 30, so that the user identification card 20 needs to be in an activated state, and the internet of things terminal can directly read the data corresponding to the reading request from the user identification card 20, so as to meet the reading request of the user, and the user identification card 20 in this embodiment is only turned on in a process that the internet of things terminal needs to interact with the user identification card 20, and the rest states are kept in an idle state or a power-off state, thereby reducing unnecessary interaction with the internet of things terminal, and increasing the standby time and standby effect of the internet of things terminal.
Preferably, when the internet of things meets the reading request of the user, the user can also store the read data and the corresponding data reading name in the buffer area, when the user reads the data again, the user identification card 20 does not need to be opened again, and the internet of things terminal only needs to interact with the buffer area 30 to complete the access request, so that unnecessary interaction with the internet of things terminal is further reduced, and the standby time and the standby efficiency of the internet of things terminal are increased.
Since the subscriber identity card 20 exists in a plurality of states, i.e., an active state, an idle state, and a power-down state; the terminal of the internet of things can perform data interaction with the subscriber identity module 20 only in the activated state, so that the terminal of the internet of things needs to analyze the current state of the subscriber identity module 20 first, and judge whether the subscriber identity module 20 is in the power-off state or the idle state by judging whether the subscriber identity module 20 is powered on.
When the subscriber identity module 20 is not powered on, the subscriber identity module 20 is powered on and initialized, and the subscriber identity module 20 in the current state can directly enter an activated state, so that data interaction is performed with the internet of things terminal.
For the subscriber identity module 20 in the idle state, the terminal of the internet of things only needs to activate the subscriber identity module 20, and then performs data interaction with the terminal of the internet of things.
Therefore, in this embodiment, for the reading request of the user and when data interaction with the user identification card 20 is required, the terminal of the internet of things can perform different responses according to the current state of the user identification card 20, and perform accurate actions, thereby optimizing the activation process of the user identification card 20.
According to another embodiment provided by the present invention, as shown in fig. 9 and 13, a system for reducing power consumption of an internet of things end user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
The control module 10 further comprises:
a write request receiving module 181, configured to receive a write request.
A write name obtaining unit 182, configured to obtain a data write name in the write request when the write request receiving module 181 receives the write request.
A write name analyzing unit 183, configured to analyze whether the cache area 30 contains the data write name.
A creating unit 184, configured to create the data write name and a corresponding literal data structure in the buffer 30 when the buffer 30 does not contain the data write name, where the data unit 12 writes the write data corresponding to the data write name in the write request into the buffer 30.
When the file name is included in the buffer area 30, the data unit 12 writes the write data corresponding to the data write name in the write request into the buffer area 30.
A shutdown request receiving unit 191, configured to receive a shutdown request.
The write request analyzing unit 192 is configured to analyze whether the write request exists in the cache area 30 when the internet of things terminal receives a shutdown request.
When there is a write request in the buffer 30, the communication control unit 11 provides a clock signal to the subscriber identity card 20 and controls the subscriber identity card 20 to be in an active state.
The shutdown control unit 193, the data unit 12 writes the data in the cache area 30 into the subscriber identity module 20, and is configured to control the terminal of the internet of things to shutdown; when the data in the cache area 30 is not changed, the shutdown control unit 193 controls the internet of things terminal to directly shutdown.
In this embodiment, when the terminal of the internet of things receives the write request, the terminal of the internet of things can directly obtain the data write name in the write request because the buffer area can be already used as the virtual subscriber identity card 20.
Since the data is written into the cache region 30 without the participation of the user identification card 20, the terminal of the internet of things only needs to analyze whether a space for storing the write-in request already exists in the cache region 30, and only needs to analyze whether the cache region 30 contains the data write-in name or not, when the cache region 30 does not contain the data write-in name, the data name and the corresponding data format are established, and the data in the write-in request can be stored in the current state, so that the write-in request of the user is completed.
When a user needs to shut down or the Internet of things equipment needs to shut down under the condition of insufficient electric quantity, the Internet of things terminal can receive a shutdown request; the internet of things terminal starts to judge whether a write-in request exists in the cache area 30 or not so as to ensure that data in the subscriber identity module 20 is updated in time, and when the write-in request does not exist in the cache area 30, the subscriber identity module 20 does not need to be updated, and the internet of things equipment is directly powered off.
According to another embodiment provided by the present invention, as shown in fig. 9 to 13, a system for reducing power consumption of an internet of things terminal user identification card includes:
a control module 10, a subscriber identity card 20 and a buffer 30.
The control module 10 includes:
a communication control unit 11, configured to power on the subscriber identity card 20, provide a clock signal to the subscriber identity card 20, and control the subscriber identity card 20 to be in an activated state.
And a data unit 12 for storing the file data of the subscriber identity card 20 in the buffer 30 when the file data of the subscriber identity card 20 is not stored in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The communication control unit 11 is also configured to stop providing the clock signal to the subscriber identity card 20 and control the subscriber identity card 20 to be in an idle state.
The control module 10 further comprises:
a number reading unit 131 for reading the identification number of the subscriber identity card 20.
A number analyzing unit 132, configured to analyze whether the identification number is consistent with the storage identification number of the cache area 30.
When the identification number coincides with the stored identification number of the buffer area 30, the number analysis unit 132 determines that the file data of the subscriber identification card 20 is stored in the buffer area 30.
When the identification number is not identical to the stored identification number of the buffer area 30, the number analysis determines that the file data of the subscriber identification card 20 is not stored in the buffer area 30.
The data unit 12 is configured to read file data in a preset format from the subscriber identity card 20, store the file data in the preset format in the buffer 30, and replace the stored identification number with the identification number.
The control module 10 further comprises:
a mode request receiving unit 14, configured to receive a low power mode request.
When the terminal of the internet of things receives a low power consumption mode request, the communication control unit 11 controls the subscriber identity module card 20 to power off, and the terminal of the internet of things enters a low power consumption mode.
The internet of things terminal exits the low power consumption mode, and the control module 10 is further configured to change the state of the subscriber identity card 20 according to the current state.
The control module 10 further comprises:
a request analysis unit 15, when the mode request receiving unit 14 receives a low power consumption mode request, the request analysis unit 15 analyzes whether there is a write request in the buffer 30.
When there is a write request in the buffer 30, the communication control unit 11 provides a clock signal to the subscriber identity card 20, and the internet of things terminal controls the subscriber identity card 20 to be in an active state.
The data storage unit is further configured to write the data in the buffer 30 into the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to power down.
When there is no write request in the buffer 30, the communication control unit 11 directly controls the subscriber identity card 20 to power down.
And the terminal of the Internet of things enters a low power consumption mode.
The control module 10 further comprises:
and the awakening unit 16 is used for controlling the internet of things terminal to exit the low power consumption mode.
When the mode request receiving unit 14 does not detect the subscriber identity card 20 access request, the communication control unit 11 controls the subscriber identity card 20 to maintain the power-down state.
When the mode request receiving unit 14 detects an access request of the subscriber identity card 20, the communication control unit 11 powers on the subscriber identity card 20, provides a clock signal to the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to be in an activated state.
When the file data of the subscriber identity card 20 is not stored in the buffer 30, the data storage unit stores the file data of the subscriber identity card 20 in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
The control module 10 further comprises:
a read request receiving unit 171 is configured to receive a read request.
A read name obtaining unit 172, configured to obtain a data read name in the read request when the read request receiving unit 171 receives the read request.
A read name analyzing unit 173 for determining whether the data read name is contained in the buffer area 30.
When the cache area 30 contains the data reading name, the data unit 12 is configured to obtain file data corresponding to the data reading name from the cache area 30; when the data reading name is not contained in the buffer area 30, the data unit 12 obtains the request data corresponding to the data reading name from the subscriber identity card 20.
The data unit 12 is also used to store the requested data in the buffer 30 and to return the requested data.
When the file name is not contained in the buffer 30, the communication control unit 11 analyzes whether the subscriber identity card 20 is powered on.
When the subscriber identity card 20 is not powered on, the communication control unit 11 powers on the subscriber identity card 20, provides a clock signal to the subscriber identity card 20, and controls the subscriber identity card 20 to be in an active state.
When the file data of the subscriber identity card 20 is not stored in the buffer 30, the data unit 12 stores the file data of the subscriber identity card 20 in the buffer 30.
When the file data of the subscriber identity card 20 is stored in the buffer 30, the initialization of the subscriber identity card 20 is completed.
When the subscriber identity card 20 is powered on, the communication control unit 11 provides a clock signal to the subscriber identity card 20, and the communication control unit 11 controls the subscriber identity card 20 to be in an activated state.
The data unit 12 obtains the request data corresponding to the file name from the subscriber identity card 20.
A write request receiving module 181, configured to receive a write request.
A write name obtaining unit 182, configured to obtain a data write name in the write request when the write request receiving module 181 receives the write request.
A write name analyzing unit 183, configured to analyze whether the cache area 30 contains the data write name.
A creating unit 184, configured to create the data write name and a corresponding literal data structure in the buffer 30 when the buffer 30 does not contain the data write name, where the data unit 12 writes the write data corresponding to the data write name in the write request into the buffer 30.
When the file name is included in the buffer area 30, the data unit 12 writes the write data corresponding to the data write name in the write request into the buffer area 30.
A shutdown request receiving unit 191, configured to receive a shutdown request.
The write request analyzing unit 192 is configured to analyze whether the write request exists in the cache area 30 when the internet of things terminal receives a shutdown request.
When there is a write request in the buffer 30, the communication control unit 11 provides a clock signal to the subscriber identity card 20 and controls the subscriber identity card 20 to be in an active state.
The shutdown control unit 193, the data unit 12 writes the data in the cache area 30 into the subscriber identity module 20, and is configured to control the terminal of the internet of things to shutdown; when the data in the cache area 30 is not changed, the shutdown control unit 193 controls the internet of things terminal to directly shutdown.
Through the setting of the embodiment, the power-on activation of the user identification card 20 when the terminal of the internet of things is started can be realized, the virtual user identification card 20 is set, the user identification card 20 enters an idle state, and the device of the internet of things enters a low power consumption mode and exits the low power consumption mode. The embodiment also discloses action states of the internet of things equipment in an idle state and a low power consumption mode after receiving the read request and the write request, and actions of the internet of things terminal when receiving the shutdown signal.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (14)
1. A method for reducing power consumption of an Internet of things terminal user identification card is characterized by comprising the following steps:
the method comprises the steps that an Internet of things terminal powers on a user identification card and provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state;
when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region;
when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed;
the terminal of the internet of things stops providing clock signals to the user identification card, and the terminal of the internet of things controls the user identification card to be in an idle state;
when the terminal of the Internet of things receives a low-power-consumption mode request, the terminal of the Internet of things controls the subscriber identity module to power off, and the terminal of the Internet of things enters a low-power-consumption mode;
the terminal of the Internet of things exits from a low power consumption mode, and changes the state of the user identification card according to the current state;
wherein: when the internet of things terminal receives a low power consumption mode request, the internet of things terminal controls the subscriber identity module card to power off, and the internet of things terminal entering the low power consumption mode specifically comprises the following steps:
when the Internet of things terminal receives a low-power-consumption mode request, the Internet of things terminal analyzes whether a write-in request exists in the cache region;
when a write request exists in the cache region, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state;
the Internet of things terminal writes the data in the cache area into the user identification card, and controls the power-off of the user identification card;
when the write-in request does not exist in the cache region, the terminal of the Internet of things directly controls the power-off of the user identification card;
and the terminal of the Internet of things enters a low power consumption mode.
2. The method for reducing power consumption of the internet of things terminal user identification card according to claim 1, wherein when the file data of the user identification card is not stored in the buffer, the storing of the file data of the user identification card in the buffer by the internet of things terminal comprises:
the Internet of things terminal reads the identification number of the user identification card;
the Internet of things terminal analyzes whether the identification number is consistent with the storage identification number of the cache region or not;
when the identification number is consistent with the storage identification number of the cache region, the internet of things terminal determines that the file data of the user identification card is stored in the cache region;
when the identification number is not consistent with the storage identification number of the cache region, the internet of things terminal determines that the file data of the user identification card is not stored in the cache region;
the Internet of things terminal reads file data in a preset format from the user identification card;
and the Internet of things terminal stores the file data in a preset format in the cache region and replaces the storage identification number with the identification number.
3. The method of claim 1, wherein the exiting of the low power consumption mode by the internet of things terminal and the changing of the state of the subscriber identity card according to the current state specifically comprise:
the terminal of the Internet of things exits from a low power consumption mode;
when the terminal of the Internet of things does not detect the access request of the user identification card, the terminal of the Internet of things controls the user identification card to keep a power-off state;
when the terminal of the internet of things detects an access request of a user identification card, the terminal of the internet of things powers on the user identification card and provides a clock signal to the user identification card, and the terminal of the internet of things controls the user identification card to be in an activated state;
when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region;
and when the file data of the user identification card is stored in the cache region, the initialization of the user identification card is completed.
4. The method of claim 1, wherein the method for reducing power consumption of the internet of things terminal subscriber identity card comprises the steps of stopping providing a clock signal to the subscriber identity card, and after the internet of things terminal controls the subscriber identity card to be in an idle state, the method further comprises:
when the Internet of things terminal receives a reading request, the Internet of things terminal acquires a data reading name in the reading request;
the Internet of things terminal analyzes whether the cache region contains the data reading name or not;
when the cache region contains the data reading name, the internet of things terminal acquires file data corresponding to the data reading name from the cache region;
when the cache region does not contain the data reading name, the internet of things terminal acquires request data corresponding to the data reading name from the user identification card;
the Internet of things terminal stores the request data in the cache region;
and the Internet of things terminal returns the requested data.
5. The method according to claim 4, wherein when the cache region does not contain the data reading name, the obtaining, by the terminal of the internet of things, the request data corresponding to the data reading name from the subscriber identity card specifically includes:
when the cache region does not contain the file name, the Internet of things terminal analyzes whether the user identification card is powered on or not;
when the user identification card is not powered on, the Internet of things terminal powers on the user identification card and provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state;
when the file data of the user identification card is not stored in the cache region, the Internet of things terminal stores the file data of the user identification card in the cache region;
when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed;
when the user identification card is powered on, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state;
and the Internet of things terminal acquires the request data corresponding to the file name from the user identification card.
6. The method of claim 1, wherein the method for reducing power consumption of the internet of things terminal subscriber identity card comprises the steps of stopping providing a clock signal to the subscriber identity card, and after the internet of things terminal controls the subscriber identity card to be in an idle state, the method further comprises:
when the terminal of the Internet of things receives a write-in request, the terminal of the Internet of things acquires a data write-in name in the write-in request;
the Internet of things terminal analyzes whether the cache region contains the data writing name or not;
when the cache region does not contain the data writing name, the Internet of things terminal creates the data writing name and a data structure corresponding to the data writing name in the cache region, and writes the writing data corresponding to the data writing name in the writing request into the cache region;
and when the cache region contains file names, the Internet of things terminal writes the write-in request into the cache region.
7. The method of claim 6, wherein the method for reducing the power consumption of the IOT terminal subscriber identity card comprises the steps of stopping providing a clock signal to the subscriber identity card, and after the IOT terminal controls the subscriber identity card to be in an idle state, the method further comprises the following steps:
when the Internet of things terminal receives a shutdown request, the Internet of things terminal analyzes whether the write-in request exists in the cache region;
when a write request exists in the cache region, the Internet of things terminal provides a clock signal to the user identification card, and the Internet of things terminal controls the user identification card to be in an activated state;
the Internet of things terminal writes the data in the cache area into the user identification card, and the Internet of things terminal is powered off;
and when the write-in request does not exist in the cache region, the terminal of the Internet of things is directly powered off.
8. The utility model provides a system for reduce thing networking end user identification card power consumption which characterized in that includes:
the system comprises a control module, a user identification card and a cache region;
the control module includes:
the communication control unit is used for electrifying the user identification card, providing a clock signal for the user identification card and controlling the user identification card to be in an activated state;
the data unit is used for storing the file data of the user identification card in the cache region when the file data of the user identification card is not stored in the cache region;
when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed;
the communication control unit is also used for stopping providing a clock signal for the user identification card and controlling the user identification card to be in an idle state;
a mode request receiving unit for receiving a low power consumption mode request;
when the Internet of things terminal receives a low-power-consumption mode request, the communication control unit controls the subscriber identity module card to power off, and the Internet of things terminal enters a low-power-consumption mode
The Internet of things terminal exits from the low power consumption mode, and the control module is further used for changing the state of the user identification card according to the current state;
a request analysis unit, which analyzes whether a write request exists in the cache region when the mode request receiving unit receives a low power consumption mode request;
when a write request exists in the cache region, the communication control unit provides a clock signal to the user identification card, and the internet of things terminal controls the user identification card to be in an activated state;
the data storage unit is also used for writing the data in the cache area into the user identification card, and the communication control unit controls the power-off of the user identification card;
when the write-in request does not exist in the cache region, the communication control unit directly controls the power-off of the user identification card;
and the terminal of the Internet of things enters a low power consumption mode.
9. The system for reducing power consumption of an internet of things end user identification card of claim 8, wherein the control module further comprises:
a number reading unit for reading the identification number of the subscriber identity card;
the number analysis unit is used for analyzing whether the identification number is consistent with the storage identification number of the cache region or not;
when the identification number is consistent with the storage identification number of the cache region, the number analysis unit determines that the file data of the user identification card is stored in the cache region;
when the identification number is not consistent with the storage identification number of the cache region, the number analysis determines that the file data of the user identification card is not stored in the cache region;
the data unit is used for reading file data in a preset format from the user identification card, storing the file data in the preset format in the cache region, and replacing the storage identification number with the identification number.
10. The system for reducing power consumption of an internet of things end user identification card of claim 8, wherein the control module further comprises:
the awakening unit is used for controlling the Internet of things terminal to exit a low power consumption mode;
when the mode request receiving unit does not detect a subscriber identity card access request, the communication control unit controls the subscriber identity card to keep a power-down state;
when the mode request receiving unit detects an access request of a user identification card, the communication control unit powers on the user identification card and provides a clock signal for the user identification card, and the communication control unit controls the user identification card to be in an activated state;
when the file data of the user identification card is not stored in the cache region, the data storage unit stores the file data of the user identification card in the cache region;
and when the file data of the user identification card is stored in the cache region, the initialization of the user identification card is completed.
11. The system for reducing power consumption of an internet of things end user identification card of claim 8, wherein the control module further comprises:
a read request receiving unit for receiving a read request;
a reading name obtaining unit, configured to obtain a data reading name in the reading request when the reading request receiving unit receives the reading request;
a read name analysis unit, configured to analyze whether the cache area contains the data read name;
when the cache region contains the data reading name, the data unit is used for acquiring file data corresponding to the data reading name from the cache region; when the cache region does not contain the data reading name, the data unit acquires request data corresponding to the data reading name from the user identification card;
the data unit is further configured to store the requested data in the cache region, and to return the requested data.
12. The system for reducing the power consumption of the internet of things end user identification card according to claim 8, wherein:
when the cache region does not contain the file name, the communication control unit analyzes whether the user identification card is powered on or not;
when the user identification card is not powered on, the communication control unit powers on the user identification card, provides a clock signal for the user identification card and controls the user identification card to be in an activated state;
when the file data of the user identification card is not stored in the cache region, the data unit stores the file data of the user identification card in the cache region;
when the file data of the user identification card is stored in a cache region, the initialization of the user identification card is completed;
when the user identification card is powered on, the communication control unit provides a clock signal to the user identification card, and the communication control unit controls the user identification card to be in an activated state;
and the data unit acquires the request data corresponding to the file name from the user identification card.
13. The system for reducing power consumption of an internet of things end user identification card of claim 8, wherein the control module further comprises:
a write request receiving module, configured to receive a write request;
a write name obtaining unit, configured to obtain a data write name in a write request when the write request receiving module receives the write request;
a write name analyzing unit, configured to analyze whether the cache area contains the data write name;
a creating unit, configured to create the data write name and a data structure corresponding to the data write name in the cache region when the cache region does not contain the data write name, where the data unit writes write data corresponding to the data write name in the write request in the cache region;
and when the cache region contains a file name, the data unit writes the write-in data corresponding to the data write-in name in the write-in request into the cache region.
14. The system for reducing power consumption of an internet of things end user identification card of claim 13, wherein the control module further comprises:
a shutdown request receiving unit, configured to receive a shutdown request;
the write-in request analysis unit is used for analyzing whether the write-in request exists in the cache region or not when the Internet of things terminal receives a shutdown request;
when a write request exists in the cache region, the communication control unit provides a clock signal to the user identification card and controls the user identification card to be in an activated state;
the data unit writes the data in the cache area into the subscriber identity module card and is used for controlling the Internet of things terminal to be powered off; and when the write-in request does not exist in the cache region, the shutdown control unit controls the Internet of things terminal to be directly shut down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142555.4A CN109283995B (en) | 2018-09-28 | 2018-09-28 | Method and system for reducing power consumption of terminal user identification card of Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811142555.4A CN109283995B (en) | 2018-09-28 | 2018-09-28 | Method and system for reducing power consumption of terminal user identification card of Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109283995A CN109283995A (en) | 2019-01-29 |
CN109283995B true CN109283995B (en) | 2020-04-28 |
Family
ID=65182506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811142555.4A Active CN109283995B (en) | 2018-09-28 | 2018-09-28 | Method and system for reducing power consumption of terminal user identification card of Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109283995B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110568921B (en) * | 2019-09-09 | 2021-11-30 | 大唐半导体科技有限公司 | Method for reducing chip power consumption |
CN111800848B (en) * | 2020-07-02 | 2021-09-10 | 恒宝股份有限公司 | Smart card control method and device, terminal equipment and readable storage medium |
CN111935804A (en) * | 2020-07-31 | 2020-11-13 | 武汉天喻信息产业股份有限公司 | Machine card dormancy method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE60220506T2 (en) * | 2001-02-27 | 2008-02-07 | Qualcomm, Inc., San Diego | PERFORMANCE CONTROL FOR PARTICIPANT IDENTITY MODULE |
CN100589067C (en) * | 2005-09-05 | 2010-02-10 | 中兴通讯股份有限公司 | Interface device for SIM card and USIM card |
CN102402698B (en) * | 2010-09-08 | 2016-08-03 | 中兴通讯股份有限公司 | A kind of method and device reducing the erasable number of operations of Subscriber Identity Module file |
WO2016015401A1 (en) * | 2014-08-01 | 2016-02-04 | 深圳市中兴微电子技术有限公司 | Initialization method and apparatus, mobile terminal and computer storage medium |
CN105930100B (en) * | 2016-04-15 | 2019-01-29 | 烽火通信科技股份有限公司 | A kind of implementation method optimizing usim card file read-write speed and frequency |
-
2018
- 2018-09-28 CN CN201811142555.4A patent/CN109283995B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109283995A (en) | 2019-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101610300B (en) | Method and device for controlling backlight of mobile terminal | |
CN109283995B (en) | Method and system for reducing power consumption of terminal user identification card of Internet of things | |
US20130046967A1 (en) | Proactive Power Management Using a Power Management Unit | |
CN109151961B (en) | Operation method of mobile terminal, terminal and computer readable storage medium | |
US20110307727A1 (en) | Computer with Built-in Wireless Module and Standby and Activate Method Thereof | |
CN102402454B (en) | Method for regulating memory operation frequency and electronic device | |
CN110505679B (en) | Power consumption control method and device of communication terminal and storage medium | |
CN102667668A (en) | Dynamic low power mode implementation for computing devices | |
CN101185048B (en) | Portable electronic terminal and method therefor. | |
US8346306B2 (en) | SIM-card suspend control apparatus, SIM-card suspend control method, and information processing apparatus | |
CN103838352A (en) | Low-power states for a computer system with integrated baseband | |
CN108040292A (en) | Television standby starting-up method, TV and computer-readable recording medium | |
US11960738B2 (en) | Volatile memory to non-volatile memory interface for power management | |
CN107491160A (en) | A kind of application method of dual operating systems, storage device and intelligent terminal | |
CN104219746B (en) | Method, device and terminal for autonomously adjusting wake-up time | |
CN107168798A (en) | A kind of device sleeps method and device, device sleeps awakening method and device | |
CN114839909A (en) | Low-power-consumption control system and interaction method in low-power-consumption control system | |
CN101527751A (en) | Method for recording mobile phone information and mobile phone | |
CN115220557A (en) | Power-on system, power-on method, readable storage medium and electronic device | |
CN109765986A (en) | Power-saving control method, terminal device and computer readable storage medium | |
CN100527725C (en) | Method for regulating power consuming of network interface | |
CN106020416B (en) | Screen display method, device and smart machine | |
CN113771780A (en) | Method for TBOX to enter enhanced networking dormancy and TBOX | |
CN102930881B (en) | A kind of Blu-ray player and control method thereof | |
CN113370826A (en) | Charging pile control method and device and charging system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Room 707, 709, and 710, 7th floor, Building 1, No. 298 Xiangke Road, China (Shanghai) Pilot Free Trade Zone, Pudong New Area, Shanghai, 201210 Patentee after: Shanghai Mobile Core Communication Technology Co.,Ltd. Address before: Room 603-a, 6 / F, block a, building 1, No. 800, Naxian Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201203 Patentee before: SHANGHAI EIGENCOMM COMMUNICATION TECHNOLOGY Co.,Ltd. |