A multi-mobile terminal based data active reporting method
By equipping mobile terminals with near-field and wide-area network communication units and utilizing the timing of different communication methods for data reporting, the high power consumption problem of mobile terminals during data reporting is solved, achieving low-power data transmission and reporting.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN DAKA DIGITAL TECHNOLOGY CO LTD
- Filing Date
- 2025-08-26
- Publication Date
- 2026-05-29
AI Technical Summary
When a mobile terminal needs to report data to a cloud platform, the low-power near-field wireless communication method in the existing technology cannot directly realize data transmission, while direct communication through wide area network leads to high power consumption. The existing solution relies on non-power-sensitive auxiliary device terminals to report data, which increases the reporting frequency of power-sensitive main device terminals.
The mobile terminal is equipped with both a near-field communication unit and a wide area network communication unit. By agreeing on the data transmission timing of the two communication methods, data reporting between the mobile terminals can be realized. This includes obtaining data from other terminals and generating reporting status data in the wake-up state, sending it to the server via wide area network communication, and reducing the frequency of data reporting in the sleep state.
By enabling data exchange between mobile terminals, the frequency of power-sensitive data reporting is reduced, overall power consumption is lowered, and low-power data transmission is achieved.
Smart Images

Figure CN121037953B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method for proactive data reporting based on multiple mobile terminals. Background Technology
[0002] Mobile terminals (such as mobile phones, smartwatches, and smart tags on logistics vehicles) typically operate on non-sustainable power sources. To ensure their battery life, they usually need to run in low-power mode as much as possible. In some scenarios where data needs to be reported to the cloud platform, direct communication via wide area network will result in high power consumption, while low-power near-field wireless communication methods cannot directly report data to the cloud platform.
[0003] This document cites Chinese patent document CN106060766A, which discloses a device terminal system and its information reporting method, and discloses an interaction method for communication through a first remote communication module, a first near-field communication module, a second remote communication module, and a second near-field communication module. However, while the existing technical solution reduces the number of data reports from the power-sensitive master device terminal to some extent, thereby reducing power consumption, it still relies on non-power-sensitive auxiliary device terminals for data reporting.
[0004] It should be noted that the information in the background section above is only used to enhance the understanding of the background technology of this application, and therefore may include technical information that does not constitute technical information known or easily inferred by a person skilled in the art. Summary of the Invention
[0005] In view of the above problems, this application is made to provide a method and apparatus for proactive data reporting based on multiple mobile terminals to overcome or at least partially solve the above problems, comprising:
[0006] A method for proactive data reporting based on multiple mobile terminals, the method involving a server and at least two mobile terminals; the mobile terminals broadcast their own status data in a first period through a first communication method, and switch from a sleep state to a wake-up state in a second period;
[0007] The method includes:
[0008] When switched to the wake-up state, the mobile terminal obtains first state data from other mobile terminals within the communication range that broadcast data via the first communication method;
[0009] The mobile terminal generates and reports status data based on the first status data and its own second status data.
[0010] The mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0011] The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue for the second cycle; the other mobile terminals are used to update the sleep state to continue for the second cycle.
[0012] Furthermore, the method also includes:
[0013] When the first status data is obtained, the mobile terminal determines the corresponding scanned terminal information based on the first status data.
[0014] Further, the step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes:
[0015] The mobile terminal sends the reporting completion signal to the corresponding other mobile terminals based on the scanned terminal information.
[0016] Further, the second cycle includes a first sub-cycle and a second sub-cycle; wherein the duration of the second sub-cycle is shorter than the duration of the first sub-cycle; the step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes:
[0017] The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue the first sub-cycle; the other mobile terminals are used to update the sleep state to continue the second sub-cycle.
[0018] Furthermore, the method also includes:
[0019] When switching to the wake-up state, the mobile terminal sends the second state data to the server through the second communication method, and switches to the sleep state to continue the second cycle.
[0020] Further, the step of the mobile terminal acquiring first state data broadcast by other mobile terminals within its communication range via a first communication method when switching to the wake-up state includes:
[0021] When switching to the wake-up state, the mobile terminal acquires first status data from other mobile terminals within the communication range that broadcast data via a first communication method within a first time limit.
[0022] Further, the step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes:
[0023] The mobile terminal sends the reporting completion signal to the other mobile terminals within the second time limit.
[0024] A data active reporting device based on multiple mobile terminals, the device involves a server and at least two mobile terminals; the mobile terminals broadcast their own status data in a first period through a first communication method, and switch from a sleep state to a wake-up state in a second period.
[0025] The device includes:
[0026] The data acquisition module is used to acquire first status data of other mobile terminals within the communication range broadcasting data through the first communication method when switching to the wake-up state;
[0027] The data integration module is used to generate reported status data based on the first status data and its own second status data;
[0028] The first reporting module is used to send the reporting status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0029] The reporting completion notification module is used to send the reporting completion signal to the other mobile terminal via a first communication method, and switch to a sleep state to continue for the second cycle; the other mobile terminal is used to update the sleep state to continue for the second cycle.
[0030] A computer device includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method as described in any embodiment of this application.
[0031] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the method as described in any embodiment of this application.
[0032] This application has the following advantages:
[0033] In the embodiments of this application, addressing the issue that existing technologies rely on non-power-sensitive auxiliary device terminals for data reporting, this application provides a solution for data inter-terminal reporting. Specifically, when switching to a wake-up state, the mobile terminal acquires first status data broadcast by other mobile terminals within its communication range via a first communication method; the mobile terminal generates reporting status data based on the first status data and its own second status data; the mobile terminal sends the reporting status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein the communication distance of the second communication method is greater than the communication distance of the first communication method; the mobile terminal sends the reporting completion signal to the other mobile terminals via the first communication method and switches to a sleep state for the second period; the other mobile terminals are used to update the sleep state for the second period. This application achieves data inter-terminal reporting by configuring corresponding periods on mobile terminals and using different communication methods for data broadcasting and reporting, and reduces the frequency of data reporting with higher power consumption, thereby reducing power consumption. Attached Figure Description
[0034] To more clearly illustrate the technical solution of this application, the drawings used in the description of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0035] Figure 1 This is a flowchart illustrating the steps of a method for proactively reporting data based on multiple mobile terminals, provided in an embodiment of this application.
[0036] Figure 2 This is a timing flowchart of the operation of a single mobile terminal in one embodiment of this application;
[0037] Figure 3 This is a structural block diagram of a data active reporting device based on multiple mobile terminals provided in an embodiment of this application;
[0038] Figure 4 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation
[0039] To make the objectives, features, and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0040] The inventors, through analysis of existing technology, discovered that in patent document CN106060766A, the power-sensitive master device terminal essentially selects its reporting path based on the presence of nearby auxiliary device terminals: if the master device terminal finds a non-power-sensitive auxiliary device terminal, it reports data through the auxiliary device terminal; if the master device terminal does not find an auxiliary device terminal, it directly sends the collected information to the remote center. However, when no auxiliary device terminal is found within the search range of multiple master device terminals, all master device terminals must report through their own remote communication modules. To reduce the number of reports from master device terminals, it is necessary to rely on non-power-sensitive auxiliary device terminals.
[0041] Based on the above analysis, one of the core technical concepts of this application is that, since the power consumption required for near-field wireless communication is much lower than that for wide-area network communication, a near-field communication unit and a wide-area network communication unit can be simultaneously mounted on a mobile terminal, and the data transmission timing of the two communication methods can be agreed upon, thereby realizing data reporting between power-sensitive mobile terminals.
[0042] Reference Figure 1 This application illustrates an embodiment of a data proactive reporting method based on multiple mobile terminals, the method involving a server and at least two mobile terminals; the mobile terminals broadcast their own status data in a first period through a first communication method, and switch from a sleep state to a wake-up state in a second period;
[0043] The method includes:
[0044] S110. When switching to the wake-up state, the mobile terminal obtains first state data broadcast by other mobile terminals within the communication range through the first communication method.
[0045] S120, The mobile terminal generates and reports status data based on the first status data and its own second status data;
[0046] S130, the mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0047] S140, the mobile terminal sends the reporting completion signal to the other mobile terminals through a first communication method, and switches to a sleep state to continue the second cycle; the other mobile terminals are used to update the sleep state to continue the second cycle.
[0048] In the embodiments of this application, addressing the issue that existing technologies rely on non-power-sensitive auxiliary device terminals for data reporting, this application provides a solution for data inter-terminal reporting. Specifically, when switching to a wake-up state, the mobile terminal acquires first status data broadcast by other mobile terminals within its communication range via a first communication method; the mobile terminal generates reporting status data based on the first status data and its own second status data; the mobile terminal sends the reporting status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein the communication distance of the second communication method is greater than the communication distance of the first communication method; the mobile terminal sends the reporting completion signal to the other mobile terminals via the first communication method and switches to a sleep state for the second period; the other mobile terminals are used to update the sleep state for the second period. This application achieves data inter-terminal reporting by configuring corresponding periods on mobile terminals and using different communication methods for data broadcasting and reporting, and reduces the frequency of data reporting with higher power consumption, thereby reducing power consumption.
[0049] The following will further describe a method for proactive data reporting based on multiple mobile terminals in this exemplary embodiment.
[0050] It should be noted that the first communication method can be a near-field wireless communication method, which may include technologies such as Wi-Fi, Bluetooth, Zigbee, LoRa, sub-1G, Matter, or Starflash; the second communication method can be a wide-area network (WAN) communication method, which may include technologies such as NB-IoT, 4G, 5G, or Ethernet. The status data in this embodiment may include: device ID (a unique identifier for the mobile terminal) and status information (detection results from various detectors), etc.
[0051] In this embodiment, the mobile terminal can agree on the data transmission timing of the two communication methods in the following manner:
[0052] On the one hand, every first cycle, the mobile terminal can broadcast data to its surroundings once via a first communication method;
[0053] On the other hand, refer to Figure 2 Every second cycle, the mobile terminal can switch from a sleep state to a wake-up state, and can report data to the server once via a second communication method. Before reporting data, the mobile terminal can first obtain data from other mobile terminals within its first communication method range, package them, and then report the data uniformly. After completing the data reporting, the mobile terminal can switch from a wake-up state to a sleep state and continue in the second cycle.
[0054] Therefore, it can be seen that the mobile terminals broadcast and report data according to their own time sequence, without needing to configure a master-slave relationship or establish a complex data request mechanism.
[0055] It should be noted that the first period can be shorter than the second period, or it can be set according to the business requirements of the server.
[0056] As an example, when multiple mobile terminals frequently enter each other's near-field wireless communication range, the probability of acquiring data broadcast by other mobile terminals is higher. The duration of the first cycle can be appropriately increased to reduce the broadcast frequency, thereby reducing the power consumption of near-field wireless communication.
[0057] As an example, when the frequency of multiple mobile terminals entering each other's near-field wireless communication range is low, the probability of obtaining data broadcast by other mobile terminals is low. The duration of the first cycle can be appropriately reduced to increase the broadcast frequency and prevent the mobile terminals from missing the opportunity to report data to each other.
[0058] As an example, since the power consumption of data broadcasting is less than that of data reporting, the duration of the first period can be less than the duration of the second period.
[0059] In one specific implementation, the mobile terminal can be a smart tag of a logistics vehicle, and the server can be a cloud management platform in the logistics scenario. When multiple smart tags are located in the same logistics warehouse, the smart tag can obtain data from other smart tags through near-field wireless communication, and the smart tag can package and uniformly report the data to the cloud management platform.
[0060] As described in step S110, when switching to the wake-up state, the mobile terminal obtains first state data broadcast by other mobile terminals within the communication range through the first communication method.
[0061] It should be noted that when switching to the wake-up state, the mobile terminal can scan other mobile terminals in the vicinity and establish communication connections to obtain status data broadcast by other mobile terminals in a first period through a first communication method.
[0062] As described in step S120, the mobile terminal generates and reports status data based on the first status data and its own second status data.
[0063] It should be noted that the mobile terminal can package the first status data and its own second status data together to generate the reported status data, or it can package only the first status data to generate the reported status data.
[0064] As described in step S130, the mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0065] It should be noted that since the communication distance of the second communication method is greater than that of the first communication method, and the communication power consumption of the second communication method is greater than that of the first communication method, reporting the status data all at once through the second communication method can reduce the reporting frequency and thus reduce power consumption.
[0066] As described in step S140, the mobile terminal sends the reporting completion signal to the other mobile terminals through the first communication method, and switches to a sleep state to continue the second cycle; the other mobile terminals are used to update the sleep state to continue the second cycle.
[0067] It should be noted that when the mobile terminal is in sleep mode, it only broadcasts its own status data using low-power data, without reporting high-power data or receiving data broadcast by other mobile terminals. When the mobile terminal is notified that the reporting is complete, it will enter sleep mode for the second cycle, regardless of whether it is in sleep mode. Other mobile terminals are used to update the sleep state to continue for the second cycle, which can be done by switching from a wake-up state to a sleep state or by resetting the corresponding sleep state time to the second cycle.
[0068] In one embodiment of this application, the method further includes:
[0069] When the first status data is obtained, the mobile terminal determines the corresponding scanned terminal information based on the first status data.
[0070] It should be noted that the mobile terminal needs to record the status data it has acquired, so as to inform the server of the corresponding data collection status, or inform other mobile terminals of the corresponding data reporting status.
[0071] In one embodiment of this application, the specific process of step S140, "the mobile terminal sends the reporting completion signal to the other mobile terminal through a first communication method and switches to a sleep state to continue the second cycle," can be further explained in conjunction with the following description.
[0072] As described in the following steps, the mobile terminal sends the reporting completion signal to the corresponding other mobile terminals based on the scanned terminal information.
[0073] It should be noted that by sending the reporting completion signal based on the scanned terminal information, other mobile terminals can be accurately informed that they have been reported. When there are new unreported terminals within the communication range, it can prevent the new unreported terminals from receiving the reporting completion signal and thus entering sleep mode.
[0074] In one embodiment of this application, the second cycle includes a first sub-cycle and a second sub-cycle; wherein the duration of the second sub-cycle is less than the duration of the first sub-cycle; the specific process of step S140, "the mobile terminal sends the reporting completion signal to the other mobile terminal through a first communication method and switches to a sleep state to continue the second cycle", can be further explained in conjunction with the following description.
[0075] As described in the following steps, the mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method, and switches to a sleep state to continue the first sub-cycle; the other mobile terminals are used to update the sleep state to continue the second sub-cycle.
[0076] It should be noted that in real-world scenarios, since mobile terminals and other corresponding mobile terminals switch to sleep mode almost simultaneously, by setting the duration of the second sub-cycle to be shorter than that of the first sub-cycle, mobile terminals that are in sleep mode during the second sub-cycle can switch to wake-up mode earlier to report data. Meanwhile, the mobile terminal that reported data last time is still in sleep mode during the first sub-cycle. This ensures that the same mobile terminal is not always the one that wakes up first and reports data, thus balancing the power consumption of multiple mobile terminals and ensuring the overall usable battery life.
[0077] In one embodiment of this application, the method further includes:
[0078] When switching to the wake-up state, the mobile terminal sends the second state data to the server through the second communication method, and switches to the sleep state to continue the second cycle.
[0079] It should be noted that the mobile terminal can also directly send its own status data to the server, which is suitable for scenarios where there are no other mobile terminals around.
[0080] In one embodiment of this application, the specific process of step S110, "when switching to the wake-up state, the mobile terminal obtains first state data broadcast by other mobile terminals within the communication range through the first communication method", can be further explained in conjunction with the following description.
[0081] As described in the following steps, when switching to the wake-up state, the mobile terminal acquires first status data from other mobile terminals within the communication range that broadcast data via a first communication method within a first time limit.
[0082] It should be noted that when switching to the wake-up state, the mobile terminal can turn on the wireless communication receiver and continue for the first time limit to continuously acquire the first status data of other mobile terminals. This allows it to acquire status data of other mobile terminals that temporarily enter the communication range within the first time limit. As an example, the first time limit can be greater than or equal to the first period to ensure successful acquisition of the first status data of other mobile terminals.
[0083] In one embodiment of this application, the specific process of step S140, "the mobile terminal sends the reporting completion signal to the other mobile terminal through a first communication method and switches to a sleep state to continue the second cycle," can be further explained in conjunction with the following description.
[0084] As described in the following steps, the mobile terminal sends the reporting completion signal to the other mobile terminals within a second time limit.
[0085] It should be noted that when the second time limit is exceeded, the mobile terminal will no longer send the reporting completion signal but will switch to sleep mode to avoid wasting power.
[0086] As an example, the second time limit can be greater than or equal to the first period to ensure that the reporting completion signal can be successfully sent to the other mobile terminals.
[0087] In one specific embodiment of this application, the method further includes:
[0088] When switching to the wake-up state, the mobile terminal sends a scan notification signal to the other mobile terminals via a first communication method; the other mobile terminals are used to suspend communication connections with mobile terminals other than the mobile terminal corresponding to the scan notification signal based on the scan notification signal.
[0089] It should be noted that the other mobile terminals can pause other connections within a third time limit to avoid wasting power.
[0090] The above is a description of the method embodiments of this application. As for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple. For relevant parts, please refer to the description of the method embodiments.
[0091] Reference Figure 3 This application illustrates an embodiment of a data active reporting device based on multiple mobile terminals. The device involves a server and at least two mobile terminals. The mobile terminals broadcast their own status data in a first period through a first communication method and switch from a sleep state to a wake-up state in a second period.
[0092] The device includes:
[0093] The data acquisition module 310 is used to acquire first status data of other mobile terminals within the communication range broadcasting data through the first communication method when switching to the wake-up state;
[0094] The data integration module 320 is used to generate reported status data based on the first status data and its own second status data;
[0095] The first reporting module 330 is used to send the reporting status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0096] The reporting completion notification module 340 is used to send the reporting completion signal to the other mobile terminal via a first communication method, and switch to a sleep state to continue for the second cycle; the other mobile terminal is used to update the sleep state to continue for the second cycle.
[0097] In one embodiment of this application, the apparatus further includes:
[0098] The scanned information determination module is used to determine the corresponding scanned terminal information based on the first status data when the first status data is obtained.
[0099] In one embodiment of this application, the reporting completion notification module 340 includes:
[0100] The scan notification submodule is used to send the reporting completion signal to the corresponding other mobile terminals based on the scanned terminal information.
[0101] In one embodiment of this application, the second period includes a first sub-period and a second sub-period; wherein the duration of the second sub-period is less than the duration of the first sub-period; the reporting completion notification module 340 includes:
[0102] The hibernation submodule is used to send the reporting completion signal to the other mobile terminal via a first communication method, and switch to hibernation state for the first sub-cycle; the other mobile terminal is used to update the hibernation state for the second sub-cycle.
[0103] In one embodiment of this application, the apparatus further includes:
[0104] The second reporting module is used to send the second status data to the server through a second communication method when switching to the wake-up state, and then switch to the sleep state to continue the second cycle.
[0105] In one embodiment of this application, the data acquisition module 310 includes:
[0106] The first time limit submodule is used to acquire first status data of other mobile terminals within the communication range broadcasting data through the first communication method within the first time limit when switching to the wake-up state.
[0107] In one embodiment of this application, the reporting completion notification module 340 includes:
[0108] The second time limit submodule is used to send the reporting completion signal to the other mobile terminal within the second time limit.
[0109] Reference Figure 4 This diagram illustrates a structural block diagram of a computer device according to an embodiment of this application. The computer device 12 is adapted to implement embodiments of the present invention and may specifically include the following:
[0110] The computer device 12 is manifested as a general-purpose computing device. Components of the computer device 12 may include, but are not limited to: one or more processing units 16, system memory 28, and a bus 18 connecting different system components (including system memory 28 and processing units 16). The computer device 12 may be a device connected to the bus.
[0111] Bus 18 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MCA) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0112] Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0113] System memory 28 may include computer system readable media in the form of volatile memory, such as RAM 30 (Random Access Memory) and / or cache 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as a "hard disk drive"). Although Figure 4 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0114] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 42 typically perform the functions and / or methods described in the embodiments of the present invention.
[0115] Computer device 12 can also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and / or with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed through I / O interface 22 (input / output interface). Furthermore, computer device 12 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network (e.g., the Internet)) through network adapter 20. Figure 4 As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be understood that, although... Figure 4As not shown, it can be used in conjunction with computer device 12 with other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0116] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing a data active reporting method based on multiple mobile terminals provided in any embodiment of the present invention.
[0117] That is, when the program is executed by the processor, it implements the following: when switching to the wake-up state, the mobile terminal obtains first state data broadcast by other mobile terminals within the communication range through the first communication method;
[0118] The mobile terminal generates and reports status data based on the first status data and its own second status data.
[0119] The mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0120] The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue for the second cycle; the other mobile terminals are used to update the sleep state to continue for the second cycle.
[0121] Computer device 12 is merely an example and should not impose any limitation on the functionality and scope of use of embodiments of the present invention.
[0122] An embodiment of this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a data proactive reporting method based on multiple mobile terminals as provided in any embodiment of this application.
[0123] That is, when the program is executed by the processor, it implements the following: when switching to the wake-up state, the mobile terminal obtains first state data broadcast by other mobile terminals within the communication range through the first communication method;
[0124] The mobile terminal generates and reports status data based on the first status data and its own second status data.
[0125] The mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method;
[0126] The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue for the second cycle; the other mobile terminals are used to update the sleep state to continue for the second cycle.
[0127] Computer storage media may take the form of any combination of one or more computer-readable media. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, RAM, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage devices, magnetic storage devices, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device.
[0128] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, capable of transmitting, propagating, or transmitting programs for use by or in connection with an instruction execution system, apparatus, or device.
[0129] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.
[0130] Computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LANs or WANs—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0131] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0132] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0133] The above provides a detailed description of a method and apparatus for proactive data reporting based on multiple mobile terminals provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for proactive data reporting based on multiple mobile terminals, characterized in that, The method involves a server and at least two mobile terminals; the mobile terminals broadcast their own status data in a first cycle via a first communication method, and switch from a sleep state to a wake-up state in a second cycle. The method includes: When switched to the wake-up state, the mobile terminal obtains first state data from other mobile terminals within the communication range that broadcast data via the first communication method; The mobile terminal generates and reports status data based on the first status data and its own second status data. The mobile terminal sends the reported status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method; The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue for the second cycle; the other mobile terminals are used to update the sleep state to continue for the second cycle.
2. The method according to claim 1, characterized in that, The method further includes: When the first status data is obtained, the mobile terminal determines the corresponding scanned terminal information based on the first status data.
3. The method according to claim 2, characterized in that, The step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes: The mobile terminal sends the reporting completion signal to the corresponding other mobile terminals based on the scanned terminal information.
4. The method according to claim 1, characterized in that, The second cycle includes a first sub-cycle and a second sub-cycle; wherein the duration of the second sub-cycle is shorter than the duration of the first sub-cycle; the step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes: The mobile terminal sends the reporting completion signal to the other mobile terminals via a first communication method and switches to a sleep state to continue the first sub-cycle; the other mobile terminals are used to update the sleep state to continue the second sub-cycle.
5. The method according to claim 1, characterized in that, The method further includes: When switching to the wake-up state, the mobile terminal sends the second state data to the server through the second communication method, and switches to the sleep state to continue the second cycle.
6. The method according to claim 1, characterized in that, The step of the mobile terminal acquiring first state data broadcast by other mobile terminals within its communication range via a first communication method when switching to the wake-up state includes: When switching to the wake-up state, the mobile terminal acquires first status data from other mobile terminals within the communication range that broadcast data via a first communication method within a first time limit.
7. The method according to claim 1, characterized in that, The step of the mobile terminal sending the reporting completion signal to the other mobile terminals via a first communication method and switching to a sleep state to continue the second cycle includes: The mobile terminal sends the reporting completion signal to the other mobile terminals within the second time limit.
8. A data active reporting device based on multiple mobile terminals, characterized in that, The device involves a server and at least two mobile terminals; the mobile terminals broadcast their own status data in a first cycle via a first communication method, and switch from a sleep state to a wake-up state in a second cycle. The device includes: The data acquisition module is used to acquire first status data of other mobile terminals within the communication range broadcasting data through the first communication method when switching to the wake-up state; The data integration module is used to generate reported status data based on the first status data and its own second status data; The first reporting module is used to send the reporting status data to the server via a second communication method; the server is used to send a reporting completion signal back to the mobile terminal via the second communication method; wherein, the communication distance of the second communication method is greater than the communication distance of the first communication method; The reporting completion notification module is used to send the reporting completion signal to the other mobile terminal via a first communication method, and switch to a sleep state to continue for the second cycle; the other mobile terminal is used to update the sleep state to continue for the second cycle.
9. A computer device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
CN106060766A
CN109035466A
CN109548125A
CN114173295A