CN110704008B - Data reading and writing method and device - Google Patents

Data reading and writing method and device Download PDF

Info

Publication number
CN110704008B
CN110704008B CN201910947397.8A CN201910947397A CN110704008B CN 110704008 B CN110704008 B CN 110704008B CN 201910947397 A CN201910947397 A CN 201910947397A CN 110704008 B CN110704008 B CN 110704008B
Authority
CN
China
Prior art keywords
storage space
state
display screen
type display
electronic equipment
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
CN201910947397.8A
Other languages
Chinese (zh)
Other versions
CN110704008A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910947397.8A priority Critical patent/CN110704008B/en
Publication of CN110704008A publication Critical patent/CN110704008A/en
Application granted granted Critical
Publication of CN110704008B publication Critical patent/CN110704008B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The data reading and writing method and device provided by the application monitor the working state of the electronic equipment; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, and forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter the second state from the first state, the first type display screen is controlled to perform data interaction with the first storage space and the second storage space, the data interaction between the first type display screen and the first storage space and the data interaction between the first type display screen and the second storage space are controlled by monitoring the working state of the electronic equipment, the technical problem that the first type display screen in the electronic equipment cannot perform data interaction with the storage space in the first state of the electronic equipment is solved, and the technical effect that the electronic equipment can still perform data interaction with the first storage space in the first state is achieved.

Description

Data reading and writing method and device
Technical Field
The present application belongs to the technical field of data processing, and in particular, to a data read-write method and apparatus.
Background
With the development and demand change of display technology, some electronic devices include two kinds of display screens, so how to manage two screens becomes a technical problem to be solved.
Disclosure of Invention
In view of this, an object of the present application is to provide a data reading and writing method and apparatus, which are used to control a first type display screen to perform data interaction with a first storage space in a first state. The technical scheme is as follows:
the application provides a data reading and writing method, which is applied to electronic equipment, wherein the electronic equipment comprises a first type display screen and a second type display screen, the power consumption of the first type display screen is less than that of the second type display screen, and the method comprises the following steps:
monitoring the working state of the electronic equipment;
if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, and forbidding the first type display screen and a second storage space to perform data interaction;
and if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space, wherein the processor of the electronic equipment in the first state enables at least part of functions of the processor to be changed from disabled to available through a trigger signal, and the processor in the second state enables all functions of the processor to be available.
Preferably, the method further comprises: and if the electronic equipment is monitored to enter the second state from the first state, controlling the first storage space and the second storage space to perform data interaction.
Preferably, if it is monitored that the electronic device enters the first state, controlling the first type display screen and the first storage space to perform data interaction includes:
if the electronic equipment is monitored to enter the first state, first data input in the first type display screen are acquired;
and storing the first data to the first storage space.
Preferably, the method further comprises: and if the electronic equipment is monitored to enter the second state from the first state, migrating the first data in the first storage space to the second storage space.
Preferably, the storing the first data to the first storage space includes: and if a storage instruction is acquired, storing the first data into the first storage space.
Preferably, if it is monitored that the electronic device enters the second state from the first state, controlling the first storage space and the second storage space to perform data interaction includes:
if the electronic equipment is monitored to enter the second state from the first state, second data to be migrated in the second storage space are acquired;
and migrating the second data to be migrated from the second storage space to the first storage space.
Preferably, if it is monitored that the electronic device enters the first state, controlling the first type display screen and the first storage space to perform data interaction includes:
if the electronic equipment is monitored to enter the first state, acquiring the second data from the first storage space;
and displaying the second data through the first type display screen.
The application provides a data read-write equipment, is applied to electronic equipment, electronic equipment includes first type display screen and second type display screen, just the consumption of first type display screen is less than the consumption of second type display screen, the device includes:
the monitoring unit is used for monitoring the working state of the electronic equipment;
the control unit is used for controlling the first type display screen and the first storage space to perform data interaction but forbidding the first type display screen and the second storage space to perform data interaction if the electronic equipment is monitored to enter a first state, and controlling the first type display screen to perform data interaction with the first storage space and the second storage space if the electronic equipment is monitored to enter a second state from the first state, wherein the processor of the electronic equipment in the first state enables at least part of functions of the processor to be changed from forbidden to available through a trigger signal, and all functions of the processor in the second state are available.
The application also provides electronic equipment, which comprises a body, a processor, a first type display screen and a second type display screen, wherein the processor, the first type display screen and the second type display screen are arranged on the body;
the processor is used for monitoring the working state of the electronic equipment; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, but forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space;
wherein, the processor of the electronic equipment in the first state changes at least part of functions of the processor from disabled to available by a trigger signal, and the whole functions of the processor in the second state are available.
The body comprises a first body and a second body, the processor is positioned in the second body, the first type display screen is arranged on the first surface of the first body, and the second type display screen is arranged on the second surface of the first body;
or
The body comprises a first body and a second body, the second type display screen is arranged on the first body, and the processor and the first type display screen are arranged on the second body.
According to the technical scheme, the working state of the electronic equipment is monitored; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, and forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter the second state from the first state, the first type display screen is controlled to perform data interaction with the first storage space and the second storage space, the data interaction between the first type display screen and the first storage space and the data interaction between the first type display screen and the second storage space are controlled by monitoring the working state of the electronic equipment, the technical problem that the first type display screen in the electronic equipment cannot perform data interaction with the storage space in the first state of the electronic equipment is solved, and the technical effect that the electronic equipment can still perform data interaction with the first storage space in the first state (if the System Soc in the first state is in the forbidden state) is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a conventional electronic device;
fig. 2 is a flowchart of a data reading and writing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a flow chart of another method for reading and writing data according to an embodiment of the present disclosure;
fig. 5 is a structural diagram of a data read/write apparatus according to an embodiment of the present application.
Detailed Description
Electronic devices often include two screens that may be positioned opposite each other on the electronic device, such as one of the two screens positioned on a front side of the electronic device and the other screen positioned on a back side of the electronic device. Of course, the screen settings may not be opposite to each other, such as a notebook, and may be located on the B-side and the C-side of the notebook, respectively. Meanwhile, the electronic device may further include a first type display screen and a second type display screen, and when the electronic device including the two types of display screens is in the first state, the first type display screen cannot perform data interaction with a storage space of the electronic device, that is, data displayed by the first type display screen cannot be stored in the storage space, and data acquired from the storage space cannot be displayed on the first type display screen. The applicant of the present application has found through research that the reasons for the above problems are: as shown in fig. 1, the memory space is connected to the System Soc (System on chip) of the electronic device, and in the first state of the electronic device, the System Soc is in the disabled state, so that data interaction with the memory space connected to the System Soc through the first type display screen is not possible.
Therefore, the present embodiment provides a data read-write control method and apparatus, so that when the electronic device is in a first state, the electronic device controls the first type display screen and the first storage space in the storage space to perform data interaction.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 2, a data reading and writing method provided by the present application is applied to an electronic device, where the electronic device includes a first type display screen and a second type display screen, and power consumption of the first type display screen is less than power consumption of the second type display screen, and the method includes the following steps:
and S100, monitoring the working state of the electronic equipment.
The electronic device may be a notebook computer, a tablet, a smart phone, and the like including a first type display screen and a second type display screen, and the type of the electronic device is not limited in this embodiment. The same installation manner of the first type display screen and the second type display screen in the electronic device is not limited in this embodiment, for example, the electronic device may include a first body and a second body, and the first type display screen and the second type display screen may be installed in the same body or may be installed in different bodies respectively. Alternatively, the first type display screen may be an electronic ink screen or a cholesterol screen, and the second type display screen may be an LCD (liquid crystal display) or an OLED (organic light-Emitting Diode).
After the state of any module in the electronic device changes, the operating state of the electronic device changes, and the positional relationship between the first body and the second body of the electronic device changes, for example, the operating state of the electronic device changes due to the opening and closing of the first body and the second body, so the monitoring means of the operating state of the electronic device is not described in this embodiment.
S200, if the electronic equipment is monitored to enter the first state, controlling the first type display screen and the first storage space to perform data interaction, and forbidding the first type display screen and the second storage space to perform data interaction.
Wherein in the first state, the processor of the electronic device changes at least part of functions of the processor from disabled to available by a trigger signal, for example, most functions of the processor are disabled when the electronic device is in the first state, and a small part of functions are available, and at least part of the disabled most functions can be enabled when the processor receives an external signal, for example, a message is received from a network interface of the electronic device, the message is sent to the processor by a controller of the network interface, the processor enables part of the disabled functions under the action of the message, and the corresponding functions are disabled again after the message processing is finished.
One expression of the first state in this embodiment may be an MS (Modern Standby) state. For example, when it is detected that the first body and the second body of the electronic device are closed, it is determined that the electronic device enters the MS state, and at this time, the first type display screen and the first storage space may be controlled to perform data interaction.
In order to control the first type display screen and the first storage space to perform data interaction in the first state, the structure of the existing electronic device needs to be improved, and at least one point of improvement is that: the first storage space is connected to a drive controller for controlling the first type of display screen.
As shown in fig. 3, the first storage space (e.g. SD card) in the present application may be connected to a logic board (TCON) in the electronic device, the logic board is a driving controller of the first type display screen, when the electronic equipment enters a first state, the TCOM, the first type display screen and the first storage space are in an available state, and both the first type display screen and the first storage space can be controlled by the TCON, therefore, when the electronic device is in the first state, the TCON can receive a data reading request sent by the first type display screen, acquire data corresponding to the data reading request from the first storage space, and also can receive a data writing request sent by the first type display screen, store the data on the first type display screen into the first storage space, therefore, the System Soc can be in the disabled state, and the first type display screen and the first storage space can perform data interaction.
As shown in fig. 3, the second storage space (e.g., SSD hard disk) in the present application is connected to the System Soc of the electronic device, and after the electronic device enters the first state, since the System Soc is in the disabled state, the data reading request and the data writing request sent by the TCON first type display screen are prohibited from being executed, the first type display screen cannot perform data interaction with the second storage space, and the first type display screen and the second storage space are prohibited from performing data interaction in the first state.
In this embodiment, one way for the first type display screen to perform data interaction with the first storage space is as follows: if the electronic equipment is monitored to enter the first state, first data input in the first type display screen are acquired; and storing the first data to the first storage space.
The first data input in the first type display screen may be first data input by a user in the first type display screen or first data downloaded by means of the electronic device and displayed by the first type display screen, wherein the first data may include at least one of text, audio, image, and video. It is to be understood that the first data may be all data inputted in the first type display screen, or may be a part of all data inputted in the first type display screen.
Correspondingly, the first data can be automatically or manually stored in the first storage space. For example, when the first data is input to the first type display screen, the first data is automatically stored in the first storage space immediately, or after the first data is input to the first type display screen for a preset time (set according to requirements), the first data is stored in the first storage space, or after the first data is changed, the first data before being changed is stored in the first storage space, or the input condition of the first data may be counted, for example, the input times of the first data are counted, and if the input times exceed the preset times, the first data is stored; the manual storage needs to be performed in combination with the operation of the user, which will be described later. In the case of automatic storage or manual storage, the first data stored in the present application may be all or part of the data input in the first type display screen.
For the manual storage approach, one approach is: and if a storage instruction is acquired, storing the first data into the first storage space.
The storage instructions may include at least one of key press instructions, gesture instructions, voice instructions, fingerprint instructions, iris instructions. For example, the user may "save" through the virtual key, which indicates that the storage instruction is obtained, and at this time, the first data is stored in the first storage space; if the received voice data includes a term indicating that the first data is stored, such as "save/store", the first data may be stored in the first storage space.
In the above description, the first data is stored in the first storage space, and in practical applications, the data interaction may further include obtaining data from the first storage space, and the corresponding step S200 may include:
and if the electronic equipment is monitored to enter the first state, acquiring the second data from the first storage space. And displaying the second data through the first type display screen.
The second data may include at least one of a text, an audio, an image, and a video, and the data acquired in the first storage space is displayed through the first type display screen, so that a user may operate the second data in the first storage space through the first type display screen, and a specific operation is not limited in this embodiment.
S300, if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space, wherein all functions of the processor in the second state are available, which indicates that the functions of the electronic equipment, particularly the functions related to the second type display screen, are changed from disabled to available.
The electronic equipment can be determined to enter the second state from the first state when the first body and the second body of the electronic equipment are closed and the opening degree is larger than the preset angle. For example, the first body and the second body are at 0 degree when closed, and when the opening degree between the first body and the second body is greater than 70 degrees, the electronic device is determined to enter the second state from the first state. After the electronic device enters the second state, the second storage space is available, and at this time, the first type display screen can be controlled to perform data interaction with the first storage space and the second storage space.
For example, after the electronic device enters the second state, the System Soc in the electronic device is in an available state, and the second storage space connected under the System Soc can be accessed through the System Soc, so that the first type display screen can be controlled to perform data interaction with the first storage space connected to the TCON and the second storage space connected to the System Soc at this time, and after the corresponding electronic device enters the second state, the second type display screen can also be used, and at this time, the second type display screen can also be controlled to perform data interaction with the first storage space connected to the TCON and the second storage space connected to the System Soc.
According to the technical scheme, the working state of the electronic equipment is monitored; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, and forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter the second state from the first state, the first type display screen is controlled to perform data interaction with the first storage space and the second storage space, the data interaction between the first type display screen and the first storage space and the data interaction between the first type display screen and the second storage space are controlled by monitoring the working state of the electronic equipment, the technical problem that the first type display screen in the electronic equipment cannot perform data interaction with the storage space in the first state of the electronic equipment is solved, and the technical effect that the electronic equipment can still perform data interaction with the first storage space in the first state (if the System Soc is in the forbidden state in the first state) is achieved.
Referring to fig. 4, another data reading and writing method provided in the embodiment of the present application is shown, and on the basis of fig. 2, the method may further include the following steps:
s400, if the electronic equipment is monitored to enter the second state from the first state, controlling the first storage space and the second storage space to perform data interaction.
If the electronic equipment is monitored to enter the second state from the first state, the first storage space and the second storage space can be controlled to read and write data mutually. For example, the data in the first storage space may be transmitted to the second storage space, and the data in the second storage space may also be transmitted to the first storage space.
In this embodiment, one way for the first storage space to perform data interaction with the second storage space is as follows: if the electronic equipment is monitored to enter the second state from the first state, second data to be migrated in the second storage space are acquired; and migrating the second data to be migrated from the second storage space to the first storage space.
The second data to be migrated may be data that is expected to be continuously displayed through the first type display screen when the electronic device enters the first state, and these second data to be migrated may be data specified by a user (i.e., data that the user wishes to continuously display) or data determined by the processor according to a preset rule. For example, if the user desires to continue to operate on certain data in the second storage space while the electronic device is in the first state, the data may be used as the second data to be migrated. The second data to be migrated specified by the user may be executed in combination with a user operation, for example, a migration instruction occurs through a key, voice, or the like, and the data corresponding to the migration instruction is the second data. The data determined by the processor according to the preset rule includes, but is not limited to, data frequently operated when the electronic device is in the second state.
It can be understood that the sizes of the first storage space and the second storage space may be inconsistent, and in order to improve the utilization rate of the first storage space, only the data specified by the user may be used as the second data to be migrated, so that the second data may be continuously displayed through the first type display screen after the electronic device enters the first state, so as to continue to operate on the second data. One way to continue displaying the second data in this embodiment is: if the electronic equipment is monitored to enter the first state, acquiring the second data from the first storage space; the second data is displayed through the first type display screen, and specific description is not provided in this embodiment.
In this embodiment, another way for the first storage space to perform data interaction with the second storage space is as follows: and if the electronic equipment is monitored to enter the second state from the first state, migrating the first data in the first storage space to the second storage space.
In the second state of the electronic device, the user mainly operates the second type display screen, and the second type display screen mainly interacts with the second storage space connected to the System Soc, so in order to continue to display the first data in the second state, the first data in the first storage space may be migrated to the second storage space, so that the user operates the first data through the second type display screen in the second state of the electronic device.
In practical applications, after the electronic device enters the second state from the first state, the first data may be analyzed before the first data is migrated, and new data in the first data may be transferred to the second storage space. The newly added data refers to data which is not stored in the first storage space before the first state is entered, so that the migrated data amount is reduced. For example, in the first state, the electronic device annotates an article on the first type display screen by the user, and the annotation can be transmitted to the second storage space, so that the article stored in the second storage space displays the annotation.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present application is not limited by the order of acts or acts described, as some steps may occur in other orders or concurrently with other steps in accordance with the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Corresponding to the foregoing method embodiment, an embodiment of the present application provides a data reading and writing apparatus, whose structure is shown in fig. 5, where the data reading and writing apparatus is applied to an electronic device, where the electronic device includes a first type display screen and a second type display screen, and power consumption of the first type display screen is smaller than power consumption of the second type display screen, and the apparatus includes:
and the monitoring unit 100 is used for monitoring the working state of the electronic equipment.
The electronic device may be a notebook computer, a tablet, a smart phone, and the like including a first type display screen and a second type display screen, and the type of the electronic device is not limited in this embodiment. The same installation manner of the first type display screen and the second type display screen in the electronic device is not limited in this embodiment, for example, the electronic device may include a first body and a second body, and the first type display screen and the second type display screen may be installed in the same body or may be installed in different bodies respectively. Optionally, the first type of display screen may be an electronic ink screen or a cholesterol screen, and the second type of display screen may be an LCD or an OLED.
After the state of any module in the electronic device changes, the operating state of the electronic device changes, and the positional relationship between the first body and the second body of the electronic device changes, for example, the operating state of the electronic device changes due to the opening and closing of the first body and the second body, so the monitoring means of the operating state of the electronic device is not described in this embodiment.
A control unit 200, configured to control the first type display screen and the first storage space to perform data interaction but prohibit the first type display screen and the second storage space to perform data interaction if it is monitored that the electronic device enters a first state, and control the first type display screen to perform data interaction with the first storage space and the second storage space if it is monitored that the electronic device enters a second state from the first state, where a processor of the electronic device in the first state makes at least part of functions of the processor from disabled to available through a trigger signal, and where all functions of the processor in the second state are available. For the description of the first state and the second state and the state monitoring method, please refer to the method embodiment, which will not be described in detail.
In order to control the first type display screen and the first storage space to perform data interaction in the first state, the structure of the existing electronic device needs to be improved, and at least one point of improvement is that: the first storage space is connected to a driver controller for controlling the first type of display, as described in detail with reference to the method embodiments above.
In this embodiment, one way for the control unit 200 to perform data interaction is: if the electronic equipment is monitored to enter the first state, first data input in the first type display screen are acquired; and storing the first data to the first storage space.
The control unit 200 may store the first data to the first storage space automatically or in conjunction with a user operation at the time of storage. For example, the control unit 200 automatically stores the first data to the first storage space immediately when the first data is input to the first type display screen, or stores the first data to the first storage space after the first data is input to the first type display screen for a preset time (set according to a requirement), or stores the first data before change to the first storage space after the first data is changed, or may count the input condition of the first data, for example, count the input times of the first data, and store the first data if the input times exceeds the preset times; the manual storage needs to be performed in combination with the operation of the user, which will be described later. In the case of automatic storage or manual storage, the first data stored in the present application may be all or part of the data input in the first type display screen.
For the way of combining user operations, one way is: if the control unit 200 acquires the storage instruction, the first data is stored in the first storage space.
The storage instructions may include at least one of key press instructions, gesture instructions, voice instructions, fingerprint instructions, iris instructions.
In practical applications, the data interaction may further include that the control unit 200 acquires data from the first storage space, and the corresponding control unit 200 may be configured to acquire the second data from the first storage space if it is monitored that the electronic device enters the first state; and displaying the second data through the first type display screen.
As can be seen from the above technical solutions, the monitoring unit 100 monitors the operating state of the electronic device; if the control unit 200 monitors that the electronic device enters a first state, the first type display screen and the first storage space are controlled to perform data interaction, and the first type display screen and the second storage space are forbidden to perform data interaction; if the electronic equipment is monitored to enter the second state from the first state, the first type display screen is controlled to perform data interaction with the first storage space and the second storage space, the data interaction between the first type display screen and the first storage space and the data interaction between the first type display screen and the second storage space are controlled by monitoring the working state of the electronic equipment, the technical problem that the first type display screen in the electronic equipment cannot perform data interaction with the storage space in the first state of the electronic equipment is solved, and the technical effect that the electronic equipment can still perform data interaction with the first storage space in the first state (if the System Soc is in the forbidden state in the first state) is achieved.
In addition, the control unit 200 may be further configured to control the first storage space and the second storage space to perform data interaction if it is monitored that the electronic device enters the second state from the first state.
If the monitoring unit 100 monitors that the electronic device enters the second state from the first state, the control unit 200 may control the first storage space and the second storage space to perform data reading and writing with each other.
In this embodiment, one way for the control unit 200 to control the first storage space to perform data interaction with the second storage space is: if it is monitored that the electronic device enters the second state from the first state, the control unit 200 is configured to obtain second data to be migrated in the second storage space; the control unit 200 is configured to migrate the second data to be migrated from the second storage space to the first storage space.
The second data to be migrated may be data that is expected to be continuously displayed through the first type display screen when the electronic device enters the first state, and these second data to be migrated may be data specified by a user (i.e., data that the user wishes to continuously display) or data determined by the processor according to a preset rule.
It can be understood that the sizes of the first storage space and the second storage space may be inconsistent, and in order to improve the utilization rate of the first storage space, only the data specified by the user may be used as the second data to be migrated, so that the second data may be continuously displayed through the first type display screen after the electronic device enters the first state, so as to continue to operate on the second data. One way to continue displaying the second data in this embodiment is: if the monitoring unit 100 monitors that the electronic device enters the first state, the control unit 200 acquires the second data from the first storage space; the second data is displayed through the first type display screen, and specific description is not provided in this embodiment.
In this embodiment, another way for the first storage space to perform data interaction with the second storage space is as follows: if the monitoring unit 100 monitors that the electronic device enters the second state from the first state, the control unit 200 migrates the first data in the first storage space to the second storage space.
In the second state of the electronic device, the user mainly operates the second type display, and the second type display mainly interacts with the second storage space connected to the System Soc, so in order to continue to display the first data in the second state, the control unit 200 may migrate the first data in the first storage space to the second storage space, so that the user operates the first data through the second type display in the second state of the electronic device.
In practical applications, after the electronic device enters the second state from the first state, the control unit 200 may analyze the first data before migrating the first data, and transmit new data in the first data to the second storage space. The newly added data refers to data which is not stored in the first storage space before the first state is entered, so that the migrated data amount is reduced.
The electronic equipment comprises a body, a processor, a first type display screen and a second type display screen, wherein the processor, the first type display screen and the second type display screen are arranged on the body;
the processor is used for monitoring the working state of the electronic equipment; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, but forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space;
wherein, the processor of the electronic equipment in the first state changes at least part of functions of the processor from disabled to available by a trigger signal, and the whole functions of the processor in the second state are available.
Another electronic device provided in the embodiment of the present application, the body includes a first body and a second body, the processor is located in the second body, the first type display screen is disposed on a first surface of the first body, and the second type display screen is disposed on a second surface of the first body;
or
The body comprises a first body and a second body, the second type display screen is arranged on the first body, and the processor and the first type display screen are arranged on the second body.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A data reading and writing method is applied to electronic equipment, the electronic equipment comprises a first type display screen and a second type display screen, and the power consumption of the first type display screen is smaller than that of the second type display screen, and the method comprises the following steps:
monitoring the working state of the electronic equipment;
if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, and forbidding the first type display screen and a second storage space to perform data interaction;
and if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space, wherein the processor of the electronic equipment in the first state enables at least part of functions of the processor to be changed from disabled to available through a trigger signal, and the processor in the second state enables all functions of the processor to be available.
2. The method of claim 1, further comprising: and if the electronic equipment is monitored to enter the second state from the first state, controlling the first storage space and the second storage space to perform data interaction.
3. The method of claim 1, wherein controlling the first type display screen and the first storage space to perform data interaction if the electronic device is monitored to enter the first state comprises:
if the electronic equipment is monitored to enter the first state, first data input in the first type display screen are acquired;
and storing the first data to the first storage space.
4. The method of claim 3, further comprising: and if the electronic equipment is monitored to enter the second state from the first state, migrating the first data in the first storage space to the second storage space.
5. The method of claim 3, wherein storing the first data to the first storage space comprises: and if a storage instruction is acquired, storing the first data into the first storage space.
6. The method of claim 2, wherein controlling the first storage space and the second storage space to perform data interaction if the electronic device is monitored to enter the second state from the first state comprises:
if the electronic equipment is monitored to enter the second state from the first state, second data to be migrated in the second storage space are acquired;
and migrating the second data to be migrated from the second storage space to the first storage space.
7. The method of claim 6, wherein controlling the first type display screen and the first storage space to perform data interaction if the electronic device is monitored to enter the first state comprises:
if the electronic equipment is monitored to enter the first state, acquiring the second data from the first storage space;
and displaying the second data through the first type display screen.
8. A data read-write device is characterized in that the device is applied to electronic equipment, the electronic equipment comprises a first type display screen and a second type display screen, the power consumption of the first type display screen is smaller than that of the second type display screen, and the device comprises:
the monitoring unit is used for monitoring the working state of the electronic equipment;
the control unit is used for controlling the first type display screen and the first storage space to perform data interaction but forbidding the first type display screen and the second storage space to perform data interaction if the electronic equipment is monitored to enter a first state, and controlling the first type display screen to perform data interaction with the first storage space and the second storage space if the electronic equipment is monitored to enter a second state from the first state, wherein the processor of the electronic equipment in the first state enables at least part of functions of the processor to be changed from forbidden to available through a trigger signal, and all functions of the processor in the second state are available.
9. An electronic device comprises a body, a processor, a first type display screen and a second type display screen, wherein the processor, the first type display screen and the second type display screen are arranged on the body;
the processor is used for monitoring the working state of the electronic equipment; if the electronic equipment is monitored to enter a first state, controlling the first type display screen and a first storage space to perform data interaction, but forbidding the first type display screen and a second storage space to perform data interaction; if the electronic equipment is monitored to enter a second state from the first state, controlling the first type display screen to perform data interaction with the first storage space and the second storage space;
wherein, the processor of the electronic equipment in the first state changes at least part of functions of the processor from disabled to available by a trigger signal, and the whole functions of the processor in the second state are available.
10. The electronic device of claim 9, wherein the body comprises a first body and a second body, the processor being located in the second body, the first type display being disposed on a first side of the first body, the second type display being disposed on a second side of the first body;
or
The body comprises a first body and a second body, the second type display screen is arranged on the first body, and the processor and the first type display screen are arranged on the second body.
CN201910947397.8A 2019-09-30 2019-09-30 Data reading and writing method and device Active CN110704008B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910947397.8A CN110704008B (en) 2019-09-30 2019-09-30 Data reading and writing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910947397.8A CN110704008B (en) 2019-09-30 2019-09-30 Data reading and writing method and device

Publications (2)

Publication Number Publication Date
CN110704008A CN110704008A (en) 2020-01-17
CN110704008B true CN110704008B (en) 2021-07-16

Family

ID=69196830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910947397.8A Active CN110704008B (en) 2019-09-30 2019-09-30 Data reading and writing method and device

Country Status (1)

Country Link
CN (1) CN110704008B (en)

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8648825B2 (en) * 2010-10-01 2014-02-11 Z124 Off-screen gesture dismissable keyboard
CN101520688B (en) * 2009-03-26 2010-10-27 成都市华为赛门铁克科技有限公司 Method, device and system for storing data
CN102142236B (en) * 2010-02-03 2013-01-09 胡志强 Liquid crystal display driver for high-resolution interlacing scanned video signals
CN201654759U (en) * 2010-03-26 2010-11-24 北京华安保信息技术有限公司 Storage medium information eliminator
CN102298419A (en) * 2011-09-02 2011-12-28 汉王科技股份有限公司 Mobile terminal with double display screens
CN102999216B (en) * 2012-11-21 2015-10-28 汕头超声显示器(二厂)有限公司 A kind of low-power consumption touch control display module, the screen touch electronic device with this module and software systems thereof
US20140340282A1 (en) * 2013-05-15 2014-11-20 Samsung Electronics Co., Ltd. Soc for supporting multiple display screens and configuration method thereof
JP2015014995A (en) * 2013-07-08 2015-01-22 桑原 雅人 Display device, display method, program, and display system
TWI581537B (en) * 2014-01-17 2017-05-01 元太科技工業股份有限公司 Mobile display system and mobile display device
CN104536848B (en) * 2014-12-22 2018-05-08 小米科技有限责任公司 Firmware restoration method, apparatus and terminal
CN104717543B (en) * 2015-02-28 2017-02-01 努比亚技术有限公司 Method and device for achieving interactive operation between different split screens
CN105446691A (en) * 2015-12-22 2016-03-30 北京奇虎科技有限公司 Mobile terminal and system parameter information showing method and system
CN107133021B (en) * 2016-02-26 2021-01-15 联想(北京)有限公司 Information processing method and electronic equipment
CN105930125A (en) * 2016-06-28 2016-09-07 努比亚技术有限公司 Double-screen control method and terminal
CN111314444B (en) * 2016-06-30 2022-08-12 亳州鼎源科技信息有限公司 Information pushing and displaying method and device
CN106598512A (en) * 2016-11-30 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Information display method and system and electronic equipment
CN206639094U (en) * 2016-12-30 2017-11-14 宇龙计算机通信科技(深圳)有限公司 Shuangping san terminal
CN107066044A (en) * 2017-01-20 2017-08-18 宇龙计算机通信科技(深圳)有限公司 The electronic equipment of multihead display
CN108664228A (en) * 2017-03-31 2018-10-16 上海中兴软件有限责任公司 A kind of method for displaying image and mobile terminal
CN107203324A (en) * 2017-05-27 2017-09-26 宇龙计算机通信科技(深圳)有限公司 Method, system and the electronic equipment of control electronics
CN107526503A (en) * 2017-07-27 2017-12-29 珠海市魅族科技有限公司 Terminal operation method and device, computer installation and computer-readable recording medium
CN108170394A (en) * 2017-12-28 2018-06-15 努比亚技术有限公司 A kind of double-sided screen terminal and its control method
CN109976691B (en) * 2019-03-29 2021-05-18 联想(北京)有限公司 Information processing method, device, equipment and storage medium
CN110231922B (en) * 2019-05-23 2021-01-22 珠海格力电器股份有限公司 Mobile terminal display control method and mobile terminal

Also Published As

Publication number Publication date
CN110704008A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
US9547525B1 (en) Drag toolbar to enter tab switching interface
US9348508B2 (en) Automatic detection of user preferences for alternate user interface model
EP3805908B1 (en) Annotation display method, device and apparatus, and storage medium
US9720571B2 (en) Immersive mode for a web browser
CA2922060C (en) Swipe toolbar to switch tabs
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
US20140157173A1 (en) Electronic apparatus and method of controlling the same
US9152316B2 (en) Electronic device, controlling method thereof, and non-transitory storage medium
KR20130050607A (en) Method and apparatus for managing reading in device
RU2640721C2 (en) System and method of displaying pages on mobile device
DE112013006093T5 (en) System and method for providing energy savings in a processor environment
CN106814954A (en) Information saving method and system
US9367223B2 (en) Using a scroll bar in a multiple panel user interface
US8671272B2 (en) Method and system for changing bios settings via touch control interface by executing an application under OS without entering system management mode
US20180120922A1 (en) Reducing the power consumption of an information handling system capable of handling both dynamic and static display applications
CN103869926A (en) Power saving method and electronic device
EP3079049A2 (en) Content display device, content display program, and content display method
US20240086136A1 (en) Display method and display apparatus
CN106527806A (en) Method and device for realizing touch control processing
CN103838538A (en) Method and device for controlling time length for activating backlight
CN110704008B (en) Data reading and writing method and device
US20090287897A1 (en) Control of access to an external storage device
CN109145241B (en) Browser and content display management method of browser
US20160092086A1 (en) Handheld electronic device and setting menu access method of the same
US11106243B2 (en) Display screen configuration

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