Data sharing system and method
By forming a mesh network of smart devices, user terminals and sports equipment to build processing links, it solves the problem of single data collection and display of existing sports equipment, realizes joint processing of multiple equipment components, and improves the user's sports experience and data Demonstrate ability.
Patent Information
- Application Number
- CN202310301961.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
Existing sports equipment only supports single-dimensional sports data collection and display, and users are limited in their operations during sports, resulting in a single sports service that cannot meet the needs of multi-dimensional data sharing and display.
A mesh network is formed through smart devices, user terminals and sports equipment. Communication connections are made between each node to determine the data to be transmitted and build a processing link through processing and display components to achieve joint processing of multiple device components and display sports data.
It improves users' sports experience, provides better sports services, meets multi-dimensional data sharing and display needs, and enhances sports data processing and display capabilities.
Smart Images

Figure CN118694777A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data sharing system and method. Background Art
[0002] With the development of Internet technology, running, cycling, yoga and other sports have begun to tend to be online. Users can collect sports data during exercise by wearing corresponding equipment and collect them online for management. This can not only record the user's exercise cycle, but also reflect the user's physical health status, further promoting the user to exercise. This series of sports data recording requires the user to wear the corresponding equipment to be completed. However, most of the wearable devices in the prior art only support the collection and aggregation of sports data in a single dimension, and the collected data can only be displayed through the wearable device. When the user is in motion, the devices that can be operated are limited, resulting in the user's experience of sports services being relatively single; therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention
[0003] In view of this, the embodiment of this specification provides a data sharing system. This specification also relates to a data sharing method, a data sharing device, a computing device, and a computer-readable storage medium to solve the technical defects existing in the prior art.
[0004] According to a first aspect of an embodiment of this specification, a data sharing system is provided, wherein the system is a mesh network composed of smart devices, user terminals and sports equipment as network nodes, and each network node is communicatively connected;
[0005] A first network node is configured to determine data to be transmitted in response to an operation instruction submitted for a motion task; determine a second network node associated with the data to be transmitted in the mesh network, and send the data to be transmitted to the second network node;
[0006] The second network node is configured to process the data to be transmitted through a local processing component, determine motion data associated with the motion task according to the data processing result; determine a third network node associated with the motion data in the mesh network, and send the motion data to the third network node;
[0007] The third network node is used to display the motion data through a local display component; wherein the processing component and the display component constitute a processing link corresponding to the motion task.
[0008] According to a second aspect of an embodiment of this specification, a data sharing method is provided, which is applied to a server, and includes:
[0009] Receiving a first sharing request uploaded by a first network node in a mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to a motion task;
[0010] determining a second network node in the mesh network according to the first node identifier, and sending the data to be transmitted to the second network node;
[0011] In a case where a second sharing request for the feedback of the data to be transmitted by the second network node is received, determining the motion data and the second node identifier in the second sharing request;
[0012] A third network node is determined in the mesh network according to the second node identifier, and the motion data is sent to the third network node; wherein the third network node displays the motion data through a local display component.
[0013] According to a third aspect of the embodiments of this specification, a data sharing device is provided, which is applied to a server, and includes:
[0014] A receiving module, configured to receive a first sharing request uploaded by a first network node in a mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to a motion task;
[0015] A first sending module, configured to determine a second network node in the mesh network according to the first node identifier, and send the data to be transmitted to the second network node;
[0016] a determining module configured to, upon receiving a second sharing request fed back by the second network node for the data to be transmitted, determine the motion data and the second node identifier in the second sharing request;
[0017] The second sending module is configured to determine a third network node in the mesh network according to the second node identifier, and send the motion data to the third network node; wherein the third network node displays the motion data through a local display component.
[0018] According to a fourth aspect of an embodiment of this specification, a computing device is provided, including:
[0019] Memory and processor;
[0020] The memory is used to store computer-executable instructions, and the processor is used to implement the steps of the data sharing method when executing the computer-executable instructions.
[0021] According to a fifth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the data sharing method are implemented.
[0022] The data sharing system provided in this specification is a mesh network composed of smart devices, user terminals and sports equipment as network nodes, and each network node is communicatively connected; when the first network node in the network receives an operation instruction submitted by a user for a sports task, it can determine the data to be transmitted according to the operation instruction, and then send the data to be transmitted to the second network node in the network. The second network node will first process the data to be transmitted, and determine the sports data of the associated sports task according to the processing result, and then select a third network node from the network and send the sports data. The third network node aggregates the sports data and displays it to the user through a display component, thereby building a processing link for processing the sports task based on the components configured by the device corresponding to the node in the network, so as to complete the processing of the sports task by combining the components of multiple devices in the component dimension, and can provide users with better services, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a schematic diagram of a data sharing system provided in an embodiment of this specification;
[0024] Figure 2 It is a structural diagram of a first data sharing system provided in an embodiment of this specification;
[0025] Figure 3 is a structural diagram of a second data sharing system provided in an embodiment of this specification;
[0026] Figure 4 is a flow chart of a data sharing method provided in an embodiment of this specification;
[0027] Figure 5 It is a structural diagram of a data sharing device provided in an embodiment of this specification;
[0028] Figure 6 It is a structural block diagram of a computing device provided in one embodiment of this specification. DETAILED DESCRIPTION
[0029] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0030] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0031] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0032] In this specification, a data sharing system is provided. This specification also relates to a data sharing method, a data sharing apparatus, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0033] See also Figure 1 As shown in the schematic diagram, the data sharing system provided in the present specification is a mesh network composed of smart devices, user terminals and sports equipment as network nodes, and each network node is communicatively connected; when the first network node in the network receives an operation instruction submitted by the user for a sports task, it can determine the data to be transmitted according to the operation instruction, and then send the data to be transmitted to the second network node in the network. The second network node will first process the data to be transmitted, and determine the sports data of the associated sports task according to the processing result, and then select a third network node from the network and send the sports data. The third network node aggregates the sports data and displays it to the user through a display component, thereby building a processing link for processing the sports task based on the components configured by the device corresponding to the node in the network, so as to complete the processing of the sports task by combining the components of multiple devices through the component dimension, and can provide users with better services, thereby improving the user experience.
[0034] Figure 2 2 is a schematic diagram of the structure of the first data sharing system provided in an embodiment of the present specification; the data sharing system 200 is a mesh network composed of a smart device 201, a user terminal 202 and a sports device 203 as network nodes, and each network node is connected to each other by communication;
[0035] The first network node 210 is configured to determine data to be transmitted in response to an operation instruction submitted for a motion task; determine a second network node associated with the data to be transmitted in the mesh network, and send the data to be transmitted to the second network node;
[0036] The second network node 220 is configured to process the data to be transmitted through a local processing component, determine the motion data associated with the motion task according to the data processing result; determine a third network node associated with the motion data in the mesh network, and send the motion data to the third network node;
[0037] The third network node 230 is used to display the motion data through a local display component; wherein the processing component and the display component constitute a processing link corresponding to the motion task.
[0038] Specifically, the mesh network specifically refers to a network in which the intelligent device 201, the user terminal 202 and the sports equipment 203 as network nodes transmit data and control instructions to each other through dynamic routing, and the network can ensure the integrity of the connection between each network node. It should be noted that when a node in the network topology fails or cannot be served, this architecture allows the network node to form a new route by jumping to transmit data, so as to ensure that effective data transmission can be carried out between network nodes. Correspondingly, the first network node specifically refers to a network node with a motion task processing demand in the mesh network. When a network node needs to process a motion task to share data with other network nodes, the network node can be used as the first network node, and the first network node is a network node that triggers the motion task. Correspondingly, the second network node and the third network node specifically refer to other network nodes that need to jointly process the motion task with the first network node, and the second network node and the third network node both have components that constitute the processing link, which are used to complete the motion task through the processing link.
[0039] It should be noted that under the same motion task, the first network node, the second network node and the third network node are different network nodes in the mesh network, which are used to realize the combination of local components to form a processing link, so as to achieve the purpose of completing the motion task by combining components of different devices, so as to provide users with better services.
[0040] Furthermore, the smart device 201 specifically refers to a device worn by a user, and the smart device is configured with a six-axis sensor and / or a device display component, and the six-axis sensor is used to complete the collection of the user's motion data during exercise; and the device display component can display the same motion information, such as heart rate, exercise time, device power and other information. In addition, the smart device 201 can also be configured with an audio playback component to broadcast the motion data through the audio playback component. Correspondingly, the user terminal 202 specifically refers to the terminal device held by the user, including but not limited to mobile phones, laptops, tablet computers, etc. Correspondingly, the sports equipment 203 specifically refers to the equipment that the user needs to use when exercising, including but not limited to treadmills, elliptical machines, yoga mats, spinning bikes, etc.
[0041] Furthermore, the motion task specifically refers to a task that needs to be processed in conjunction with each network node in the mesh network, and the motion tasks triggered in different network nodes are different. For example, if the first network node is a user terminal, the triggered motion task can be a motion task for sharing video data, which is used to play the video in conjunction with the second network node and the third network node, without affecting the collection and display of motion data. Correspondingly, the data to be transmitted specifically refers to the data that needs to be shared and is involved in the motion task, and the data is associated with the motion task. Correspondingly, the operation instruction specifically refers to the instruction submitted by the user for the motion task, which is used to determine the data to be transmitted and to execute the motion task. Correspondingly, the processing component specifically refers to the component of the device configuration corresponding to the second network node, and the component can process the data to be transmitted, such as display or calculation.
[0042] Accordingly, the motion data specifically refers to the data that can be generated or collected by the device corresponding to the second network node, and due to the triggering of the motion task, the motion data cannot be used at the second network node, and needs to be handed over to the third network node for display after determining the third network node. Correspondingly, the local display component specifically refers to the component configured by the device corresponding to the third network node, and the component can display the motion data, such as a screen or audio playback component.
[0043] Based on this, when the user submits an operation instruction through the device corresponding to the first network node, the motion task will be initiated through the first network node. In order to provide high-quality motion services to users through the mesh network to complete the motion task, the data to be transmitted can be determined according to the operation instruction first, and then the second network node associated with the data to be transmitted can be determined from the mesh network, and the data to be transmitted can be sent to the second network node.
[0044] After the second network node receives the data to be transmitted, it will use the local processing component to process the data to be transmitted. During the processing, taking into account that the data to be transmitted may occupy other components of the corresponding device of the second network node, it can determine the motion data of the associated motion task and the third network node that can display the motion data, and send the motion data to the third network node.
[0045] After receiving the motion data, the third network node determines its associated motion task, and therefore displays the motion data through a local display component. The display component in the third network node and the processing component in the second network node form a processing link for the associated motion task, which can be used to process the motion task to complete the task.
[0046] It should be noted that after the processing link is created, it will be used to perform the motion task. In other words, the display component of the third network node will continue to display the motion data, and the processing component of the second network node will continue to process the data to be transmitted until the motion task is completed and the link is released. In other words, by combining components of different devices to form a link for processing motion tasks, high-quality motion services can be provided to users in motion scenarios, effectively improving the user's motion experience.
[0047] In addition, considering that there are multiple user terminals, smart devices and sports equipment associated with the user, the mesh network can be composed of at least one user terminal, at least one smart device and at least one sports equipment. In specific implementation, the number of network nodes in the mesh network can be determined according to the number of devices associated with the user, and this embodiment does not impose any limitations on this.
[0048] To summarize, when the first network node in the network receives an operation instruction submitted by the user for a motion task, it can determine the data to be transmitted according to the operation instruction, and then send the data to be transmitted to the second network node in the network. The second network node will first process the data to be transmitted, and determine the motion data of the associated motion task based on the processing result, and then select a third network node from the network and send the motion data. The third network node aggregates the motion data and displays it to the user through a display component, thereby building a processing link for processing motion tasks based on the components of the device configuration corresponding to the nodes in the network, and completing the processing of motion tasks by combining the components of multiple devices in the component dimension, which can provide users with better services and improve the user experience.
[0049] Further, in the case where the first network node corresponds to the user terminal, it is indicated that the user triggers the motion task through the user terminal at this time, and the specific description is as follows:
[0050] The first network node is further configured to determine the video data in response to the operation instruction submitted for the sports task, select a network node corresponding to the sports equipment associated with the video data in the mesh network as a second network node, and send the video data to the second network node;
[0051] The second network node is further used to display the video data through a motion screen, determine the first device motion data according to the display result, select a network node corresponding to the smart device associated with the first device motion data in the mesh network as a third network node, and send the first device motion data to the third network node;
[0052] The third network node is also used to display the first equipment movement data through the device screen.
[0053] Specifically, the video data specifically refers to the video that needs to be displayed through other devices after the exercise task is triggered. Correspondingly, the exercise screen specifically refers to the screen configured on the exercise equipment, which has the functions of display and playback. Correspondingly, the first equipment exercise data specifically refers to the user's exercise data collected by the exercise equipment, and correspondingly, the device screen specifically refers to the screen configured on the smart device, which has the functions of display and playback.
[0054] Based on this, when the first network node corresponds to a user terminal, if the user submits an operation instruction through the user terminal, the exercise task can be first determined as a task for sharing video data, and then the video data to be shared can be determined. After determining the video data, in order to provide high-quality services to users in motion, so that users can watch the data displayed on the user terminal during exercise without affecting the exercise, the network node corresponding to the sports equipment associated with the video data can be selected in the mesh network as the second network node, and then the video data can be sent to the sports equipment.
[0055] After the sports equipment receives the video data, it can display the video data to the exercising user through the sports screen. At the same time, considering that the video playback occupies the sports screen of the sports equipment, the first equipment motion data collected by the sports equipment can no longer be displayed to the user through the sports screen. Therefore, a third network node associated with the first equipment motion data can be selected in the mesh network, that is, the network node corresponding to the smart device, and then the first equipment motion data can be sent to the third network node.
[0056] Finally, after the smart device receives the motion data of the first equipment, it can use the device screen to display the motion data of the first equipment to meet the user's need to watch videos during exercise. At the same time, the motion data collected by the sports equipment will be shared with the smart device, so that the exercise details can be displayed through the smart device, thereby satisfying the user in the sports scene. Components of multiple devices in the mesh network can be combined to form a temporary processing link for processing sports tasks until the sports task is completed.
[0057] In this process, considering that the sports equipment may not have an audio playback component, and the video needs to be watched in combination with its matching audio to meet the viewing needs. Therefore, after the video data is sent to the sports equipment for playback, the audio content of the associated video can be played using the audio playback component of the user terminal, and the playback progress of the two is the same to meet the user's experience.
[0058] For example, user A's mobile phone, sports bracelet and treadmill form a mesh network. When user A uses the treadmill to exercise and has the need to catch up with TV series, the exercise task can be triggered through the mobile phone. Since it is inconvenient for users to hold the mobile phone to watch videos during exercise, the mobile phone will be in the screen-off state. At this time, it will be detected that the mobile phone screen is off. In order to support users to watch videos, a node that can play videos and does not affect the user's exercise can be selected in the mesh network as the second network node. At this time, it is determined that the treadmill has a screen and the user is exercising on the treadmill, so the network node corresponding to the treadmill can be used as the second network node, and then the video to be played on the mobile phone is sent to the treadmill.
[0059] After the treadmill receives the video, in order to be able to play it on the treadmill screen, the original video data needs to be processed at this time. By adjusting the resolution of the original video and adjusting the playback size, a target video with a resolution of 480 and a playback size of 600*400 is obtained, and finally the video is played through the screen on the treadmill. In this process, since the video occupies the treadmill screen, the mileage data and exercise time data collected by the treadmill will be sent to the bracelet corresponding to the third network node in the mesh network. After the bracelet receives the mileage data and exercise time data, it can be displayed to the user through the bracelet screen.
[0060] During this process, considering that there is no audio playback component installed on the treadmill, in order not to affect the user's video viewing, the audio playback component of the mobile phone can be used at the same time to play the audio content of the video, so that the target video and its associated audio can be played through the joint use of the treadmill and the mobile phone, meeting the user's needs to chase dramas during exercise.
[0061] In summary, by combining the components of each device to form a processing link and processing motion tasks through the link, devices can be randomly combined according to motion tasks to form a processing link that can complete motion tasks, meet the user's motion needs in different motion scenarios, provide users with better quality motion services, and improve user experience.
[0062] In addition, since the motion tasks are all associated with the same user, in order to support the various network nodes in the mesh network to jointly provide services for the same user, it is necessary to ensure that the various network nodes in the mesh network are connected via Bluetooth, wired network and / or wireless network communication, and that the user account logged in to each network node is the same.
[0063] That is to say, each network node in the mesh network needs to be connected to each other via Bluetooth, wired network and / or wireless network communication, and the device corresponding to each network node needs to log in to the same user's account so that multiple devices can work together to provide sports services for the user.
[0064] It should be noted that, taking into account the unstable factors of communication connections in actual application scenarios, in order to support stable connections between various network nodes, any two network nodes can choose any of the above methods for communication connection based on transmission stability. It is only necessary to ensure that the account logged in on the device of each network node is the same.
[0065] For example, the mobile phone is wirelessly connected to the treadmill, the mobile phone is connected to the bracelet via Bluetooth, the bracelet is wirelessly connected to the treadmill, and the accounts logged in to the mobile phone, treadmill and bracelet all belong to the same user, then a mesh network based on the mobile phone, treadmill and bracelet can still be formed to process sports tasks.
[0066] Furthermore, when selecting a second network node from a mesh network, it is considered that there may be multiple network nodes in the mesh network that can display the data to be transmitted, and different network nodes have different priorities in different scenarios. Therefore, when selecting, it is necessary to combine the data type and priority to select the network node that is most convenient for users to use as the second network node. In this embodiment, the first network node is also used to determine the data type of the data to be transmitted, traverse the network nodes included in the mesh network according to the data type, and select the network node in the mesh network that matches the data type and has the highest priority according to the traversal result as the second network node.
[0067] Specifically, the data type specifically refers to the type corresponding to the data to be transmitted, which is used to clarify the display form of the data to be transmitted, so that the second network node that can be conveniently displayed to the user can be accurately selected in the mesh network.
[0068] Based on this, after the first network node determines the data to be transmitted of the associated motion task, in order to be able to display the data to be transmitted through other network nodes and make it more convenient for users in motion to watch, the data type of the data to be transmitted can be determined first, and then the network nodes included in the mesh network can be traversed according to the data type, so as to select the network node that matches the data type and has the highest priority in the mesh network according to the traversal result as the second network node.
[0069] In actual applications, the priority of each network node in displaying the data to be transmitted in different scenarios is not fixed. For example, there are treadmills and spinning bikes in the mesh network. When the user needs to watch a video, the screens of the treadmill and the spinning bike can be displayed. The user's current sports scene is to use a treadmill for exercise, so the treadmill has a higher priority. When selecting a network node, the network node corresponding to the treadmill will be selected as the second network node. Therefore, after the mesh network is built, each network node will correspond to a default priority. When the exercise task is triggered, the priority of each network node will be adjusted according to the user's current exercise scene. The adjusted priority is the priority of selecting the second network node in the current exercise scene to ensure that the selected second network node is a network node that can display the data to be transmitted and is more in line with the current exercise scene; it is more convenient for users to use.
[0070] On this basis, after determining the data type, it is also necessary to determine the component of the second network node that can process the data to be transmitted, and after determining the local processing component, since the local processing component is occupied, the data collected by the second network node will be used as motion data for subsequent use. In this embodiment, the second network node is also used to select the local processing component according to the data type, process the data to be transmitted through the local processing component, send a collection instruction to the local collection component according to the processing result, and obtain the motion data fed back by the local collection component based on the collection instruction; wherein the collection component, the processing component and the display component constitute a processing link corresponding to the motion task.
[0071] Specifically, the local acquisition component specifically refers to a component that can collect motion data of a user, including but not limited to a sensor, a sound receiving component, an image acquisition component, etc., and this embodiment does not make any limitation here. Correspondingly, the acquisition instruction specifically refers to an instruction sent to the local acquisition component triggered after the local processing component is occupied, which is used to obtain motion data through the local acquisition component for subsequent use.
[0072] Based on this, after determining the data type of the data to be transmitted, you can first select a local processing component according to the data type, and then process the data to be transmitted through the local processing component, and send a collection instruction to the local collection component based on the processing result. At this time, the local collection component will obtain the motion data of the user in motion according to the collection instruction. At this time, the motion data fed back by the local collection component based on the collection instruction can be obtained for subsequent sending to the third network node for display.
[0073] It should be noted that in this process, in order to process the motion task, it is also necessary to combine the local acquisition component at the second network node. Therefore, the acquisition component, processing component and display component will form a processing link corresponding to the motion task to realize the processing of the motion task.
[0074] For example, a mobile phone, a treadmill, a spinning bike, and a bracelet form a mesh network. When it is determined that video data needs to be shared, it will first detect whether the screen of the mobile phone is turned off; if so, other network nodes that can play videos are selected in the mesh network according to the type of video data. It is determined that both the treadmill and the spinning bike are equipped with screens and can display videos. The two are used as candidate network nodes. Then, combined with the current sports scene, it is determined that the user is exercising on a spinning bike, and the spinning bike is determined to have the highest priority. Therefore, the network node corresponding to the spinning bike can be selected as the second network node, and then the video data can be sent to the spinning bike for subsequent playback processing.
[0075] After receiving the video data, the spinning bike will select a screen to play the sports video. During this process, the user's riding time and mileage recorded by the bike will not be displayed on the screen, so the data collected by the spinning bike's motion sensor will be sent to the bracelet for display to meet user needs. In the process, in order to support users to watch videos during exercise, the screen on the bracelet, the screen on the spinning bike and the sensor will be combined to form a processing link corresponding to the exercise task until the end of the exercise.
[0076] In summary, by combining data type and priority to match the second network node in the mesh network, it is possible to accurately determine the network node that meets the current sports scene as the second network node, so as to provide sports services to users more conveniently and make it more convenient for users to use.
[0077] Furthermore, after the second network node determines the motion data, considering that there may be multiple network nodes in the mesh network that can display the data to be transmitted, and different network nodes have different priorities in different scenarios, it is necessary to combine the data type and priority when selecting, and select the network node that is most convenient for users to use as the third network node. In this embodiment, the second network node is also used to determine the motion data type of the motion data, traverse the network nodes included in the mesh network according to the motion data type, and select the network node in the mesh network that matches the motion data type and has the highest priority according to the traversal result as the third network node.
[0078] Specifically, the motion data type specifically refers to the type corresponding to the motion data, which is used to clarify the display form of the motion data, so that a third network node that can be conveniently displayed to the user can be accurately selected in the mesh network.
[0079] Based on this, after the second network node determines the motion data, in order to be able to display the motion data through other network nodes and make it more convenient for users in motion to watch, the motion data type of the motion data can be determined first, and then the network nodes included in the mesh network can be traversed according to the motion data type, so as to select the network node that matches the motion data type and has the highest priority in the mesh network according to the traversal results as the third network node.
[0080] On this basis, after determining the type of motion data, it is also necessary to determine the component of the third network node that can process the motion data, and after determining the local display component, the motion data will be processed according to the display strategy corresponding to the local display component, and the processed motion data will be displayed. In this embodiment, the third network node is also used to determine the local display component according to the motion data type, process the motion data according to the display strategy corresponding to the local display component, and display the processed motion data through the local display component.
[0081] Specifically, the display strategy refers to a strategy for processing motion data, which can convert the motion data collected by the second network node into data displayed by the local display component in the corresponding third network node, such as converting the data into numerical values, converting the data into curve graphs, editing videos, etc.
[0082] Based on this, after the third network node determines the local display component according to the type of motion data, it can process the motion data according to the display strategy corresponding to the local display component, and display the processed motion data through the local display component to meet the user's viewing needs.
[0083] Using the above example, after the spinning bike plays the video on the screen, the collected riding time data and mileage data cannot be displayed on the screen. Therefore, in order not to affect the user's understanding of their own exercise status, the network node corresponding to the bracelet can be selected as the third network node in the mesh network, and then the riding time data and mileage data are sent to the bracelet. After receiving the riding time data and mileage data, the bracelet will convert the riding time data and mileage data according to the display strategy of the display component, convert them into riding time values and mileage values, and finally display them to the user through the bracelet's screen.
[0084] In summary, by combining the motion data type and priority to match the third network node in the mesh network, it is possible to accurately determine the network node that meets the current motion scene as the third network node, so as to provide users with more convenient motion services and make it more convenient for users to use.
[0085] In addition, considering that the first network node is the node that triggers the motion task, after determining the data to be transmitted, there may be associated data at the same time, so the associated data can also be displayed through the first network node. In this embodiment, the first network node is also used to determine the associated data associated with the data to be transmitted, and display the associated data through the local interactive component, wherein the interactive component, the processing component and the display component constitute a processing link corresponding to the motion task.
[0086] Specifically, the associated data refers to data associated with the data to be transmitted and the motion task. The associated data is different in different scenarios, including but not limited to audio data, video data, motion data, etc. Based on this, when the motion task is initiated through the first network node, the data to be transmitted will be sent to the second network node for processing or display. In order to provide users with complete motion services, the motion data associated with the data to be transmitted can be displayed through the local interactive component, and the interactive component, processing component and display component constitute the processing link of the corresponding motion task.
[0087] Continuing with the above example, after the mobile phone sends the video data to the spinning bike for display, considering that the bike cannot play audio, in order not to affect the user's viewing, the audio associated with the video can be played through the audio playback component of the mobile phone, and synchronized with the progress of the video playback on the spinning bike, so that the spinning bike, bracelet and mobile phone can combine their respective components to complete the exercise task.
[0088] To summarize, when the first network node in the network receives an operation instruction submitted by the user for a motion task, it can determine the data to be transmitted according to the operation instruction, and then send the data to be transmitted to the second network node in the network. The second network node will first process the data to be transmitted, and determine the motion data of the associated motion task based on the processing result, and then select a third network node from the network and send the motion data. The third network node aggregates the motion data and displays it to the user through a display component, thereby building a processing link for processing motion tasks based on the components of the device configuration corresponding to the nodes in the network, and completing the processing of motion tasks by combining the components of multiple devices in the component dimension, which can provide users with better services and improve the user experience.
[0089] Corresponding to the above method embodiment, this specification also provides a second data sharing system embodiment, Figure 3 3 is a structural diagram of a second data sharing system provided in an embodiment of the present specification; the data sharing system 300 is a mesh network composed of smart devices, user terminals and sports equipment as network nodes, and each network node is connected in communication; in the case where the first network node corresponds to the sports equipment, the first network node 310 is further used to determine the second equipment motion data in response to the operation instruction submitted for the sports task, select the network node corresponding to the smart device associated with the second equipment motion data in the mesh network as the second network node, and send the second equipment motion data to the second network node;
[0090] The second network node 320 is further configured to process the second device motion data through the processor, drive the motion sensor to collect the third device motion data according to the processing result, and generate the target device motion data based on the second device motion data and the third device motion data; select a network node corresponding to the user terminal associated with the target device motion data in the mesh network as the third network node, and send the target device motion data to the third network node;
[0091] The third network node 330 is further used to display the target device motion data through the terminal screen.
[0092] Specifically, the second equipment motion data refers to the user motion data collected by the sports equipment, and the third equipment motion data refers to the user motion data collected by the smart device. The target equipment motion data refers to the motion data obtained by integrating the second equipment motion data and the third equipment motion data.
[0093] Based on this, in the case where the first network node corresponds to the sports equipment, the first network node will determine the second equipment motion data in response to the operation instruction submitted for the sports task, and then select the network node corresponding to the smart device associated with the second equipment motion data in the mesh network as the second network node, and then send the second equipment motion data to the second network node;
[0094] At this time, the second network node processes the second device motion data through the processor, drives the motion sensor to collect the third device motion data according to the processing result, and generates the target device motion data based on the second device motion data and the third device motion data; selects the network node corresponding to the user terminal associated with the target device motion data in the mesh network as the third network node, and sends the target device motion data to the third network node; finally, the third network node displays the target device motion data through the terminal screen.
[0095] For example, user A's mobile phone, sports bracelet and treadmill form a mesh network. After user A finishes exercising, the mileage collected by the treadmill will be sent to the bracelet. After the bracelet receives the mileage, considering that the exercise is over, in order to make it easier for users to view their own exercise status, the user's heart rate data can be collected through the motion sensor. At this time, the mileage data and heart rate data uploaded by the treadmill will be combined to form exercise data and sent to the mobile phone. After receiving the exercise data, the mobile phone will convert it into a motion curve chart according to the preset processing strategy to show it to the user.
[0096] To summarize, when the first network node in the network receives an operation instruction submitted by the user for a motion task, it can determine the data to be transmitted according to the operation instruction, and then send the data to be transmitted to the second network node in the network. The second network node will first process the data to be transmitted, and determine the motion data of the associated motion task based on the processing result, and then select a third network node from the network and send the motion data. The third network node aggregates the motion data and displays it to the user through a display component, thereby building a processing link for processing motion tasks based on the components of the device configuration corresponding to the nodes in the network, and completing the processing of motion tasks by combining the components of multiple devices in the component dimension, which can provide users with better services and improve the user experience.
[0097] Corresponding to the above system embodiment, this specification also provides a data sharing method embodiment. Figure 4 FIG. 1 is a flow chart showing a data sharing method provided by an embodiment of this specification. Figure 4 As shown, the method is applied to the server, including:
[0098] Step S402, receiving a first sharing request uploaded by a first network node in the mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to a motion task;
[0099] Step S404, determining a second network node in the mesh network according to the first node identifier, and sending the data to be transmitted to the second network node;
[0100] Step S406: upon receiving a second sharing request for the feedback of the data to be transmitted by the second network node, determining the motion data and the second node identifier in the second sharing request;
[0101] Step S408: determining a third network node in the mesh network according to the second node identifier, and sending the motion data to the third network node; wherein the third network node displays the motion data through a local display component.
[0102] In summary, by building a processing link for processing motion tasks based on the components configured by the devices corresponding to the nodes in the network, and by combining the components of multiple devices in the component dimension to complete the processing of motion tasks, better services can be provided to users, thereby improving the user experience.
[0103] The above is a schematic scheme of a data sharing method of this embodiment. It should be noted that the technical scheme of the data sharing method and the technical scheme of the above data sharing system belong to the same concept, and the details not described in detail in the technical scheme of the data sharing method can be referred to the description of the technical scheme of the above data sharing system.
[0104] Corresponding to the above method embodiment, this specification also provides a data sharing device embodiment, Figure 5 FIG. 1 shows a schematic diagram of the structure of a data sharing device provided in an embodiment of the present specification. Figure 5 As shown, the device comprises:
[0105] The receiving module 502 is configured to receive a first sharing request uploaded by a first network node in the mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to the motion task;
[0106] A first sending module 504, configured to determine a second network node in the mesh network according to the first node identifier, and send the data to be transmitted to the second network node;
[0107] A determination module 506 is configured to determine the motion data and the second node identifier in the second sharing request when receiving the second sharing request for the data to be transmitted fed back by the second network node;
[0108] The second sending module 508 is configured to determine a third network node in the mesh network according to the second node identifier, and send the motion data to the third network node; wherein the third network node displays the motion data through a local display component.
[0109] In summary, by building a processing link for processing motion tasks based on the components configured by the devices corresponding to the nodes in the network, and by combining the components of multiple devices in the component dimension to complete the processing of motion tasks, better services can be provided to users, thereby improving the user experience.
[0110] The above is a schematic scheme of a data sharing device of this embodiment. It should be noted that the technical scheme of the data sharing device and the technical scheme of the above data sharing method belong to the same concept, and the details not described in detail in the technical scheme of the data sharing device can be referred to the description of the technical scheme of the above data sharing method.
[0111] Figure 6 The structure block diagram of a computing device 600 provided according to an embodiment of the present specification is shown. The components of the computing device 600 include but are not limited to a memory 610 and a processor 620. The processor 620 is connected to the memory 610 via a bus 630, and the database 650 is used to store data.
[0112] The computing device 600 also includes an access device 640 that enables the computing device 600 to communicate via one or more networks 660. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 640 may include one or more of any type of network interface (e.g., a network interface card (NIC)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0113] In one embodiment of the present specification, the above components of the computing device 600 and Figure 6 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 6The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0114] The computing device 600 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a PC. The computing device 600 may also be a mobile or stationary server. The processor 620 is used to implement the steps of the data sharing method when executing computer executable instructions.
[0115] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above data sharing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above data sharing method.
[0116] An embodiment of the present specification also provides a computer-readable storage medium storing computer instructions, which are used in a data sharing method when executed by a processor.
[0117] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above data sharing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above data sharing method.
[0118] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0119] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0120] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that this specification is not limited by the order of the actions described, because according to this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this specification.
[0121] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0122] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is limited only by the claims and their full scope and equivalents.
Claims
1. A data sharing system, characterized in that: The system is a mesh network composed of smart devices, user terminals and sports equipment as network nodes, and each network node is connected to each other by communication; A first network node is configured to determine data to be transmitted in response to an operation instruction submitted for a motion task; determine a second network node associated with the data to be transmitted in the mesh network, and send the data to be transmitted to the second network node; The second network node is configured to process the data to be transmitted through a local processing component, determine motion data associated with the motion task according to the data processing result; determine a third network node associated with the motion data in the mesh network, and send the motion data to the third network node; The third network node is used to display the motion data through a local display component; wherein the processing component and the display component constitute a processing link corresponding to the motion task.
2. The system according to claim 1, characterized in that The first network node is further used to determine the data type of the data to be transmitted, traverse the network nodes included in the mesh network according to the data type, and select the network node in the mesh network that matches the data type and has the highest priority as the second network node according to the traversal result.
3. The system according to claim 2, characterized in that The second network node is also used to select the local processing component according to the data type, process the data to be transmitted through the local processing component, send a collection instruction to the local collection component according to the processing result, and obtain the motion data fed back by the local collection component based on the collection instruction; wherein the collection component, the processing component and the display component constitute a processing link corresponding to the motion task.
4. The system according to claim 1, characterized in that The second network node is further used to determine the motion data type of the motion data, traverse the network nodes included in the mesh network according to the motion data type, and select the network node in the mesh network that matches the motion data type and has the highest priority as the third network node according to the traversal result.
5. The system according to claim 4, characterized in that The third network node is further used to determine the local display component according to the type of the motion data, process the motion data according to the display strategy corresponding to the local display component, and display the processed motion data through the local display component.
6. The system according to claim 1, characterized in that The first network node is further used to determine associated data associated with the data to be transmitted, and display the associated data through a local interactive component, wherein the interactive component, the processing component and the display component constitute a processing link corresponding to the motion task.
7. The system according to any one of claims 1 to 6, characterized in that: The processing link is used to perform the motion task.
8. The system according to claim 1, characterized in that In the case where the first network node corresponds to the user terminal, the first network node is further configured to determine the video data in response to the operation instruction submitted for the sports task, select a network node corresponding to the sports equipment associated with the video data in the mesh network as the second network node, and send the video data to the second network node; The second network node is further used to display the video data through a motion screen, determine the first device motion data according to the display result, select a network node corresponding to the smart device associated with the first device motion data in the mesh network as a third network node, and send the first device motion data to the third network node; The third network node is also used to display the first equipment movement data through the device screen.
9. The system according to claim 1, characterized in that In the case where the first network node corresponds to the sports equipment, the first network node is further used to determine the second equipment motion data in response to the operation instruction submitted for the sports task, select the network node corresponding to the smart device associated with the second equipment motion data in the mesh network as the second network node, and send the second equipment motion data to the second network node; The second network node is further configured to process the second device motion data through a processor, drive the motion sensor to collect the third device motion data according to the processing result, and generate the target device motion data based on the second device motion data and the third device motion data; select the network node corresponding to the user terminal associated with the target device motion data in the mesh network as the third network node, and send the target device motion data to the third network node; The third network node is also used to display the target device movement data through the terminal screen.
10. A data sharing method, characterized in that: Applied to the server, including: Receiving a first sharing request uploaded by a first network node in a mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to a motion task; determining a second network node in the mesh network according to the first node identifier, and sending the data to be transmitted to the second network node; In a case where a second sharing request for the feedback of the data to be transmitted by the second network node is received, determining the motion data and the second node identifier in the second sharing request; A third network node is determined in the mesh network according to the second node identifier, and the motion data is sent to the third network node; wherein the third network node displays the motion data through a local display component.
11. A data sharing device, characterized in that: Applied to the server, including: A receiving module, configured to receive a first sharing request uploaded by a first network node in a mesh network; wherein the first sharing request carries data to be transmitted and a first node identifier, and the data to be transmitted is determined by the first network node according to a motion task; A first sending module, configured to determine a second network node in the mesh network according to the first node identifier, and send the data to be transmitted to the second network node; a determining module configured to, upon receiving a second sharing request fed back by the second network node for the data to be transmitted, determine the motion data and the second node identifier in the second sharing request; The second sending module is configured to determine a third network node in the mesh network according to the second node identifier, and send the motion data to the third network node; wherein the third network node displays the motion data through a local display component.
12. A computing device, characterized in that: It comprises a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the method according to claim 10.
13. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by a processor, the steps of the method according to claim 10 are implemented.
