CN111831098B - Method, device and system for synchronizing information and computer readable storage medium - Google Patents

Method, device and system for synchronizing information and computer readable storage medium Download PDF

Info

Publication number
CN111831098B
CN111831098B CN202010550508.4A CN202010550508A CN111831098B CN 111831098 B CN111831098 B CN 111831098B CN 202010550508 A CN202010550508 A CN 202010550508A CN 111831098 B CN111831098 B CN 111831098B
Authority
CN
China
Prior art keywords
processing unit
positioning system
positioning
information
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
CN202010550508.4A
Other languages
Chinese (zh)
Other versions
CN111831098A (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.)
Mobvoi Information Technology Co Ltd
Original Assignee
Mobvoi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mobvoi Information Technology Co Ltd filed Critical Mobvoi Information Technology Co Ltd
Priority to CN202010550508.4A priority Critical patent/CN111831098B/en
Publication of CN111831098A publication Critical patent/CN111831098A/en
Priority to EP21826898.5A priority patent/EP4167053A4/en
Priority to PCT/CN2021/070715 priority patent/WO2021253814A1/en
Application granted granted Critical
Publication of CN111831098B publication Critical patent/CN111831098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The invention discloses a method, a device, a system and a computer readable storage medium for information synchronization, wherein the method is applied to first electronic equipment, the first electronic equipment comprises a first processing unit for running a first operating system and a second processing unit for running a second operating system, the working energy consumption of the first processing unit is smaller than that of the second processing unit, and the method comprises the following steps: the first processing unit performs selection of a positioning system and stores the selected positioning system information; synchronizing the stored positioning system information to a second processing unit when the first triggering condition for executing the positioning system information synchronization is determined to be met; and the second processing unit executes processing related to positioning according to the obtained positioning system information. According to the embodiment of the invention, when the operating system with higher energy consumption starts the positioning function, the positioning information can be synchronized from the operating system with lower energy consumption, so that the repeated searching and determining of the energy consumption generated by the satellite navigation system are avoided, the equipment energy consumption is effectively reduced, and the user experience is improved.

Description

Method, device and system for synchronizing information and computer readable storage medium
Technical Field
The present invention relates to the field of wearable devices, and in particular, to a method, an apparatus, a system, and a computer readable storage medium for synchronizing information.
Background
With the wearable devices such as intelligent watches and sport bracelets, more people walk into lives, and people have higher requirements on low power consumption and practicality of the wearable devices. The multifunctional electric power machine has more practical functions and reduces power consumption. For example: at present, users of wearable devices such as smart watches and sports bracelets have high requirements on the real-time performance of positioning functions, and meanwhile, the positioning functions are expected not to generate high power consumption. However, at present, when the positioning function is opened on these intelligent wearable devices, the power is very consumed especially in sports scenes, which brings great inconvenience to users and affects the practicability of the wearable devices to a certain extent.
Disclosure of Invention
In order to solve the above problems in the use process of the wearable device, the embodiments of the present invention creatively provide a method, an apparatus and a computer readable storage medium for information synchronization.
According to a first aspect of the present invention, there is provided a method for information synchronization, applied to a first electronic device, where the first electronic device includes a first processing unit and a second processing unit, the first processing unit runs a first operating system, the second processing unit runs a second operating system, and working energy consumption of the first processing unit is smaller than working energy consumption of the second processing unit, the method includes: the first processing unit performs selection of a positioning system and stores information of the selected positioning system; when determining that the first trigger condition for executing the positioning system information synchronization is met, the first processing unit synchronizes the stored positioning system information to the second processing unit; the second processing unit performs positioning-related processing according to the obtained positioning system information.
According to an embodiment of the invention, the first processing unit supports a communication connection with a plurality of positioning systems; the first processing unit performs a selection of a positioning system, comprising: the first processing unit obtains signal intensities corresponding to the plurality of positioning systems, and selects a positioning system with the highest signal intensity from the signal intensities; and determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, controlling a positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling a positioning module corresponding to a non-selected positioning system in the first processing unit to be in a non-working state.
According to an embodiment of the present invention, after the positioning system with the highest intensity is selected, the method further includes: comparing the signal intensity corresponding to the positioning system with the highest intensity with a first threshold value; when the signal intensity corresponding to the positioning system with the highest intensity is larger than or equal to the first threshold value, determining the positioning system with the highest intensity as the selected positioning system; and when the signal intensity corresponding to the positioning system with the highest intensity is smaller than the first threshold value, determining a second electronic device with a positioning function, which is connected with the first electronic device, as the selected positioning system.
According to an embodiment of the present invention, the determining, as the selected positioning system, the second electronic device with a positioning function, to which the first electronic device is connected, includes: and obtaining the signal intensity between the second electronic equipment and the positioning system which is in communication connection with the second electronic equipment, and determining the second electronic equipment with the positioning function, which is connected with the first electronic equipment, as the selected positioning system of the first processing unit when the signal intensity is larger than or equal to the first threshold value.
According to an embodiment of the invention, after said determining the selected positioning system as the respective positioning system for performing the positioning function by the first processing unit, the method further comprises: obtaining signal strengths of the first processing unit and a corresponding positioning system currently used for executing a positioning function, and comparing the obtained signal strengths with a second threshold; when the obtained signal strength is smaller than the second threshold value, the first processing unit is re-obtained to obtain the current signal strength of each positioning system, and the positioning system with the highest current signal strength is selected from the current signal strength; when the corresponding signal intensity of the positioning system with the highest current signal intensity is larger than or equal to the first threshold value, determining the positioning system with the highest current signal intensity as a new selected positioning system; if the new selected positioning system and the positioning system currently used for executing the positioning function are not the same positioning system, switching the positioning system used for executing the positioning function into the new selected system; wherein the second threshold is the same as or different from the first threshold.
According to an embodiment of the invention, the first electronic device is a wearable electronic device, the first processing unit is a micro control unit MCU, and the second processing unit is a central processing unit CPU.
According to a second aspect of the present invention, there is also provided an apparatus for information synchronization, applied to a first electronic device, where the first electronic device includes a first processing unit and a second processing unit, the first processing unit runs a first operating system, the second processing unit runs a second operating system, and an operation energy consumption of the first processing unit is smaller than an operation energy consumption of the second processing unit, the apparatus includes: the selecting module is configured in the first processing unit and is used for executing the selection of the positioning system and saving the information of the selected positioning system; the information synchronization module is used for synchronizing the stored positioning system information to the second processing unit when the first triggering condition for executing the positioning system information synchronization is determined to be met; and the information processing module is configured in the second processing unit and is used for executing processing related to positioning according to the obtained positioning system information.
According to an embodiment of the invention, the first processing unit supports a communication connection with a plurality of positioning systems; the selected module includes: the intensity determination submodule is configured in the first processing unit and is used for obtaining signal intensities corresponding to the plurality of positioning systems and selecting a positioning system with the highest signal intensity from the signal intensities; and the state control sub-module is used for determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, controlling the positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling the positioning module corresponding to the non-selected positioning system in the first processing unit to be in a non-working state.
According to a third aspect of the present invention there is also provided a system for information synchronisation comprising a processor and a memory, wherein the memory has stored therein computer program instructions which, when executed by the processor, are adapted to carry out the method for information synchronisation described above.
According to a fourth aspect of the present invention there is also provided a computer readable storage medium comprising a set of computer executable instructions for performing the method of information synchronisation as described above when said instructions are executed.
The method, the device, the system and the computer readable storage medium for synchronizing information realize the independent storage of the positioning data of the double operating systems of the electronic equipment, thereby ensuring that the double systems can independently use the positioning data. The positioning function of the operating system with higher energy consumption can synchronize positioning information from the operating system with lower energy consumption when the positioning function is started, so that the process of searching and determining the satellite navigation system when the positioning system with higher energy consumption is started is avoided, the energy consumption of the electronic equipment is effectively reduced, the cruising time of the electronic equipment is increased, and the user experience is further improved.
It should be understood that the teachings of the present invention need not achieve all of the benefits set forth above, but rather that certain technical solutions may achieve certain technical effects, and that other embodiments of the present invention may also achieve benefits not set forth above.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Fig. 1 shows an application scenario schematic diagram of a method for information synchronization according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an implementation flow of a method for information synchronization according to an embodiment of the present invention;
fig. 3 is a schematic diagram showing the composition and structure of an apparatus for information synchronization according to an embodiment of the present invention.
Detailed Description
The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are presented merely to enable those skilled in the art to better understand and practice the invention and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The technical scheme of the invention is further elaborated below with reference to the drawings and specific embodiments.
Fig. 1 shows an application scenario schematic diagram of a method for information synchronization according to an embodiment of the present invention. The MCU (Microcontroller Unit, micro control unit) 100 is electrically connected to the positioning information receiving device 103 through the serial peripheral interface 102 on a hardware level, and the positioning information receiving device 103 may include a GPS (Global Positioning System ) chip, for example: BCM 4775X for Botong. On the MCU 100 is running an embedded operating system, for example: RTOS (Real Time Operating System, real-time operating system) that contains a location information service 1001 within the embedded operating system. The location information service 1001 performs the method for synchronizing information according to the embodiment of the present invention. The location information service 1001 handles the location information receiving device 103 through the hardware abstraction layer program 1002, including startup, initialization, read operations, and the like. The location information service 1001 may receive the program call instructions, collect location data, sort the location data, generate system level location information, and return to the calling program. The positioning information service 1001 may provide system positioning information separately, or may provide positioning information to an intelligent operating system (for example, an Android intelligent operating system) and its application programs running in the CPU (Central Processing Unit ) through the global navigation satellite system hardware abstraction layer definition language interface program 101. The smart operating system and its applications may use standard location providers provided by the smart operating system, such as global positioning system provider 104 (Gps Location Provider), converged location provider 105 (Flp Location Provider), to obtain the required location information. The standard positioning provider provided by the intelligent operating system may call the global navigation satellite system hardware abstraction layer definition language interface program 101 provided by the embodiment of the present invention to obtain the application level positioning information.
Fig. 2 shows a schematic implementation flow chart of a method for synchronizing information according to an embodiment of the present invention.
Referring to fig. 2, the method for synchronizing information according to the embodiment of the present invention is applied to a first electronic device, where the first electronic device includes a first processing unit and a second processing unit, the first processing unit runs a first operating system, the second processing unit runs a second operating system, and the working energy consumption of the first processing unit is smaller than the working energy consumption of the second processing unit, and at least includes the following operation flows: operation 201, the first processing unit performs selection of a positioning system and stores the selected positioning system information; operation 202, when determining that the first trigger condition for performing the synchronization of the positioning system information is met, the first processing unit synchronizes the stored positioning system information to the second processing unit; in operation 203, the second processing unit performs processing related to positioning according to the obtained positioning system information.
In an embodiment of the invention, the first electronic device is a wearable electronic device, the first processing unit is a micro control unit MCU, and the second processing unit is a central processing unit CPU.
In one embodiment of the present invention, the first processing unit runs a first operating system that is an RTOS (Real Time Operating System, real-time operating system), and the second processing unit runs a second operating system that is an intelligent operating system, for example: and (5) an Android system. The working energy consumption of MCU to run RTOS is smaller than the working energy consumption of CPU to run Android.
For example, the first electronic device is a smart watch, and includes an MCU running an RTOS and a CPU running an Android system.
In the process of illustrating each operation step, in order to more intuitively illustrate the scheme of the embodiment of the present invention, the first electronic device is taken as the smart watch, the first processing unit is taken as the MCU running the RTOS, and the second processing unit is taken as the CPU running the Android system as an example. Of course, the first electronic device in the embodiment of the invention is not limited to the smart watch, the first processing unit is not limited to the MCU, the second processing unit is not limited to the CPU, the first operating system is not limited to the RTOS, and the second operating system is not limited to the Android.
In operation 201, the first processing unit performs selection of a positioning system and saves the selected positioning system information.
In one embodiment of the invention, the first processing unit supports communication connections with a plurality of positioning systems, and the first processing unit performs the selection of the positioning systems in the following manner: the first processing unit obtains signal intensities of a plurality of positioning systems, and selects a positioning system with highest signal intensity from the signal intensities; and determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, and controlling a positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling a positioning module corresponding to a non-selected positioning system in the first processing unit to be in a non-working state.
For example, the positioning system may comprise: BDS (BeiDou Navigation Satellite System, beidou satellite navigation system), GPS (Global Positioning System ), GLONASS (GLONASS positioning system), galileo satellite navigation system. The MCU obtains signal strengths of the corresponding plurality of positioning systems, and selects a positioning system with the highest signal strength from the signal strengths, for example: and if the BDS in a certain area is the positioning system with the highest signal intensity in the plurality of positioning systems, the MCU determines the corresponding positioning system which utilizes the BDS to execute the positioning function, controls the positioning module corresponding to the BDS in the MCU to be in a working state, and simultaneously controls the positioning modules corresponding to the GPS, GLONASS and Galileo satellite navigation systems in the MCU to be adjusted to be in a non-working state.
The MCU selects one positioning system from the plurality of positioning systems, and is mainly used for adjusting the positioning modules corresponding to other unselected positioning systems in the MCU to a non-working state so as to save energy consumption and prolong the endurance time of the intelligent watch. Connection delay caused by frequent switching of the MCU among a plurality of positioning systems can also be avoided, because under normal conditions, a positioning module running on a smart watch, a mobile phone, a vehicle navigation system and the like needs a long time to be connected with a satellite positioning system, and the time can be intuitively perceived by people, for example: for a period of about 1 minute.
In one embodiment of the present invention, the positioning module running in the first processing unit selects a positioning system with the highest signal strength from the plurality of positioning systems through a star finding process in a working state, and stores positioning system information of the selected positioning system.
In an embodiment of the present invention, after selecting the positioning system with the highest intensity, comparing the signal intensity corresponding to the positioning system with the highest intensity with a first threshold; when the signal intensity corresponding to the positioning system with the highest intensity is larger than or equal to a first threshold value, determining the positioning system with the highest intensity as the selected positioning system; and when the signal intensity corresponding to the positioning system with the highest intensity is smaller than a first threshold value, determining the second electronic equipment with the positioning function, which is connected with the first electronic equipment, as the selected positioning system.
In an embodiment of the present invention, the second electronic device is an intelligent terminal, for example: a mobile phone, a tablet computer, etc.
In the process of illustrating each operation step, in order to intuitively illustrate the solution of the embodiment of the present invention, the solution of the embodiment of the present invention is explained by taking the second electronic device as an intelligent terminal as an example.
For example, the first threshold may be a signal strength set according to an actual requirement, where the signal strength can be set to ensure that a positioning module running in the MCU can perform relatively fast communication with the positioning system. And after the MCU selects a positioning system BDS with highest signal intensity in positioning systems such as BDS, GPS, GLONASS, galileo satellite navigation systems and the like. And comparing the signal intensity corresponding to the BDS with a first threshold value, and if the signal intensity corresponding to the BDS is greater than the first threshold value, indicating that effective communication can be performed between the positioning module running in the MCU and the BDS, and ensuring that the positioning module running in the MCU normally acquires positioning data from a positioning system. At this time, the BDS is determined as the selected bit system.
If the signal intensity corresponding to the BDS is lower than the first threshold value, the fact that effective communication can not be carried out between the running positioning module in the MCU and the positioning systems can not be ensured, and the positioning module running in the MCU can not normally acquire positioning data from the positioning systems. At this time, the MCU may be selected to communicate with the intelligent terminal, from which satellite data is synchronized. For example: the MCU may communicate with the intelligent terminal via BLE (Bluetooth Low Energy ).
In an embodiment of the present invention, when the signal strength corresponding to the positioning system with the highest strength is smaller than the first threshold, and the signal strength between the second electronic device and the positioning system in communication connection with the second electronic device is also smaller than the first threshold, it is indicated that the first processing unit cannot normally acquire the positioning information of the positioning system through the second electronic device. At this point, the first processing unit may re-perform selected operations of the positioning system.
For example, the signal strength between the positioning module and the positioning systems running in the MCU is smaller than the first threshold, at this time, the MCU tries to connect with the intelligent terminal through BLE, and synchronizes positioning information from the intelligent terminal. However, at this time, the signal strength between the intelligent terminal and the positioning system BDS that the intelligent terminal is in communication connection with is also smaller than the first threshold, and the MCU may try to connect with a plurality of positioning systems again. Until one of the positioning systems is successfully connected.
In an embodiment of the present invention, the following specific operations are adopted to determine the second electronic device with the positioning function, connected to the first electronic device, as the selected positioning system: and when the signal intensity is greater than or equal to a first threshold value, determining the second electronic equipment with the positioning function connected with the first electronic equipment as a selected positioning system of the first processing unit.
For example, the positioning system with the highest signal intensity among the positioning systems such as MCU and BDS, GPS, GLONASS, galileo satellite positioning system is BDS. The signal intensity between the MCU and the BDS is X, and X is smaller than a first threshold value. And the signal intensity of communication between MCU and intelligent terminal is Y, can communicate through BLE between MCU and the intelligent terminal. And if Y is greater than the first threshold, the MCU can be selected to communicate with the intelligent terminal, and satellite data is synchronized from the intelligent terminal.
In an embodiment of the present invention, after determining the selected positioning system as the corresponding positioning system for which the first processing unit is used to perform the positioning function, signal strengths of the first processing unit and the corresponding positioning system currently used to perform the positioning function are also obtained, and the obtained signal strengths are compared with a second threshold; when the obtained signal strength is smaller than a second threshold value, the first processing unit is re-obtained to obtain the current signal strength of each positioning system, and the positioning system with the highest current signal strength is selected from the current signal strength; when the corresponding signal intensity of the positioning system with the highest current signal intensity is larger than or equal to a first threshold value, determining the positioning system with the highest current signal intensity as a new selected positioning system; if the new selected positioning system and the positioning system currently used for executing the positioning function are not the same positioning system, switching the positioning system used for executing the positioning function into the new selected system; wherein the second threshold is the same as or different from the first threshold.
For example, the MCU determines the positioning system with the highest signal strength from among the positioning systems as the BDS when the MCU previously performed the selected operation of the positioning system. The signal intensity between the MCU and the BDS is X, and X is larger than a first threshold value. After the BDS is selected as the corresponding positioning system for executing the positioning function by the current first processing unit, the MCU will again acquire the current signal strength Y of the communication between the BDS of the selected positioning system and the MCU, so as to confirm that the current signal strength of the communication between the BDS of the selected positioning system and the MCU can still ensure the normal communication between the MCU and the BDS. Specifically, the second threshold may be set to a minimum signal strength that ensures normal communication between the positioning module of the first processing unit and the positioning system, and if between the positioning module of the first processing unit and the positioning system, the first processing unit cannot normally acquire positioning data from the positioning system.
In operation 202, upon determining that the first trigger condition for performing positioning system information synchronization is met, the first processing unit synchronizes the saved positioning system information to the second processing unit.
In an embodiment of the present invention, the first triggering condition may be at least one of the following: the second processing unit is started to enter a working state; the first processing unit obtains a positioning data synchronization instruction sent by the second processing unit; the second processing unit starts an application related to positioning.
For example, because the intelligent operating system running based on the CPU is in a working state with higher energy consumption, in the embodiment of the present invention, the general application program in the first electronic device only needs to operate based on the RTOS system running by the MCU. And the RTOS system running based on the MCU and the intelligent operating system running based on the CPU respectively and independently store the positioning data of the RTOS system and the intelligent operating system. In order to ensure that the intelligent operating system running based on the CPU can quickly start or quickly start the positioning function, when the CPU enters the working state from the off state or the CPU enters the working state from the sleep state, for example: pressing a power key, clicking a smart watch display device, entering an intelligent operating system from a system switching setting of an RTOS system, etc., the MCU synchronizes the positioning system information stored in operation 201 to the CPU.
The intelligent operating system running based on the CPU may also request synchronous positioning data from the MCU side when the positioning function needs to be started, for example: the keys are opened through positioning functions, including virtual keys and physical keys. Or triggering the MCU to send the stored positioning system information to the CPU when an application program requiring positioning data in the CPU is started. For example: navigation or map applications running in the CPU, and the like.
In one embodiment of the present invention, the positioning system information includes a positioning system selected by the MCU, for example: BDS, GPS, GLONASS, galileo satellite positioning system. Therefore, when the CPU enters a working state or starts a positioning function, the CPU can directly communicate with a determined selected positioning system according to positioning system information acquired from the MCU, and the problems that operations such as satellite finding are repeatedly executed to determine which positioning system is selected to generate higher energy consumption, positioning function starting delay is caused and the like are avoided.
In an embodiment of the present invention, the positioning system information may further include parameters GGA and UTC obtained in the ephemeris process, where GGA is positioning data of a positioning system, and has a standard data specification. For example: GPGGA, <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, M, <10>, M, <11>, <12> ×xx < CR > < LF >, wherein: GPGGA: a start guide and statement format description (this statement is GPS positioning data);
the <1> field is used to describe UTC time, in the format of hhmms.
The <2> field is used to describe the latitude in ddmm.mmmm (the first bit is zero will also be transmitted);
the <3> field is used to describe the latitude hemisphere, N or S (north latitude or south latitude);
the <4> field is used to describe longitude in dddmm.mmmm (first bit zero will also be transmitted);
the <5> field is used to describe longitude hemisphere, E or W (east or west longitude)
The <6> field is used to describe a positioning quality indication, 0 = positioning invalid, 1 = positioning valid;
the <7> field is used to describe the number of satellites used, from 00 to 12 (the first zero will also be transmitted)
The <8> field is used to describe level accuracy, 0.5 to 99.9
The <9> field is used to describe the altitude of the antenna from sea level, -9999.9 to 9999.9M refers to unit meters
The <10> field is used to describe the ground level height, -9999.9 to 9999.9M refers to unit meters
The <11> field is used to describe the differential GPS data deadline (RTCMSC-104), the number of seconds that the RTCM is last to transmit
The <12> field is used to describe the differential reference base station number, from 0000 to 1023 (the first 0 will also be transmitted).
The sea level height and the ground level height in the <9>, <10> fields are in meters.
UTC (Coordinated Universal Time ), also known as universal time, international coordinated time. Due to the different abbreviations for English (CUT) and French (TUC), UTC is abbreviated as a compromise. The representation of data elements and exchange formats-information exchange-date and time using CNS 7648 is called world universal time. UTC time is in hhmmss (time minutes seconds) format.
Therefore, the CPU can use satellite-to-ephemeris data acquired by the MCU synchronized with the MCU, so that an intelligent operation system running based on the CPU can realize quick positioning, and on the basis of effectively shortening TTFF (Time to First Fix, first positioning time) time and realizing quick starting of the CPU, communication time for acquiring current positioning data by communication with satellites in a positioning system is effectively reduced, and user experience is further improved. For example: the current position can be located quickly.
In an embodiment of the present invention, the positioning system information may further include location information and time stamp information of the first electronic device within a certain period of time.
In operation 203, the second processing unit performs positioning-related processing according to the obtained positioning system information.
In one embodiment of the present invention, the positioning system information includes a positioning system selected by the MCU, and the second processing unit performs a positioning operation according to the obtained positioning system information. Therefore, when entering a working state or starting a positioning function, the CPU can directly communicate with a determined selected positioning system according to positioning system information acquired from the MCU to acquire information such as the current position and the like, so that the problems that the repeated operations such as star finding are performed to determine which positioning system is selected to generate higher energy consumption, the starting delay of the positioning function is brought and the like are avoided.
In an embodiment of the present invention, the positioning system information may further include parameters GGA and UTC obtained during the ephemeris process. And the second processing unit realizes quick positioning according to the obtained positioning system information.
In an embodiment of the present invention, the positioning system information may further include location information and time stamp information of the first electronic device within a certain period of time. The second processing unit may perform processing of the positioning system information according to the acquired positioning system information.
For example, after the intelligent operating system running on the basis of the CPU enters a working state or starts a positioning function, data such as position information and a timestamp in positioning system information can be directly obtained from the MCU in a synchronous manner, for example: the set time before the starting time of the CPU is up to the starting time of the CPU, and the position information of the first electronic device and the timestamp information corresponding to the position information are determined by the MCU, for example: longitude, latitude, and timestamp information corresponding to the longitude and latitude. The CPU may perform time-efficient positioning information processing according to the positioning system information by using a corresponding application program, for example: and drawing a motion circuit diagram in a set time period.
Therefore, the integrity and timeliness of the positioning system information of the CPU can be ensured, the situation that an intelligent operating system running based on the CPU cannot acquire the positioning information during the sleep or shutdown period of the CPU is avoided, and the application which needs to utilize the position information with the timestamp information for positioning data analysis can be normally used.
The method, the device, the system and the computer readable storage medium for synchronizing information realize the independent storage of the positioning data of the double operating systems of the electronic equipment, thereby ensuring that the double systems can independently use the positioning data. The positioning function of the operating system with higher energy consumption can synchronize positioning information from the operating system with lower energy consumption when the positioning function is started, so that the process of searching and determining the satellite navigation system when the positioning system with higher energy consumption is started is avoided, the energy consumption of the electronic equipment is effectively reduced, the cruising time of the electronic equipment is increased, and the user experience is further improved.
Similarly, based on the above method of information synchronization, the embodiment of the present invention further provides a computer readable storage medium storing a program, which when executed by a processor, causes the processor to perform at least the following operation steps: operation 201, the first processing unit performs selection of a positioning system and stores the selected positioning system information; operation 202, when determining that the first trigger condition for performing the synchronization of the positioning system information is met, the first processing unit synchronizes the stored positioning system information to the second processing unit; in operation 203, the second processing unit performs processing related to positioning according to the obtained positioning system information.
Further, based on the above information synchronization method, the embodiment of the invention also provides an information synchronization system, which comprises a processor and a memory, wherein the memory stores computer program instructions, and the computer program instructions are used for executing the information synchronization method when being executed by the processor.
Furthermore, based on the above information synchronization method, the embodiment of the invention also provides an information synchronization device which is applied to the first electronic equipment, wherein the first electronic equipment comprises a first processing unit and a second processing unit, the first processing unit runs a first operating system, the second processing unit runs a second operating system, and the working energy consumption of the first processing unit is smaller than the working energy consumption of the second processing unit. Fig. 3 is a schematic diagram showing the composition and structure of an apparatus for information synchronization according to an embodiment of the present invention. Referring to fig. 3, the apparatus 30 includes: a selecting module 301, configured to the first processing unit, configured to perform selection of a positioning system, and store the selected positioning system information; an information synchronization module 302, configured to synchronize the stored positioning system information to the second processing unit when it is determined that the first trigger condition for performing positioning system information synchronization is met; the information processing module 303 is configured in the second processing unit, and is configured to perform processing related to positioning according to the obtained positioning system information.
According to an embodiment of the invention, the first processing unit supports a communication connection with a plurality of positioning systems; the selected module 301 includes: the intensity determination submodule is configured in the first processing unit and is used for obtaining signal intensities of a plurality of corresponding positioning systems and selecting a positioning system with the highest signal intensity from the signal intensities; and the state control sub-module is used for determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, controlling the positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling the positioning module corresponding to the non-selected positioning system in the first processing unit to be in a non-working state.
It should be noted here that: the above description of the embodiment of the apparatus for information synchronization is similar to the description of the method embodiment shown in fig. 1 to 2, and has similar advantageous effects to the method embodiment shown in fig. 1 to 2, and thus will not be repeated. For technical details not disclosed in the embodiments of the apparatus for information synchronization of the present invention, please refer to the description of the foregoing embodiments of the method shown in fig. 1 to 2 for understanding, so that details are not repeated.
It should be noted that, in this document, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The method for synchronizing information is applied to first electronic equipment, and is characterized in that the first electronic equipment comprises a first processing unit and a second processing unit, the first processing unit is a Micro Control Unit (MCU), the second processing unit is a Central Processing Unit (CPU), the first processing unit runs a first operating system, the second processing unit runs a second operating system, and the working energy consumption of the first processing unit is smaller than that of the second processing unit, and the method comprises the following steps:
the first processing unit is used for executing the selection of a positioning system and storing the selected positioning system information, wherein the positioning system comprises a Beidou satellite navigation system, a GPS global positioning system, a Geranos positioning system and a Galileo satellite navigation system, and the positioning system information comprises the positioning system selected by the first processing unit, and the position information and the timestamp information of the first electronic equipment in a certain time period;
when determining that the first trigger condition for executing the positioning system information synchronization is met, the first processing unit synchronizes the stored positioning system information to the second processing unit;
the second processing unit executes processing related to positioning according to the obtained positioning system information;
wherein the first trigger condition is at least one of:
the second processing unit is started to enter a working state;
the first processing unit obtains a positioning data synchronization instruction sent by the second processing unit;
the second processing unit starts an application program related to positioning;
the first operating system operated by the first processing unit is a real-time operating system.
2. The method of information synchronization of claim 1, wherein the first processing unit supports a communication connection with a plurality of positioning systems;
the first processing unit performs a selection of a positioning system, comprising:
the first processing unit obtains signal intensities corresponding to the plurality of positioning systems, and selects a positioning system with the highest signal intensity from the signal intensities;
and determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, controlling a positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling a positioning module corresponding to a non-selected positioning system in the first processing unit to be in a non-working state.
3. The method of information synchronization of claim 2, wherein after selecting the positioning system with the highest signal strength, the method further comprises:
comparing the signal intensity corresponding to the positioning system with the highest intensity with a first threshold value;
when the signal intensity corresponding to the positioning system with the highest intensity is larger than or equal to the first threshold value, determining the positioning system with the highest intensity as the selected positioning system;
and when the signal intensity corresponding to the positioning system with the highest intensity is smaller than the first threshold value, determining a second electronic device with a positioning function, which is connected with the first electronic device, as the selected positioning system.
4. A method of synchronizing information according to claim 3, wherein said determining a second electronic device with positioning capabilities, to which a first electronic device is connected, as a selected positioning system comprises:
and obtaining the signal intensity between the second electronic equipment and the positioning system which is in communication connection with the second electronic equipment, and determining the second electronic equipment with the positioning function, which is connected with the first electronic equipment, as the selected positioning system of the first processing unit when the signal intensity is larger than or equal to the first threshold value.
5. The method of information synchronization according to claim 2, 3 or 4, characterized in that after said determining the selected positioning system as the respective positioning system for the first processing unit to perform a positioning function, the method further comprises:
obtaining signal strengths of the first processing unit and a corresponding positioning system currently used for executing a positioning function, and comparing the obtained signal strengths with a second threshold;
when the obtained signal strength is smaller than the second threshold value, the first processing unit is re-obtained to obtain the current signal strength of each positioning system, and the positioning system with the highest current signal strength is selected from the current signal strength;
when the corresponding signal intensity of the positioning system with the highest current signal intensity is larger than or equal to a first threshold value, determining the positioning system with the highest current signal intensity as a new selected positioning system;
and if the new selected positioning system is not the same positioning system as the positioning system currently used for executing the positioning function, switching the positioning system used for executing the positioning function into the new selected positioning system.
6. The method of information synchronization according to any one of claims 1 to 4, wherein the first electronic device is a wearable electronic device.
7. The utility model provides an information synchronization's device, is applied to first electronic equipment, its characterized in that, first electronic equipment includes first processing unit and second processing unit, first processing unit is little control unit MCU, the second processing unit is central processing unit CPU, first processing unit operation first operating system, second processing unit operation second operating system, the work energy consumption of first processing unit is less than the work energy consumption of second processing unit, the device includes:
the positioning system comprises a Beidou satellite navigation system, a GPS global positioning system, a Geranos positioning system and a Galileo satellite navigation system, wherein the positioning system information comprises the positioning system selected by the first processing unit, and position information and timestamp information of the first electronic equipment in a certain time period;
the information synchronization module is used for synchronizing the stored positioning system information to the second processing unit when the first triggering condition for executing the positioning system information synchronization is determined to be met; wherein the first trigger condition is at least one of: the second processing unit is started to enter a working state; the first processing unit obtains a positioning data synchronization instruction sent by the second processing unit; the second processing unit starts an application program related to positioning;
an information processing module, configured to the second processing unit, for performing positioning-related processing according to the obtained positioning system information;
the first operating system operated by the first processing unit is a real-time operating system.
8. The apparatus for information synchronization according to claim 7, wherein the first processing unit supports a communication connection with a plurality of positioning systems; the selected module includes:
the intensity determination submodule is configured in the first processing unit and is used for obtaining signal intensities corresponding to the plurality of positioning systems and selecting a positioning system with the highest signal intensity from the signal intensities;
and the state control sub-module is used for determining the selected positioning system as a corresponding positioning system of the first processing unit for executing the positioning function, controlling the positioning module corresponding to the selected positioning system in the first processing unit to be in a working state, and controlling the positioning module corresponding to the non-selected positioning system in the first processing unit to be in a non-working state.
9. A system for information synchronization comprising a processor and a memory, wherein the memory has stored therein computer program instructions which, when executed by the processor, are adapted to carry out the method of information synchronization of any of claims 1 to 6.
10. A storage medium having stored thereon program instructions, wherein the program instructions, when run, are for performing the method of information synchronization of any of claims 1 to 6.
CN202010550508.4A 2020-06-16 2020-06-16 Method, device and system for synchronizing information and computer readable storage medium Active CN111831098B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010550508.4A CN111831098B (en) 2020-06-16 2020-06-16 Method, device and system for synchronizing information and computer readable storage medium
EP21826898.5A EP4167053A4 (en) 2020-06-16 2021-01-07 Data processing method, apparatus and system, and computer-readable storage medium
PCT/CN2021/070715 WO2021253814A1 (en) 2020-06-16 2021-01-07 Data processing method, apparatus and system, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010550508.4A CN111831098B (en) 2020-06-16 2020-06-16 Method, device and system for synchronizing information and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111831098A CN111831098A (en) 2020-10-27
CN111831098B true CN111831098B (en) 2023-05-16

Family

ID=72897712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010550508.4A Active CN111831098B (en) 2020-06-16 2020-06-16 Method, device and system for synchronizing information and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111831098B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116782370A (en) * 2022-03-07 2023-09-19 Oppo广东移动通信有限公司 Positioning method, positioning device, wearable device, storage medium and product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109923506A (en) * 2016-11-23 2019-06-21 华为技术有限公司 Information processing method and positioning chip, mobile terminal
CN110049538A (en) * 2019-04-24 2019-07-23 武汉虹信通信技术有限责任公司 Position control method and device
CN110944286A (en) * 2019-11-28 2020-03-31 出门问问信息科技有限公司 Method, apparatus, system and storage medium for providing positioning information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016205881A (en) * 2015-04-17 2016-12-08 カシオ計算機株式会社 Electronic apparatus, positioning control method, and program
CN105891861A (en) * 2015-10-21 2016-08-24 乐卡汽车智能科技(北京)有限公司 Positioning method and device
CN105417213B (en) * 2015-12-09 2017-07-25 河北省机电一体化中试基地 A kind of energy-saving heavily loaded charge car high-accuracy position system and its control method
TWI622783B (en) * 2016-05-24 2018-05-01 曦恩體感科技股份有限公司 Hybrid positioning method and electronic apparatus thereof
WO2018137197A1 (en) * 2017-01-25 2018-08-02 华为技术有限公司 Method and device for reducing power consumption of electronic apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109923506A (en) * 2016-11-23 2019-06-21 华为技术有限公司 Information processing method and positioning chip, mobile terminal
CN110049538A (en) * 2019-04-24 2019-07-23 武汉虹信通信技术有限责任公司 Position control method and device
CN110944286A (en) * 2019-11-28 2020-03-31 出门问问信息科技有限公司 Method, apparatus, system and storage medium for providing positioning information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"High-dynamic IF Synchronizing Receiver for a New Positioning System";Zou Qiong等;《2006 6th International Conference on ITS Telecommunications》;20061231;1165-1168 *
"基于ARM的GPS/无源北斗互备PMU研究与设计";刘亚丽等;《电子技术应用》;20080630;29-34 *

Also Published As

Publication number Publication date
CN111831098A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN111836187A (en) Data processing method, device and system and computer readable storage medium
US7970419B2 (en) Systems, devices and methods for location determination
US7375682B1 (en) Always-on satellite positioning receiver
CN107678045B (en) Global positioning system starting method, user terminal and related medium product
CN102419443B (en) Method and system for processing signal
EP1645889A1 (en) Mobile communication terminal and method for determining its position
CN101558323B (en) Time-based ephemeris identity in assistance data and assistance data request messages
CN101738623A (en) Satellite communication method and system
US20140002304A1 (en) Method and apparatus for locating terminal device
CN104570022A (en) DSP-based multi-system compatible GNSS receiver and receiving system thereof
US8504095B2 (en) Method and apparatus for system acquisition in a mobile communication terminal
CN111781616A (en) Data processing method, device and system and computer readable storage medium
JP2002228739A (en) Navigation system and gps terminal
CN108008429A (en) The localization method and system of a kind of intelligent wearable device
JP2002196063A (en) Position detector using gps and network assist-ready gps position detecting system using it
CN102654579A (en) Quick locating method and system of double-mould or multi-mould locating terminal based on auxiliary information
CN111831098B (en) Method, device and system for synchronizing information and computer readable storage medium
CN102788982A (en) Assisted positioning-monitoring system
CN102036371A (en) Global positioning system (GPS) positioning method and system
US20230122488A1 (en) Data processing method, apparatus and system, and computer-readable storage medium
EP4167053A1 (en) Data processing method, apparatus and system, and computer-readable storage medium
JP4240216B2 (en) Network-assisted GPS terminal and positioning method
CN110196442A (en) Search star method, apparatus, storage medium and mobile terminal
WO2022001728A1 (en) Motion data acquisition method and apparatus, smart wearable device and storage medium
CN201266236Y (en) Time service navigation receiver

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