CN111597092B - Synchronous transmission method and device of nonvolatile storage file and embedded equipment - Google Patents

Synchronous transmission method and device of nonvolatile storage file and embedded equipment Download PDF

Info

Publication number
CN111597092B
CN111597092B CN202010727469.0A CN202010727469A CN111597092B CN 111597092 B CN111597092 B CN 111597092B CN 202010727469 A CN202010727469 A CN 202010727469A CN 111597092 B CN111597092 B CN 111597092B
Authority
CN
China
Prior art keywords
storage file
state
nonvolatile storage
radio resource
synchronous transmission
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
Application number
CN202010727469.0A
Other languages
Chinese (zh)
Other versions
CN111597092A (en
Inventor
翁逍克
兰浩
周志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ASR Microelectronics Co Ltd
Original Assignee
ASR Microelectronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ASR Microelectronics Co Ltd filed Critical ASR Microelectronics Co Ltd
Priority to CN202010727469.0A priority Critical patent/CN111597092B/en
Publication of CN111597092A publication Critical patent/CN111597092A/en
Application granted granted Critical
Publication of CN111597092B publication Critical patent/CN111597092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3013Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is an embedded system, i.e. a combination of hardware and software dedicated to perform a certain function in mobile devices, printers, automotive or aircraft systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the disclosure provides a synchronous transmission method and device of a nonvolatile storage file and an embedded device, and belongs to the technical field of embedding. The method comprises the following steps: monitoring whether a radio resource controller of the embedded device enters an idle state from a connected state; and immediately executing synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connection state. In the synchronous transmission scheme of the nonvolatile storage file provided by this embodiment, when the radio resource controller changes from the link state to the idle state, the node performs a synchronous transmission operation of the nonvolatile storage file, so as to concentrate the effective tasks in continuous time slices as much as possible, and relatively reduce the number of times that the main chip is awakened by the tasks, thereby achieving the purpose of saving power consumption.

Description

Synchronous transmission method and device of nonvolatile storage file and embedded equipment
Technical Field
The present disclosure relates to the field of embedded technologies, and in particular, to a method and an apparatus for synchronously transmitting a nonvolatile storage file, and an embedded device.
Background
In a 4G network, a Radio Resource controller (RRC for short) is present in an embedded device, and is configured to allocate Radio resources and send related signaling, where a main part of Control signaling between a UE and a UTRAN is an RRC message, and the RRC message carries all parameters required for establishing, modifying, and releasing a mac layer and a physical layer protocol entity, and also carries some signaling of an NAS (non-access stratum), such as MM, CM, SM, and the like.
Since the power supply capacity of the mobile device is a key factor affecting the use of the device, and the device is not transmitting data all the time, it will certainly consume a large amount of power if the device is always in a high-power connection state, and a mechanism is needed to regulate the state of the device to save power. The power supply is in a high-power state when data are transmitted, and is in an idle state when data are not transmitted, so that the power of equipment can be well saved. This mechanism is the RRC state machine, which is implemented differently in different network standards. LTE-RRC state machine: the 3GPP standard defines a complete state machine that describes the power state of each device connected to the network.
RRC is idle: the radio module of the device is in a low power state (< 15 mW) listening only for control signals from the network. Clients in the operator network have no radio resources.
RRC connection: the radio module of the device is in a high resolution state (1000-. The operator network specifies the data bearer and also allocates dedicated radio resources.
Non-Volatile Memory (NVM), which refers to system files that need to be stored on a Non-Volatile physical storage medium, can be saved after power supply is removed, and is accepted when the next power supply system operates again, is an embedded common file use storage form.
The embedded RTOS is sensitive to power consumption in design, and the RRC state of 4G mainly receives and transmits network data, and has a high probability of modifying file related data and a high probability of refreshing NVM-files. These tasks wake up the main chip multiple times, increasing power consumption.
Therefore, the existing nonvolatile storage file has the technical problem of increasing power consumption.
Disclosure of Invention
In view of this, embodiments of the present disclosure provide a method and an apparatus for synchronously transmitting a nonvolatile storage file, and an embedded device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides a synchronous transmission method for a nonvolatile storage file, which is applied to an embedded device, and the method includes:
monitoring whether a radio resource controller of the embedded device enters an idle state from a connected state;
and immediately executing synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connection state.
According to a specific implementation manner of the embodiment of the present disclosure, the step of immediately performing a synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connected state includes:
when the radio resource controller enters an idle state from a connection state, judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment;
if the synchronous transmission action is required to be executed on the nonvolatile storage file in the embedded equipment, immediately executing the synchronous transmission action on the nonvolatile storage file;
and if the synchronous transmission action of the nonvolatile storage file in the embedded equipment is not required, directly entering an idle state.
According to a specific implementation manner of the embodiment of the present disclosure, before the step of monitoring whether the radio resource controller of the embedded device enters the idle state from the connected state, the method further includes:
setting the radio resource controller from a connected state to an idle state as a trigger condition for the nonvolatile storage file to execute a synchronous transmission action.
According to a specific implementation manner of the embodiment of the present disclosure, the step of performing the synchronous transmission action on the nonvolatile storage file includes:
loading the nonvolatile storage file from a nonvolatile memory of the embedded device to a cache region;
and when the idle state of the embedded equipment is finished, synchronously updating the nonvolatile storage file in the cache region into the nonvolatile memory.
According to a specific implementation manner of the embodiment of the present disclosure, after the step of performing the synchronous transmission action on the nonvolatile storage file immediately when the radio resource controller enters the idle state from the connected state, the method further includes:
after the radio resource controller enters an idle state, scheduling tasks are executed according to scheduling instructions.
According to a specific implementation manner of the embodiment of the present disclosure, the method further includes:
and state transition delay exists among the state that the radio resource controller enters an idle state after the synchronous transmission action of the nonvolatile storage file is executed, the state that the radio resource controller enters a scheduling task execution state from the idle state, the state that the radio resource controller enters the idle state after the scheduling task is executed and the state that the radio resource controller enters the connection state from the idle state.
According to a specific implementation manner of the embodiment of the present disclosure, the method further includes:
and calculating the period of the embedded equipment entering the low power consumption state of the system as the total system time slice of the embedded equipment minus the time of the radio resource controller in the connection state, the time of executing synchronous transmission on the nonvolatile storage file, the time of executing a scheduling task and the time after state transition delay.
In a second aspect, an embodiment of the present disclosure provides an apparatus for synchronously transmitting a nonvolatile storage file, which is applied to an embedded device, and the apparatus includes:
the monitoring module is used for monitoring whether the radio resource controller of the embedded equipment enters an idle state from a connection state;
and the synchronization module is used for immediately executing the synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connection state.
According to a specific implementation manner of the embodiment of the present disclosure, the synchronization module includes:
the judging submodule is used for judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment or not when the radio resource controller enters an idle state from a connection state;
the execution sub-module is used for immediately executing the synchronous transmission action on the nonvolatile storage file if the synchronous transmission action needs to be executed on the nonvolatile storage file in the embedded equipment;
and if the synchronous transmission action of the nonvolatile storage file in the embedded equipment is not required, directly entering an idle state.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for synchronized transfer of non-volatile storage files of the first aspect or any implementation manner of the first aspect.
In a fourth aspect, the disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for synchronously transmitting a non-volatile storage file in the foregoing first aspect or any implementation manner of the first aspect.
In a fifth aspect, the present disclosure also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is caused to execute the method for synchronously transmitting a non-volatile storage file in the foregoing first aspect or any implementation manner of the first aspect.
The synchronous transmission scheme of the nonvolatile storage file in the embodiment of the disclosure is applied to embedded equipment, wherein the method comprises the following steps: monitoring whether a radio resource controller of the embedded device enters an idle state from a connected state; and immediately executing synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connection state. In the synchronous transmission scheme of the nonvolatile storage file provided by this embodiment, when the radio resource controller changes from the connected state to the idle state, the node performs a synchronous transmission operation of the nonvolatile storage file, so as to concentrate effective tasks in continuous time slices as much as possible, and relatively reduce the number of times that the main chip is awakened by the tasks, thereby achieving the purpose of saving power consumption.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a synchronous transmission method for a non-volatile storage file according to an embodiment of the present disclosure;
FIG. 2 is a partial flowchart of another method for synchronously transferring a non-volatile storage file according to an embodiment of the present disclosure;
fig. 3 and fig. 4 are schematic diagrams of system status time slices involved in a synchronous transmission method of a nonvolatile storage file according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a synchronous transmission apparatus for non-volatile storage files according to an embodiment of the present disclosure;
fig. 6 is a schematic view of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Referring to fig. 1, a schematic flowchart of a method for synchronously transmitting a nonvolatile storage file according to an embodiment of the present disclosure is shown, where the method is applied to an embedded device. As shown in fig. 1, the method mainly comprises the following steps:
s101, monitoring whether a radio resource controller of the embedded equipment enters an idle state from a connection state;
the synchronous transmission method of the nonvolatile storage file provided by the embodiment of the disclosure is applied to a synchronization strategy of a radio resource controller between state switching. Specifically, the radio resource controller has 2 states, namely an idle state and a connected state. When the embedded device is in an idle state, it cannot send or receive any data. To transmit data, it is necessary to synchronize with the network by listening to the network and then send a request to the RRC to switch it to the "connected" state. After the wireless signal tower is switched to the connection state, the network environment between the wireless signal tower and the LTE equipment is ready and can transmit data at any time. However, if one of the communicating parties finishes the data transmission, the RRC needs to determine when to switch the device to a low power state. The RRC state machine relies on a set of timers to trigger RRC state switching. Since the power required for the connection state is high, to do the operation more efficiently, there are several sub-states:
continuously receiving: highest power, network environment ready, allocated network resources.
Short discontinuous reception (short DRX): the network environment is ready and no network resources are allocated.
Long discontinuous reception (long DRX): the network environment is ready and no network resources are allocated.
The only difference between long DRX and short DRX is that the sleep time before waking up is different, all else being the same.
In order to handle the task centrally, it is necessary to monitor whether the radio resource controller has entered an idle state from a connected state.
In specific implementation, according to a specific implementation manner of the embodiment of the present disclosure, before the step of monitoring whether the radio resource controller of the embedded device enters the idle state from the connected state, the method may further include:
setting the radio resource controller from a connected state to an idle state as a trigger condition for the nonvolatile storage file to execute a synchronous transmission action.
In this embodiment, the connection RRC _ CONNECT state of the radio resource controller is completed to enter the IDLE RRC _ IDLE state of the radio resource controller, which is used as a trigger condition for the NVM _ Sync synchronization entry procedure for non-volatile storage.
S102, when the radio resource controller enters an idle state from a connection state, a synchronous transmission action is immediately executed on the nonvolatile storage file.
And triggering a non-volatile storage file synchronization program when the radio resource controller RRC is monitored to enter an idle state from a connected state, and immediately executing a synchronous transmission action on the non-volatile storage file.
According to a specific implementation manner of the embodiment of the present disclosure, as shown in fig. 2, the step of immediately performing a synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connected state includes:
s201, when the radio resource controller enters an idle state from a connection state, judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment;
if the synchronous transmission action is required to be executed on the nonvolatile storage file in the embedded device, S202 is executed, and the synchronous transmission action is immediately executed on the nonvolatile storage file;
and if the synchronous transmission action does not need to be executed on the nonvolatile storage file in the embedded device, executing S203 and directly entering an idle state.
In this embodiment, it is considered that when the RRC state mainly receives and sends network data, there is a need to modify and store file-related data with a high probability or refresh the non-volatile storage files NVM-files, but there is also a need for synchronization tasks such as modification and refresh, so that a determination process of synchronization requirements is increased.
As shown in fig. 2, when the radio resource controller enters the idle state from the connected state, it is first determined whether a synchronous transmission action needs to be performed on the non-volatile storage file of the embedded device. If the synchronous transmission action needs to be executed, as shown in fig. 3, the synchronous transmission action is immediately executed on the nonvolatile storage file; otherwise, if the synchronous transmission action is not required to be executed, the idle state can be directly entered.
In the synchronous transmission scheme of the nonvolatile storage file provided by the embodiment, when the radio resource controller is switched from the connection state to the idle state, the node performs a synchronous transmission action of the nonvolatile storage file once, so that effective tasks are concentrated in continuous time slices as much as possible, and the number of times that the main chip is awakened by the tasks is relatively reduced, thereby achieving the purpose of saving power consumption.
On the basis of the above embodiments, the embodiments of the present disclosure further specifically limit the synchronous transmission execution process. According to a specific implementation manner of the embodiment of the present disclosure, the step of performing the synchronous transmission action on the nonvolatile storage file may include:
loading the nonvolatile storage file from a nonvolatile memory of the embedded device to a cache region;
and when the idle state of the embedded equipment is finished, synchronously updating the nonvolatile storage file in the cache region into the nonvolatile memory.
The NVM physical media are external device attributes, read-write access needs to be matched with software drive of the external device, and the read-write access efficiency is relatively low, so that a layer of cache is additionally introduced between a processor and the external NVM media in a general embedded system, the physical attributes of the cache have high-efficiency access read-write attributes, but generally have volatile attributes, namely the cache can be cleared when power failure occurs.
The connection of the NVM-files after the physical synchronization and the power supply of the peripheral equipment is ensured through the following two actions:
1) and loading the NVM-files into the cache area from the peripheral physical medium when the system runs.
2) And synchronously updating the NVM-files in the cache area to a peripheral physical storage medium in the system operation period.
The synchronous data transmission process comprises the following steps: the data is carried from the cache to the physical peripheral for storage, so that the data can be guaranteed not to be lost as far as possible, the data can be effectively carried in the next starting, and the actual physical peripheral and a driver program accessed by the cache can be combined in the period.
As shown in fig. 3 and 4, under the condition of software scheduling permission, the transmission task in the RRC _ CONNECT state and the NVM _ Sync task are processed as intensively as possible, so as to concentrate more time slices in the system idle state, and to enter low power consumption more easily.
Furthermore, according to another specific implementation manner of the embodiment of the present disclosure, after the step of performing the synchronous transmission action on the nonvolatile storage file immediately when the radio resource controller enters the idle state from the connected state, the method further includes:
after the radio resource controller enters an idle state, scheduling tasks are executed according to scheduling instructions.
According to a specific implementation manner of the embodiment of the present disclosure, the method further includes:
and state transition delay exists among the state that the radio resource controller enters an idle state after the synchronous transmission action of the nonvolatile storage file is executed, the state that the radio resource controller enters a scheduling task execution state from the idle state, the state that the radio resource controller enters the idle state after the scheduling task is executed and the state that the radio resource controller enters the connection state from the idle state.
The power required for the connection state is high and there are several sub-states in order to accomplish the operation more efficiently. As shown in fig. 4, there is a state transition delay in switching between adjacent states.
In addition, when the system low power consumption time marking is carried out, the method can further comprise the following steps:
and calculating the period of the embedded equipment entering the low power consumption state of the system as the total system time slice of the embedded equipment minus the time of the radio resource controller in the connection state, the time of executing synchronous transmission on the nonvolatile storage file, the time of executing a scheduling task and the time after state transition delay.
As shown in fig. 4, the overall system enters a fully low power consumption state in cooperation with the processing of other Task tasks, where:
first row: is a time slice diagram of the processing of NVM _ Sync and RRC states.
A second row: the scheduling process is illustrated for the other task T0/T1/T2/T3, where the gray background is the task IDLE state, i.e., only IDLE tasks.
Third row: marking the whole system to meet the period of entering the low power consumption state of the system, namely the system total time slice, and subtracting the distributed time after the RRC _ CONNECT/NVM _ Sync and TASK scheduling and the time of state transition delay, wherein the distributed time is marked by L in figure 4.
In summary, the method provided by the embodiment of the present disclosure is directed to a situation that there is network data interaction in an RRC state, and there is a high possibility that file contents at a device end need to be recorded and rewritten, which results in a need to refresh an NVM file to a non-volatile storage. The NVM _ Sync entry is compacted after entering RRC _ IDLE from RRC _ CONNECT, two types of events are treated and centralized in the wake-up state of the system, namely, the file refreshing Sync is tried immediately after the RRC connection state, the NVM file can be refreshed successfully into a nonvolatile memory more timely, the condition that data is not synchronized or lost due to abnormity is reduced, and the robustness of the system is improved.
Corresponding to the above method embodiment, referring to fig. 5, the embodiment of the present disclosure further provides a synchronous transmission apparatus 50 for a nonvolatile storage file, which is applied to an embedded device. As shown in fig. 5, the apparatus 50 includes:
a monitoring module 501, configured to monitor whether a radio resource controller of the embedded device enters an idle state from a connected state;
a synchronization module 502, configured to perform a synchronization transmission action on the non-volatile storage file immediately when the radio resource controller enters an idle state from a connected state.
According to a specific implementation manner of the embodiment of the present disclosure, the synchronization module 502 includes:
the judging submodule is used for judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment or not when the radio resource controller enters an idle state from a connection state;
the execution sub-module is used for immediately executing the synchronous transmission action on the nonvolatile storage file if the synchronous transmission action needs to be executed on the nonvolatile storage file in the embedded equipment;
and if the synchronous transmission action of the nonvolatile storage file in the embedded equipment is not required, directly entering an idle state.
The apparatus shown in fig. 5 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 6, an embodiment of the present disclosure also provides an electronic device 60, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of synchronized transfer of non-volatile memory files of the method embodiments described above.
The disclosed embodiments also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the synchronous transmission method of the nonvolatile storage file in the foregoing method embodiments.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of synchronous transmission of a non-volatile storage file in the aforementioned method embodiments.
Referring now to FIG. 6, a schematic diagram of an electronic device 60 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 60 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 60 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 60 to communicate with other devices wirelessly or by wire to exchange data. While the figures illustrate an electronic device 60 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Alternatively, the computer readable medium carries one or more programs, which when executed by the electronic device, enable the electronic device to implement the schemes provided by the method embodiments.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (9)

1. A synchronous transmission method of a nonvolatile storage file is applied to an embedded device, and comprises the following steps:
monitoring whether a radio resource controller of the embedded device enters an idle state from a connected state;
when the radio resource controller enters an idle state from a connection state, immediately executing a synchronous transmission action on the nonvolatile storage file;
the step of performing the synchronous transmission action on the nonvolatile storage file comprises:
loading the nonvolatile storage file from a nonvolatile memory of the embedded device to a cache region;
and synchronously updating the nonvolatile storage file in the buffer area into the nonvolatile memory when the idle state of the radio resource controller of the embedded device is ended.
2. The method of claim 1, wherein the step of performing the act of synchronously transferring the non-volatile memory file immediately upon the radio resource controller entering an idle state from a connected state comprises:
when the radio resource controller enters an idle state from a connection state, judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment;
if the synchronous transmission action is required to be executed on the nonvolatile storage file in the embedded equipment, immediately executing the synchronous transmission action on the nonvolatile storage file;
and if the synchronous transmission action of the nonvolatile storage file in the embedded equipment is not required, directly entering an idle state.
3. The method of claim 2, wherein prior to the step of monitoring whether a radio resource controller of the embedded device enters an idle state from a connected state, the method further comprises:
setting the radio resource controller from a connected state to an idle state as a trigger condition for the nonvolatile storage file to execute a synchronous transmission action.
4. The method of claim 1, wherein after the step of performing the act of synchronously transferring the non-volatile storage file immediately upon the radio resource controller entering the idle state from the connected state, the method further comprises:
after the radio resource controller enters an idle state, scheduling tasks are executed according to scheduling instructions.
5. The method of claim 4, further comprising:
and state transition delay exists among the state that the radio resource controller enters an idle state after the synchronous transmission action of the nonvolatile storage file is executed, the state that the radio resource controller enters a scheduling task execution state from the idle state, the state that the radio resource controller enters the idle state after the scheduling task is executed and the state that the radio resource controller enters the connection state from the idle state.
6. The method of claim 5, further comprising:
and calculating the period of the embedded equipment entering the low power consumption state of the system as the total system time slice of the embedded equipment minus the time of the radio resource controller in the connection state, the time of executing the synchronous transmission action on the nonvolatile storage file, the time of executing the scheduling task and the time after the state transition delay.
7. The synchronous transmission device of the nonvolatile storage file is applied to an embedded device, and comprises:
the monitoring module is used for monitoring whether the radio resource controller of the embedded equipment enters an idle state from a connection state;
the synchronization module is used for immediately executing a synchronous transmission action on the nonvolatile storage file when the radio resource controller enters an idle state from a connection state;
the performing a synchronous transfer action on the non-volatile storage file comprises:
loading the nonvolatile storage file from a nonvolatile memory of the embedded device to a cache region;
and synchronously updating the nonvolatile storage file in the buffer area into the nonvolatile memory when the idle state of the radio resource controller of the embedded device is ended.
8. The apparatus of claim 7, wherein the synchronization module comprises:
the judging submodule is used for judging whether a synchronous transmission action needs to be executed on a nonvolatile storage file in the embedded equipment or not when the radio resource controller enters an idle state from a connection state;
the execution sub-module is used for immediately executing the synchronous transmission action on the nonvolatile storage file if the synchronous transmission action needs to be executed on the nonvolatile storage file in the embedded equipment;
and if the synchronous transmission action of the nonvolatile storage file in the embedded equipment is not required, directly entering an idle state.
9. An embedded device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of synchronized transfer of non-volatile storage files of any of the preceding claims 1 to 6.
CN202010727469.0A 2020-07-27 2020-07-27 Synchronous transmission method and device of nonvolatile storage file and embedded equipment Active CN111597092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010727469.0A CN111597092B (en) 2020-07-27 2020-07-27 Synchronous transmission method and device of nonvolatile storage file and embedded equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010727469.0A CN111597092B (en) 2020-07-27 2020-07-27 Synchronous transmission method and device of nonvolatile storage file and embedded equipment

Publications (2)

Publication Number Publication Date
CN111597092A CN111597092A (en) 2020-08-28
CN111597092B true CN111597092B (en) 2020-11-27

Family

ID=72186752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010727469.0A Active CN111597092B (en) 2020-07-27 2020-07-27 Synchronous transmission method and device of nonvolatile storage file and embedded equipment

Country Status (1)

Country Link
CN (1) CN111597092B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130324105A1 (en) * 2011-02-01 2013-12-05 Peter Lundh Method and radio base station in a wireless communication network
CN103765798A (en) * 2011-08-11 2014-04-30 英特尔公司 Reduced signaling overhead during radio resource control (RRC) state transitions
CN103947282A (en) * 2011-11-11 2014-07-23 英特尔公司 Random backoff for extended access barring
US20180054834A1 (en) * 2015-01-22 2018-02-22 Lg Electronics Inc. Method for initiating a random access procedure in a carrier aggregation system and a device therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130324105A1 (en) * 2011-02-01 2013-12-05 Peter Lundh Method and radio base station in a wireless communication network
CN103765798A (en) * 2011-08-11 2014-04-30 英特尔公司 Reduced signaling overhead during radio resource control (RRC) state transitions
CN103947282A (en) * 2011-11-11 2014-07-23 英特尔公司 Random backoff for extended access barring
US20180054834A1 (en) * 2015-01-22 2018-02-22 Lg Electronics Inc. Method for initiating a random access procedure in a carrier aggregation system and a device therefor

Also Published As

Publication number Publication date
CN111597092A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
RU2739290C1 (en) Method of multiaddress unidirectional channel control and terminal device
EP3268842B1 (en) Methods and systems for coordination of operating states amongst multiple socs within a computing device
US20200326769A1 (en) Enhanced display wakeup
US11115926B2 (en) User node, a network node and methods for wireless communication
CN110058889A (en) A kind of application awakening method and device
AU2019256257B2 (en) Processor core scheduling method and apparatus, terminal, and storage medium
CN108632309B (en) Method and device for upgrading narrow-band Internet of things terminal
WO2017161638A1 (en) Method and device for freezing and waking up multiple systems
US20210136665A1 (en) Method For Obtaining System Information, Method For Controlling Transmission Of System Information And Relevant Equipment
US20150082064A1 (en) Power Management in a Configurable Bus
EP3860187A1 (en) Information sending and receiving method and device, terminal, and base station
JP2019503119A (en) Using network-supported protocols to improve network utilization
CN112422551B (en) SSL certificate updating method and device, electronic equipment and storage medium
CN111597092B (en) Synchronous transmission method and device of nonvolatile storage file and embedded equipment
CN109951737B (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
US20230111984A1 (en) Methods and Apparatus for Adaptive Power Profiling in A Baseband Processing System
WO2022089384A1 (en) Data synchronization method and device
CN113676504B (en) Low-power-consumption distributed calling method, equipment and device
JP2011254159A (en) Mobile communication terminal device and timer control method thereof
CN115587049A (en) Memory recovery method and device, electronic equipment and storage medium
CN114816744A (en) Memory control method and device, storage medium and electronic equipment
CN114237896A (en) Distributed node resource dynamic scheduling method and device
CN114095907A (en) Bluetooth connection control method, device and equipment
WO2022078496A1 (en) Physical layer monitoring method and related apparatus
WO2022179283A1 (en) Push message sending method, electronic device, and readable medium

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
CB02 Change of applicant information

Address after: 201203 Floor 9, building 10, No. 399, Keyuan Road, China (Shanghai) free trade pilot zone, Pudong New Area, Shanghai

Applicant after: Aojie Technology Co., Ltd

Address before: 201203 Building 2, No. 399, Keyuan Road, free trade zone, Pudong New Area, Shanghai

Applicant before: Aojie Technology (Shanghai) Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant