Information processing method, electronic device and storage medium

By reading the information of the external storage unit in the electronic device according to the time threshold and the maximum number of reads, and sending it to the display unit when the information is inconsistent with the display unit, the interference radiation problem caused by high-frequency communication is solved and the EMC certification test is improved. pass rate and real-time display.

CN112394899BActive Publication Date: 2024-10-29GUANGDONG MIDEA CONSUMER ELECTRICS MFG CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN201910758636.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-16
Publication Date
2024-10-29
Estimated Expiration
2039-08-16

AI Technical Summary

Technical Problem

High-frequency communication causes interference radiation in high-end display devices with thin-film field-effect transistor screens, affecting electromagnetic compatibility (EMC) certification testing.

Method used

In electronic equipment, the information of the external storage unit is read according to the time threshold and the maximum number of reads, and is sent to the display unit when the information is inconsistent with the display unit, reducing invalid communication and avoiding high-frequency interference radiation.

Benefits of technology

It reduces the impact of interference radiation on EMC certification testing, ensures real-time display and reduces the number of communications, and avoids the superposition of interference radiation caused by multiple high-frequency communications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112394899B_ABST
    Figure CN112394899B_ABST
Patent Text Reader

Abstract

The present invention discloses an information processing method, which comprises: an electronic device reads information in an external storage unit at a first frequency within a time threshold; when the read information is inconsistent with information displayed by a display unit, the read information is sent to the display unit. The present invention also discloses an electronic device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a processing method in the electronic field, and in particular to an information processing method, an electronic device and a storage medium. Background Art

[0002] High-end products with thin film field effect transistor (TFT) screen display usually use serial peripheral interface (SPI) communication to update pictures and other information faster; at the same time, in order to update the visual experience, real-time reading and writing of flash memory are also performed. However, long-term high-frequency communication will generate interference radiation, affecting the electromagnetic compatibility (EMC) certification test. Summary of the invention

[0003] The embodiments of the present invention provide an information processing method, an electronic device and a storage medium, so that when the electronic device reads information from an external storage unit and sends the read information to a display unit for display, the influence of interference radiation on EMC certification testing can be reduced.

[0004] The technical solution of the embodiment of the present invention is achieved as follows:

[0005] In a first aspect, an embodiment of the present invention provides an information processing method, comprising: an electronic device reads information in an external storage unit at a first frequency within a time threshold; when the read information is inconsistent with information displayed by a display unit, sending the read information to the display unit.

[0006] In the above solution, when the read information is consistent with the information displayed by the display unit, when the time threshold is reached, the information read within the time threshold is sent to the display unit.

[0007] In the above solution, before the time threshold is reached, when the number of times the electronic device reads the external storage unit is equal to a preset maximum number of reads, any information read from the external storage unit is sent to the display unit.

[0008] In the above scheme, the electronic device continues to read the information in the external storage unit, and when the time difference between the time threshold and the time required for the electronic device to read the information in the external storage unit a maximum number of times is reached, the information read within the time difference is sent to the display unit.

[0009] In the above solution, before sending the information to the display unit, the method further includes: storing the information in a cache of the electronic device.

[0010] In a second aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0011] A reading unit, used for reading information in the external storage unit according to a first frequency;

[0012] The sending unit is used to send the read information to the display unit when the read information is inconsistent with the information displayed by the display unit.

[0013] In the above solution, the sending unit is also used for:

[0014] In the case where the read information is consistent with the information displayed by the display unit, when the time threshold is reached, the information read within the time threshold is sent to the display unit.

[0015] In the above solution, the sending unit is also used for:

[0016] Before the time threshold is reached, when the number of times the reading unit reads the external storage unit is equal to a preset maximum number of readings, any information read from the external storage unit is sent to the display unit.

[0017] In the above solution, the reading unit is also used for:

[0018] Continue to read the information in the external storage unit;

[0019] In the above solution, the sending unit is also used for:

[0020] When the time difference between the time threshold and the time required for the reading unit to read the information in the external storage unit a maximum number of times is reached, the information read within the time difference and consistent with the information displayed by the display unit is sent to the display unit.

[0021] In the above solution, the electronic device further includes:

[0022] The cache unit is used to store information of the electronic device.

[0023] An embodiment of the present invention further provides a storage medium storing an executable program, wherein when the executable program is executed by a processor, the above-mentioned information processing method is implemented.

[0024] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and an executable program stored in the memory and capable of being run by the processor, wherein the processor implements the steps of the information processing method when running the executable program.

[0025] The information processing method, electronic device and storage medium provided by the embodiment of the present invention, the electronic device reads the information in the external storage unit according to the first frequency within the time threshold, and sends the read information to the display unit when the read information is inconsistent with the information displayed by the display unit. In this way, it can be realized that the read information is sent to the display unit only when the read information is inconsistent with the information displayed by the display unit. In this way, not only the real-time display can be guaranteed, but also the number of transmissions can be reduced, avoiding the prior art that no matter whether there is updated information in the external storage unit, the electronic device must read the information from the external storage unit and output the read information to the display unit in real time, resulting in the superposition of interference radiation of multiple high-frequency communications, affecting the EMC certification test. The real-time example of the present invention also provides that by setting the maximum number of reads of the external storage unit by the electronic device, the electronic device reads the external storage unit according to the set maximum number of reads, which can not only ensure that the information stored in the external storage unit is read, but also avoid the increase of interference radiation of high-frequency communications caused by multiple reads without restriction, affecting the EMC certification. At the same time, the embodiment of the present invention also sets a time threshold so that the electronic device periodically outputs the stored information to the display unit at intervals of the time threshold, which not only ensures the real-time display of the display unit, but also reduces the number of transmissions, thereby avoiding the electronic device in the prior art outputting the stored information to the display unit multiple times, resulting in the superposition of interference radiation from multiple high-frequency communications, affecting EMC certification. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A schematic diagram of the software / hardware structure of an electronic device according to an embodiment of the present invention;

[0027] Figure 2 A schematic diagram of the connection between an external storage unit, an electronic device, and a display unit provided in an embodiment of the present invention;

[0028] Figure 3 Schematic diagram of optional process of information processing method provided by embodiments of the present invention Figure 1 ;

[0029] Figure 4 Schematic diagram of optional process of information processing method provided by embodiments of the present invention Figure 2 ;

[0030] Figure 5 Schematic diagram of optional process of information processing method provided by embodiments of the present invention Figure 3 ;

[0031] Figure 6 Schematic diagram of optional process of information processing method provided by embodiments of the present invention Figure 4 ;

[0032] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0034] Now, the electronic device implementing various embodiments of the present invention will be described with reference to the accompanying drawings. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only to facilitate the description of the present invention, and has no specific meaning in itself. Therefore, "module" and "component" can be used interchangeably.

[0035] Electronic devices can be implemented in various forms. For example, the terminal described in the present invention may include electronic devices such as mobile phones, smart phones, laptops, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, etc., and fixed terminals such as digital TVs, desktop computers, small household appliances, etc. Below, it is assumed that the terminal is a mobile device. However, it will be appreciated by those skilled in the art that, in addition to components specifically for mobile purposes, the construction according to the embodiments of the present invention can also be applied to fixed type terminals.

[0036] Figure 1 The following is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0037] The electronic device may include a wireless communication unit 110, a user input unit 130, an output unit 150, a memory 160, an interface unit 170, a controller 180, a power supply unit 190, and the like. Figure 1 An electronic device with various components is shown, but it should be understood that it is not required to implement all of the components shown. More or fewer components may be implemented instead. The elements of the electronic device will be described in detail below.

[0038] The wireless communication unit 110 generally includes one or more components that allow radio communication between the electronic device and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless Internet module 113, a short-range communication module 114, and a location information module 115.

[0039] The broadcast receiving module 111 receives broadcast signals and / or broadcast related information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and / or a terrestrial channel. The broadcast management server may be a server that generates and sends a broadcast signal and / or broadcast related information or a server that receives a previously generated broadcast signal and / or broadcast related information and sends it to the terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Moreover, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast related information may also be provided via a mobile communication network, and in this case, the broadcast related information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an electronic program guide (EPG) of digital multimedia broadcasting (DMB), an electronic service guide (ESG) of digital video broadcast handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast using various types of broadcast systems. In particular, the broadcast receiving module 111 can use digital multimedia broadcasting - terrestrial (DMB-T), digital multimedia broadcasting - satellite (DMB-S), digital video broadcasting - handheld (DVB-H), forward link media (MediaFLO @ The broadcast receiving module 111 may be configured to receive digital broadcasts from a digital broadcasting system such as a digital broadcasting system of the United States, a digital broadcasting system of the United States, an integrated service for terrestrial digital broadcasting (ISDB-T), etc. The broadcast receiving module 111 may be configured to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signals and / or broadcast-related information received via the broadcast receiving module 111 may be stored in the memory 160 (or other types of storage media).

[0040] The mobile communication module 112 transmits and / or receives radio signals to and / or from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and / or received according to text and / or multimedia messages.

[0041] The wireless Internet module 113 supports wireless Internet access of the electronic device. The module can be coupled to the terminal internally or externally. The wireless Internet access technology involved in the module can include wireless LAN (Wi-Fi), wireless broadband (Wibro), World Wide Web of Microwave Access (Wimax), high-speed downlink packet access (HSDPA), etc.

[0042] The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include Bluetooth TM , Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra-Wideband (UWB), ZigBeeTM etc.

[0043] The location information module 115 is a module for checking or obtaining the location information of the electronic device. A typical example of the location information module is a global positioning system (GPS) module. According to current technology, the GPS module calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude and altitude. Currently, the method for calculating location and time information uses three satellites and corrects the error of the calculated location and time information by using another satellite. In addition, the GPS module can calculate speed information by continuously calculating the current location information in real time.

[0044] The user input unit 130 can generate key input data according to the command input by the user to control various operations of the electronic device. The user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (e.g., a touch-sensitive component that detects changes in resistance, pressure, capacitance, etc. caused by being touched), a scroll wheel, a rocker, etc. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.

[0045] The interface unit 170 is used as an interface through which at least one external device can be connected to the electronic device. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The identification module may be a storage for various information used to verify that the user uses the electronic device and may include a user identification module (UIM), a customer identification module (SIM), a universal customer identification module (USIM), etc. In addition, the device with the identification module (hereinafter referred to as "identification device") may take the form of a smart card, so the identification device may be connected to the electronic device via a port or other connection device. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device or may be used to transmit data between the electronic device and the external device.

[0046] In addition, when the electronic device is connected to an external base, the interface unit 170 can be used as a path through which power is provided from the base to the electronic device or can be used as a path through which various command signals input from the base are transmitted to the electronic device. Various command signals or power input from the base can be used as signals for identifying whether the electronic device is accurately installed on the base. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and / or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.

[0047] The display unit 151 can display information processed in the electronic device. For example, when the electronic device is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to the call or other communications (e.g., text message transmission and reception, multimedia file downloading, etc.). When the electronic device is in a video call mode or an image capture mode, the display unit 151 can display a captured image and / or a received image, a UI or GUI showing a video or image and related functions, etc.

[0048] Meanwhile, when the display unit 151 and the touch pad are superimposed on each other in the form of a layer to form a touch screen, the display unit 151 can be used as an input device and an output device. The display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a transparent organic light emitting diode (TOLED) display, and the like. According to a specific desired embodiment, the electronic device may include two or more display units (or other display devices), for example, the electronic device may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect touch input pressure as well as touch input position and touch input area.

[0049] The audio output module 152 can convert the audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output it as sound when the electronic device is in a call signal receiving mode, a talk mode, a recording mode, a voice recognition mode, a broadcast receiving mode, etc. Also, the audio output module 152 can provide audio outputs related to a specific function performed by the electronic device (e.g., a call signal receiving sound, a message receiving sound, etc.). The audio output module 152 may include a speaker, a buzzer, etc.

[0050] The alarm unit 153 can provide an output to notify the occurrence of an event to the electronic device. Typical events may include call reception, message reception, key signal input, touch input, etc. In addition to audio or video output, the alarm unit 153 can provide outputs in different ways to notify the occurrence of events. For example, the alarm unit 153 can provide outputs in the form of vibrations, and when a call, message or some other incoming communication is received, the alarm unit 153 can provide a tactile output (i.e., vibration) to notify the user. By providing such a tactile output, even when the user's mobile phone is in the user's pocket, the user can recognize the occurrence of various events. The alarm unit 153 can also provide an output of the occurrence of a notification event via the display unit 151 or the audio output module 152.

[0051] The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data that has been output or is to be output (e.g., a phone book, messages, still images, videos, etc.). Also, the memory 160 may store data on vibrations and audio signals in various patterns that are output when a touch is applied to the touch screen.

[0052] The memory 160 may include at least one type of storage medium, including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. Moreover, the electronic device may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.

[0053] The controller 180 generally controls the overall operation of the electronic device. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, etc. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed to be separated from the controller 180. The controller 180 may perform pattern recognition processing to recognize handwriting input or picture drawing input performed on the touch screen as characters or images.

[0054] The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180 .

[0055] The various embodiments described herein can be implemented using computer readable media such as computer software, hardware, or any combination thereof. For hardware implementation, the embodiments described herein can be implemented using at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments can be implemented in the controller 180. For software implementation, embodiments such as processes or functions can be implemented with separate software modules that allow the execution of at least one function or operation. The software code can be implemented by a software application (or program) written in any appropriate programming language, which can be stored in the memory 160 and executed by the controller 180.

[0056] So far, the electronic device has been described according to its function. Below, for the sake of brevity, a sliding type electronic device among various types of electronic devices such as a folding type, a straight type, a swing type, a sliding type electronic device, etc. will be described as an example. Therefore, the present invention can be applied to any type of electronic device and is not limited to the sliding type electronic device.

[0057] like Figure 1 The electronic devices shown in may be configured to operate using communications systems such as wired and wireless communications and satellite-based communications systems that transmit data via frames or packets.

[0058] Figure 2 A connection diagram of an external storage unit, an electronic device, and a display unit provided in an embodiment of the present invention is shown, and will be described based on each module.

[0059] The external storage unit 201 is used to store information that needs to be displayed, such as images, videos, important information, etc.

[0060] The electronic device 202 , the user reads the information to be displayed stored in the external storage unit 201 , and outputs the information read from the external storage unit 201 to the display unit 203 .

[0061] The display unit 203 is used to receive and display the information read from the external storage unit 201 and output by the electronic device 202.

[0062] In the following embodiments, the external storage unit 201 is a flash memory and the display unit is a TFT screen.

[0063] Figure 3 The optional process diagram of the information processing method provided by the embodiment of the present invention is shown Figure 1 , which will be explained according to each step.

[0064] Step S301: The electronic device reads information in an external storage unit at a first frequency within a time threshold.

[0065] Here, the time threshold is a set time interval, and the electronic device sends the information read from the external storage unit to the display unit with the time threshold as a period. The first frequency can be a set frequency for reading the external storage unit, or it can be the inherent frequency of the electronic device itself reading information from the storage unit. Here, the storage unit can be an external storage unit or a storage unit inside the electronic device.

[0066] The external storage unit refers to a storage unit located outside the electronic device.

[0067] In some embodiments, the time threshold can be set to 2 seconds and the reading frequency can be set to 0.1 seconds; here, the electronic device will read the information in the external storage unit within 2 seconds at a reading frequency of 0.1 seconds. The number of reads is calculated based on the time threshold and the reading frequency, and the calculation method is:

[0068] Number of reads = time threshold / read frequency + 1.

[0069] Step S302: When the read information is inconsistent with the information displayed by the display unit, the read information is sent to the display unit.

[0070] Here, the information displayed by the display unit refers to the information that was most recently sent to the display unit by the electronic device and is currently displayed by the display unit. The information read is inconsistent with the information displayed by the display unit, which means that among the N (N is a positive integer greater than or equal to 1) pieces of information currently read, at least one of the information read is different from the information that was most recently sent to the display unit by the electronic device.

[0071] In some optional embodiments, each time information is read from an external storage unit, the electronic device compares the read information with the information currently displayed by the display unit. If the comparison result is consistent, the read information is considered to be consistent with the information displayed by the display unit; if the comparison result is inconsistent, the read information is considered to be inconsistent with the information displayed by the display unit.

[0072] In some embodiments, there is only one time when the read information is different from the information currently displayed by the display unit. After the electronic device detects that the read information is different from the information currently displayed by the display unit, it sends the read information different from the information currently displayed by the display unit to the display unit.

[0073] For example, when the information displayed on the display unit first is the number "2", and the information read by the electronic device is the number "2", the number "2", and the number "5" three times in a row, then the electronic device only needs to send the read information among the three times that is different from the information currently displayed on the display unit to the display unit, that is, the electronic device sends information with the content "5" to the display unit.

[0074] In other embodiments, there is information that is read multiple times and is different from the information currently displayed by the display unit; if among the information read by the electronic device, the information read at least twice is different from the information currently displayed by the display unit, and the content of the information read by the electronic device each time is the same, then the electronic device may only send to the display unit any information that is read once and is different from the information currently displayed by the display unit.

[0075] For example, when the information displayed on the display unit first is the number "2", and the electronic device reads the number "5" for three consecutive times, the electronic device only needs to send any one of the three read information to the display unit, that is, the electronic device only sends information with the content "5" to the display unit once.

[0076] If at least two of the information read by the electronic device are different from the information currently displayed by the display unit, and the two read information are different in content from the currently displayed information, the electronic device sends the read information to the display unit in the reading order.

[0077] For example, the information currently displayed on the display unit is the number "2", and the electronic device reads the numbers "5", "7" and "3" from the external storage unit in sequence. The electronic device then sends information containing the numbers "5", "7" and "3" to the display unit in sequence according to the reading order.

[0078] If among the information read by the electronic device, at least three times of the information read are different from the information currently displayed by the display unit, and among the three times of information read that are different from the currently displayed information, there are different information and there are consecutive identical information, then the electronic device sends the time information of the multiple read information to the display unit while sending the different display information read.

[0079] The time information refers to the reading order and reading interval of the electronic device reading the multiple read information. The reading order is used by the display unit to distinguish the display order of the multiple read information; the reading interval is the time when each read information is displayed when the display unit displays the multiple read information.

[0080] For example, the information currently displayed on the display unit is the number "2". The electronic device reads the numbers "5", "5", "7", "6", "6", and "6" from the external storage unit in sequence at a reading frequency of 0.1 seconds. The electronic device then sends the numbers "5", "7", and "6" to the display unit, and at the same time sends the time information: the number "5" is displayed for 0.2 seconds, the number "7" is displayed for 0.1 seconds, and the number "6" is displayed for 0.3 seconds.

[0081] In some embodiments, after executing step S301 and before executing step S302, the method may further include:

[0082] Step S300, storing information in a cache of the electronic device.

[0083] The information includes: all information read by the electronic device from an external storage unit.

[0084] The electronic device stores all information read from the external storage unit in the cache, and outputs the stored information to the display unit when the output condition is triggered.

[0085] The trigger output condition may be that the read information is inconsistent with the information displayed by the display unit. If the trigger output condition is met, step S302 is performed, otherwise, the electronic device continues to read the information stored in the external storage unit according to step S301, and performs step S300 to store the information read from the external storage unit in the cache of the electronic device.

[0086] In some optional embodiments, after executing step S302, the method may further include:

[0087] Step S303, clear the timer, restart the timer, and return to step S301.

[0088] The timer is used to record the time when the electronic device reads the external storage unit; the timer is reset to zero, which means that the time when the electronic device reads the external storage unit stored in the timer is recorded as 0.

[0089] In this way, within the time threshold, if it is detected that the read information is inconsistent with the currently displayed information, the electronic device will send the stored information to the display unit, which ensures the real-time display information on the one hand, and reduces the number of transmissions on the other hand, avoiding the transmission of the same information as the currently displayed information to the display unit, resulting in the superposition of interference radiation from multiple high-frequency communications, affecting the EMC certification test. At the same time, when there are multiple read information that is different from the displayed information, if the multiple read information is the same, only the information read at any one time is sent to the display unit; if the multiple read information is different, the time information of the multiple read information is sent at the same time as the multiple read information is sent, so that the real-time display information, as well as the sequence and residence time can be guaranteed.

[0090] Figure 4 The optional process diagram of the information processing method provided by the embodiment of the present invention is shown Figure 2 , which will be explained according to each step.

[0091] Step S401: The electronic device reads information in an external storage unit at a first frequency within a time threshold.

[0092] Here, the time threshold is a set time interval, and the electronic device sends the information read from the external storage unit to the display unit with the time threshold as a period. The first frequency can be a set frequency for reading the external storage unit, or it can be the inherent frequency of the electronic device itself reading information from the storage unit. Here, the storage unit can be an external storage unit or a storage unit inside the electronic device.

[0093] The external storage unit refers to a storage unit located outside the electronic device.

[0094] In some embodiments, the time threshold can be set to 2 seconds and the reading frequency can be set to 0.1 seconds; here, the electronic device will read the information in the external storage unit within 2 seconds at a reading frequency of 0.1 seconds. The number of reads is calculated based on the time threshold and the reading frequency, and the calculation method is:

[0095] Number of reads = time threshold / read frequency + 1.

[0096] Step S402: When the read information is consistent with the information displayed by the display unit, the read information is sent to the display unit when the time threshold is reached.

[0097] Here, the information displayed by the display unit refers to the information that was most recently sent to the display unit by the electronic device and is currently displayed by the display unit. The information read is consistent with the information displayed by the display unit, which means that when M (M is a positive integer greater than or equal to 1) pieces of information are read, each piece of information read is consistent with the information that was most recently sent to the display unit by the electronic device.

[0098] In an optional embodiment, each time information is read from an external storage unit, the electronic device compares the read information with the information currently displayed by the display unit. If the comparison result is consistent, the read information is considered to be consistent with the information displayed by the display unit; if the comparison result is inconsistent, the read information is considered to be inconsistent with the information displayed by the display unit.

[0099] In an optional embodiment, when the time threshold is reached, any information read out of the M identical information is sent to the display unit. Here, the M information read out within the time threshold is completely consistent with the information sent to the display unit by the electronic device the most recently, so it is not necessary to transmit all the M information to the display unit, and only the information read out once needs to be transmitted randomly.

[0100] For example, the time threshold is set to 2 seconds, the reading frequency is 0.1 seconds, the information currently displayed on the display unit is the number "2", and the electronic device reads information from the external storage unit. The 21 pieces of information read are exactly the same number "2", then when the time threshold is reached, any number "2" read at one time will be sent to the display unit.

[0101] In some embodiments, after executing step S401 and before executing step S402, the method may further include:

[0102] Step S400: storing information in a cache of the electronic device.

[0103] The information includes: all information read from the external storage unit.

[0104] The cache of the electronic device stores all the information read from the external storage unit, and when the sending condition is triggered, the stored information is sent to the display unit.

[0105] Wherein, the trigger output condition may be: time reaches a time threshold. If the trigger output condition is met, step S402 is performed, otherwise, the electronic device continues to read the information stored in the external storage unit according to step S401, and performs step S400 to store the information read from the external storage unit in the cache of the electronic device.

[0106] In some optional embodiments, after executing step S402, the method may further include:

[0107] Step S403, clear the timer, restart the timer, and return to step S401.

[0108] The timer is used to record the time when the electronic device reads the external storage unit; the timer is reset to zero, which means that the time when the electronic device reads the external storage unit stored in the timer is recorded as 0.

[0109] In this way, when the time threshold is reached, the electronic device sends the stored information to the display unit. On the one hand, it ensures the real-time nature of the displayed information. On the other hand, it avoids transmitting the same information as the currently displayed information to the display unit, resulting in the superposition of interference radiation from multiple high-frequency communications, affecting the EMC certification test.

[0110] Figure 5 The optional process diagram of the information processing method provided by the embodiment of the present invention is shown Figure 3 , which will be explained according to each step.

[0111] Step S501: The electronic device reads information in an external storage unit at a first frequency within a time threshold.

[0112] Here, the time threshold is a set time interval, and the electronic device sends the information read from the external storage unit to the display unit with the time threshold as a period. The first frequency can be a set frequency for reading the external storage unit, or it can be the inherent frequency of the electronic device itself reading information from the storage unit. Here, the storage unit can be an external storage unit or a storage unit inside the electronic device.

[0113] The external storage unit refers to a storage unit located outside the electronic device.

[0114] In some embodiments, the time threshold can be set to 2 seconds and the reading frequency can be set to 0.1 seconds; here, the electronic device will read the information in the external storage unit within 2 seconds at a reading frequency of 0.1 seconds. The number of reads is calculated based on the time threshold and the reading frequency, and the calculation method is:

[0115] Number of reads = time threshold / read frequency + 1.

[0116] In some optional embodiments, the first frequency and the maximum number of reads may be set at the same time, and the electronic device reads the information in the external storage unit according to the first frequency and the maximum number of reads within the time threshold. The product of the first frequency and the maximum number of reads set above may be less than or equal to the time threshold, or may be greater than the time threshold.

[0117] In other optional embodiments, only a maximum number of read times may be set, and the electronic device reads information in the external storage unit within a time threshold according to the maximum number of read times and the inherent frequency of the electronic device itself until the maximum number of read times is reached.

[0118] Step S502, when the time threshold is not reached, determine whether the actual number of reads is equal to the maximum number of reads; if so, proceed to step S503, if not, proceed to step S504.

[0119] In the embodiment of the present invention, it is necessary to pre-set a maximum number of read times for reading the external storage unit. When the time threshold is not reached but the actual number of read times is equal to the set maximum number of read times, the electronic device executes step S503.

[0120] When the time threshold is not reached but the actual number of reads is less than the set maximum number of reads, the electronic device continues to read information from the external storage unit at the first frequency. At this time, the information read by the electronic device is consistent with the information currently displayed by the display unit.

[0121] In an optional embodiment, each time information is read from an external storage unit, the electronic device compares the read information with the information currently displayed by the display unit. If the comparison result is consistent, the read information is considered to be consistent with the information displayed by the display unit; if the comparison result is inconsistent, the read information is considered to be inconsistent with the information displayed by the display unit.

[0122] Step S503: the electronic device sends any information read from the external storage unit to the display unit.

[0123] Here, the information displayed by the display unit refers to the information that was most recently sent to the display unit by the electronic device and is currently displayed by the display unit. The information read is consistent with the information displayed by the display unit, which means that when K (K is a positive integer greater than 1) pieces of information are read, each piece of information read is consistent with the information that was most recently sent to the display unit by the electronic device.

[0124] In an optional embodiment, when the actual number of reads is equal to the set maximum number of reads, the electronic device sends any information read once among the K identical information actually read to the display unit. Here, the K information actually read is completely consistent with the information most recently sent to the display unit by the electronic device, so it is not necessary to transmit all the K information to the display unit, and only the information read once needs to be randomly transmitted.

[0125] For example, the time threshold is set to 2 seconds, the reading frequency is 0.1 seconds, the maximum number of reads is set to 10 times, the information currently displayed on the display unit is the number "2", and the electronic device reads information from the external storage unit. The 10 pieces of information read according to the maximum number of reads are exactly the same number "2". In this case, if the actual number of reads is equal to the maximum number of reads, the number "2" read at any time will be sent to the display unit.

[0126] Step S504: the electronic device continues to read the information in the external storage unit at the first frequency.

[0127] Step S505, when the time difference between the time threshold and the time required for the electronic device to read the information in the external storage unit a maximum number of times is reached, the information read within the time difference and consistent with the information currently displayed by the display unit is sent to the display unit.

[0128] Since the time threshold has not been reached when the information read by the electronic device at any time is sent to the display unit in step S503, the electronic device proceeds to step S504, continues to read information from the external storage unit until the time threshold is reached, and sends to the display unit the information that is consistent with the information currently displayed on the display unit and is read within the time difference between the time threshold and the time required for the electronic device to read the maximum number of times.

[0129] For example, if the time threshold is set to 2 seconds, the reading frequency is 0.1 seconds, the maximum number of readings is set to 10 times, and the time required for reading 10 times is 0.9 seconds, then at 0.9 seconds, the electronic device will send the information read from any one of the 10 times to the display unit, and continue to read the information from the external storage unit until the time threshold is reached, and the information read from any one of the 11 times between 0.9 seconds and 2 seconds is sent to the display unit.

[0130] In some embodiments, after executing step S504 and before executing step S505, the method may further include:

[0131] Step S506: When the information read within the time difference is inconsistent with the information displayed by the display unit, the read information is sent to the display unit.

[0132] Here, the information displayed by the display unit refers to the information that was most recently sent to the display unit by the electronic device and is currently displayed by the display unit. The information read is inconsistent with the information displayed by the display unit, which means that among the K (K is a positive integer greater than or equal to 1) pieces of information read within the time difference, at least one of the information read is different from the information that was most recently sent to the display unit by the electronic device.

[0133] In an optional embodiment, each time information is read from an external storage unit, the electronic device compares the read information with the information currently displayed by the display unit. If the comparison result is consistent, the read information is considered to be consistent with the information displayed by the display unit; if the comparison result is inconsistent, the read information is considered to be inconsistent with the information displayed by the display unit.

[0134] In some embodiments, if the information read within the time difference is different from the information currently displayed by the display unit only once, the electronic device detects that the read information is different from the information currently displayed by the display unit and sends the read information different from the information currently displayed by the display unit to the display unit.

[0135] For example, when the information displayed on the display unit first is the number "2", and the electronic device reads the number "2", the number "2", and the number "5" three times in a row within the time difference, the electronic device only needs to send the read information of the three times that is different from the information currently displayed on the display unit to the display unit, that is, the electronic device sends the information "5" to the display unit.

[0136] In other embodiments, there are multiple times when the information read by the electronic device within the time difference is different from the information currently displayed by the display unit; if among the information read by the electronic device within the time difference, at least two times the information read is different from the information currently displayed by the display unit, and the content of the information read by the electronic device each time is the same, then the electronic device may only send to the display unit any information read once that is different from the information currently displayed by the display unit.

[0137] For example, when the information displayed on the display unit first is the number "2", and the electronic device reads the number "5" for three consecutive times within the time difference, the electronic device only needs to send any one of the three read information to the display unit, that is, the electronic device only sends information with the content "5" to the display unit once.

[0138] If among the information read by the electronic device within the time difference, at least two pieces of information read are different from the information currently displayed by the display unit, and the two pieces of information read have different contents from the currently displayed information, then the electronic device sends the information read within the time difference to the display unit in the reading order.

[0139] For example, the information currently displayed on the display unit is the number "2", and the electronic device reads the numbers "5", "7" and "3" in sequence from the external storage unit within the time difference, then the electronic device sends information containing the numbers "5", "7" and "3" to the display unit in sequence according to the reading order.

[0140] If among the information read by the electronic device within the time difference, at least three times of the information read are different from the information currently displayed by the display unit, and among the three times of information read that are different from the currently displayed information, there are different information and consecutive identical information, then the electronic device sends the time information of the multiple read information to the display unit while sending the different display information read.

[0141] The time information refers to the reading order and reading interval of the electronic device reading the multiple read information within the time difference. The reading order is used by the display unit to distinguish the display order of the multiple read information; the reading interval is the time when each read information is displayed when the display unit displays the multiple read information.

[0142] For example, the information currently displayed on the display unit is the number "2", and the electronic device reads the numbers "5", "5", "7", "6", "6", and "6" from the external storage unit in sequence at a reading frequency of 0.1 seconds within the time difference. The electronic device then sends the numbers "5", "7", and "6" to the display unit, and at the same time sends the time information: the number "5" is displayed for 0.2 seconds, the number "7" is displayed for 0.1 seconds, and the number "6" is displayed for 0.3 seconds.

[0143] In some embodiments, after executing step S501 and before executing step S502, the method may further include:

[0144] Step S500: storing information in a cache of the electronic device.

[0145] The information includes: all information read by the electronic device from an external storage unit.

[0146] The electronic device stores all information read from the external storage unit in the cache, and outputs the stored information to the display unit when the output condition is triggered.

[0147] The trigger condition may be: before the time threshold is reached, the actual number of times the electronic device reads the external storage unit is equal to the preset maximum number of times. If the trigger output condition is met, that is, step S502 is met, step S503 is performed, otherwise, the electronic device continues to read the information stored in the external storage unit according to step S501, and executes step S500 to store the information read from the external storage unit in the cache of the electronic device.

[0148] In some optional embodiments, after executing step S505, the method may further include:

[0149] Step S507, clear the counter, restart the counter, and return to step S501.

[0150] The counter is used to record the number of times the electronic device reads the external storage unit; clearing the counter means recording the number of times the electronic device reads the external storage unit stored in the counter as 0.

[0151] In this way, within the time threshold, it is detected that the actual number of reads is equal to the set maximum number of reads, and the electronic device sends the stored information to the display unit. On the one hand, the real-time nature of the displayed information is guaranteed, and on the other hand, the number of transmissions is reduced, avoiding the transmission of the same information as the currently displayed information to the display unit, resulting in the superposition of interference radiation from multiple high-frequency communications, affecting the EMC certification test. At the same time, when the time threshold is reached, the electronic device again sends the read information within the stored time difference to the display unit. When there are multiple read information that are different from the displayed information, if the multiple read information is the same, only the information read at any one time is sent to the display unit; if the multiple read information is different, the time information of the multiple read information is sent at the same time as the multiple read information is sent. In this way, the real-time nature, sequence, and dwell time of the displayed information can be guaranteed.

[0152] Figure 6 The optional process diagram of the information processing method provided by the embodiment of the present invention is shown Figure 4 , which will be explained according to each step.

[0153] Step S601: The electronic device reads information in an external storage unit at a first frequency within a time threshold.

[0154] Here, the time threshold is a set time interval, and the electronic device sends the information read from the external storage unit to the display unit with the time threshold as a period. The first frequency can be a set frequency for reading the external storage unit, or it can be the inherent frequency of the electronic device itself reading information from the storage unit. Here, the storage unit can be an external storage unit or a storage unit inside the electronic device.

[0155] The external storage unit refers to a storage unit located outside the electronic device.

[0156] In some embodiments, the time threshold can be set to 2 seconds and the reading frequency can be set to 0.1 seconds; here, the electronic device will read the information in the external storage unit within 2 seconds at a reading frequency of 0.1 seconds. The number of reads is calculated based on the time threshold and the reading frequency, and the calculation method is:

[0157] Number of reads = time threshold / read frequency + 1.

[0158] In an optional embodiment, the first frequency and the maximum number of reads may be set at the same time, and the electronic device reads the information in the external storage unit according to the first frequency and the maximum number of reads within the time threshold. The product of the first frequency and the maximum number of reads set above may be less than or equal to the time threshold, or may be greater than the time threshold.

[0159] In another optional embodiment, only a maximum number of read times may be set, and the electronic device reads information in the external storage unit within a time threshold according to the maximum number of read times and the inherent frequency of the electronic device itself until the maximum number of read times is reached.

[0160] Step S602, when the time threshold is not reached, determine whether the actual number of reads is equal to the set maximum number of reads, if the actual number of reads is equal to the maximum number of reads, proceed to step S6041, otherwise, proceed to step S6031.

[0161] Step S6041: the electronic device sends the read information to the display unit.

[0162] Here, the information displayed by the display unit refers to the information that was most recently sent to the display unit by the electronic device and is currently displayed by the display unit. The information read is consistent with the information displayed by the display unit, which means that when L (L is a positive integer greater than 1) pieces of information are read, each piece of information read is consistent with the information that was most recently sent to the display unit by the electronic device.

[0163] In an optional embodiment, when the actual number of reads is equal to the set maximum number of reads, the electronic device sends any information read once among the L identical information actually read to the display unit. Here, the L information actually read is completely consistent with the information most recently sent to the display unit by the electronic device, so it is not necessary to transmit all the L information to the display unit, and only the information read once needs to be randomly transmitted.

[0164] For example, the time threshold is set to 2 seconds, the reading frequency is 0.1 seconds, the maximum number of reads is set to 10 times, the information currently displayed on the display unit is the number "2", and the electronic device reads information from the external storage unit. The 10 pieces of information read according to the maximum number of reads are exactly the same number "2". In this case, if the actual number of reads is equal to the maximum number of reads, the number "2" read at any time will be sent to the display unit.

[0165] Step S6042: the electronic device continues to read the information in the external storage unit at the first frequency.

[0166] Step S6043, determine whether the time threshold is reached, if reached, proceed to step S6045, otherwise, proceed to step S6044.

[0167] Step S6044, determine whether the read information is consistent with the currently displayed information, if consistent, return to step S6043, otherwise, proceed to step S6045.

[0168] Step S6045, sending the information read within the time difference between the time threshold and the time required for the electronic device to read the information in the external storage unit a maximum number of times to the display unit.

[0169] The electronic device continues to read information from the external storage unit until the time threshold is reached, and sends the information read within the time difference between the time threshold and the time required for the electronic device to read the maximum number of times to the display unit.

[0170] For example, if the time threshold is set to 2 seconds, the reading frequency is 0.1 seconds, the maximum number of readings is set to 10 times, and the time required for reading 10 times is 0.9 seconds, then at 0.9 seconds, the electronic device will send the information read from any one of the 10 times to the display unit, and continue to read the information from the external storage unit until the time threshold is reached, and the information read from any one of the 11 times between 0.9 seconds and 2 seconds is sent to the display unit.

[0171] Step S6031: the electronic device continues to read information in the external storage unit at the first frequency.

[0172] Step S6032, determine whether the time threshold is reached, if so, proceed to step S6034, otherwise, proceed to step S6033.

[0173] Step S6033, determine whether the read information is consistent with the currently displayed information, if consistent, return to step S6032, otherwise, proceed to step S6034.

[0174] Step S6034: the electronic device sends the read information to the display unit.

[0175] Based on the information processing method provided in the above embodiment, an embodiment of the present invention further provides an electronic device, and a schematic diagram of the composition structure of the electronic device is shown as follows: Figure 7 As shown, including:

[0176] A reading unit 701, configured to read information in an external storage unit at a first frequency within a time threshold;

[0177] The sending unit 702 is used to send the read information to the display unit when the read information is inconsistent with the information displayed by the display unit.

[0178] In one embodiment, the sending unit 702 is further configured to send the information read within the time threshold to the display unit when the time threshold is reached, if the read information is consistent with the information displayed by the display unit.

[0179] In one embodiment, the sending unit 702 is further used to send any information read from the external storage unit to the display unit when the number of times the reading unit 701 reads the external storage unit is equal to a preset maximum number of reads before the time threshold is reached.

[0180] In one embodiment, the reading unit 701 is further used to continue reading the information in the external storage unit;

[0181] The sending unit 702 is also used to send the information read within the time difference and consistent with the information displayed by the display unit to the display unit when the time difference between the time threshold and the time required for the reading unit to read the information in the external storage unit a maximum number of times is reached.

[0182] In one embodiment, the electronic device further includes:

[0183] The cache unit 700 is used to store the information read by the reading unit 701.

[0184] Optionally, the electronic device further includes:

[0185] The judgment unit is used to judge whether the current time reaches the time threshold; to judge whether the read information is consistent with the content of the information currently displayed on the display; and to judge whether the current reading number is greater than the set maximum reading number.

[0186] The counting unit is used to record the number of times the electronic device reads the external storage unit.

[0187] The timing unit is used to record the time when the electronic device reads the external storage unit.

[0188] The clearing unit is used to clear the number of times recorded in the counting unit; and is used to clear the time recorded in the timing unit.

[0189] An embodiment of the present application also provides a storage medium for storing a computer program.

[0190] Optionally, the storage medium can be applied to the electronic device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes in the various methods in the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0191] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0192] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0193] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0194] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An information processing method, characterized in that: The method comprises: The electronic device reads information in the external storage unit at a first frequency within a time threshold; In the case where the read information is inconsistent with the information displayed by the display unit, the read information is sent to the display unit; wherein the read information is inconsistent with the information displayed by the display unit, which means that among the N pieces of information currently read, at least one piece of information read is different from the most recent information sent by the electronic device to the display unit, and N is a positive integer greater than or equal to 1; The method further comprises: In the case where the read information is consistent with the information displayed by the display unit, when the time threshold is reached, the information read within the time threshold is sent to the display unit; The external storage unit is used to store information to be displayed, and the external storage unit is a flash memory; the display unit is a TFT screen.

2. The method according to claim 1, characterized in that The method further comprises: Before the time threshold is reached, when the number of times the electronic device reads the external storage unit is equal to a preset maximum number of reads, any information read from the external storage unit is sent to the display unit.

3. The method according to claim 2, characterized in that The method further comprises: The electronic device continues to read the information in the external storage unit. When the time difference between the time threshold and the time required for the electronic device to read the information in the external storage unit a maximum number of times is reached, the information read within the time difference and consistent with the information displayed by the display unit is sent to the display unit.

4. The method according to any one of claims 1 to 3, characterized in that: Before sending the information to the display unit, the method further includes: The information is stored in a cache of the electronic device.

5. An electronic device, characterized in that: The electronic device comprises: A reading unit, used for reading information in the external storage unit according to a first frequency; a sending unit, configured to send the read information to the display unit when the read information is inconsistent with the information displayed by the display unit; wherein the read information is inconsistent with the information displayed by the display unit, which means that among the N pieces of information currently read, at least one piece of information read is different from the most recent information sent by the electronic device to the display unit, and N is a positive integer greater than or equal to 1; The sending unit is further configured to send the information read within the time threshold to the display unit when the time threshold is reached if the read information is consistent with the information displayed by the display unit; The external storage unit is used to store information to be displayed, and the external storage unit is a flash memory; the display unit is a TFT screen.

6. The electronic device according to claim 5, characterized in that: The sending unit is further used to send any information read from the external storage unit to the display unit when the number of times the reading unit reads the external storage unit is equal to a preset maximum number of reads before the time threshold is reached.

7. The electronic device according to claim 6, characterized in that: The reading unit is further used to continue reading the information in the external storage unit; The sending unit is also used to send information read within the time difference and consistent with the information displayed by the display unit to the display unit when the time difference between the time threshold and the time required for the reading unit to read the information in the external storage unit a maximum number of times is reached.

8. The electronic device according to any one of claims 5 to 7, characterized in that: The electronic device further comprises: The cache unit is used to store the information read by the reading unit.

9. A storage medium having an executable program stored thereon, characterized in that: When the executable program is executed by a processor, the steps of the information processing method according to any one of claims 1 to 4 are implemented.

10. An electronic device comprising a memory, a processor, and an executable program stored in the memory and capable of being run by the processor, characterized in that: When the processor runs the executable program, the processor performs the steps of the information processing method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Electronic conference system and method thereof and conference participant terminal device

    CN101018315A

  • Electronic equipment and display and method for setting display parameters

    CN101515447A

  • Method for removing solid state storage system read errors

    CN103092531A

  • Information processing method and electronic equipment

    CN104660812A

  • Distributed file system-based processing method, server and client

    CN105871955A