Data processing method, device, electronic device and computer readable storage medium

By sending version incremental data in the sweeper and updating the target version data, the complex problem of sweeper data processing process is solved, and the effect of simplifying data processing flow and improving data processing efficiency is achieved.

CN114327598BActive Publication Date: 2025-05-06SHENZHEN TCL NEW-TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111650700.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-05-06
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

The data processing process of existing sweepers is complex and needs optimization.

Method used

By sending version incremental data to the server's data storage model, updating the target version data, and sending the changed version model to the driver model, the mobile terminal can obtain and draw the target version data, simplifying the data processing process.

Benefits of technology

It reduces the complexity of data processing of sweepers, avoids the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saves link design, and improves the efficiency of data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114327598B_ABST
    Figure CN114327598B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a data processing method, device, electronic device and computer-readable storage medium, the method comprising: sending version increment data to the data storage model of the server, so that the data storage model updates the version data according to the version increment data to obtain the target version data; receiving the changed version model returned by the data storage model, the changed version model corresponds to the target version data; sending the changed version model to the driver model of the server, so that the mobile terminal obtains the changed version model through the driver model, and obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal. By sending the version increment data to the server, the reporting of the version data on the sweeping machine side is realized. The changed version data is transmitted using the existing data transmission link, saving the design of additional links and reducing the complexity of data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and specifically to a data processing method, device, electronic device, and computer-readable storage medium. Background Art

[0002] With the rapid development of computer technology, the performance of sweeping machines has been steadily improved, and sweeping machines themselves have also been well promoted.

[0003] However, the current data processing process of sweeping robots is still relatively complex and needs to be optimized. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, device, electronic device and computer-readable storage medium, which can reduce the complexity of data processing of a sweeping machine.

[0005] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to a sweeping robot, comprising:

[0006] Sending version increment data to a data storage model of a server, so that the data storage model updates version data according to the version increment data to obtain target version data;

[0007] Receive a changed version model returned by the data storage model, wherein the changed version model corresponds to the target version data;

[0008] The changed version model is sent to the driving model of the server, so that the mobile terminal obtains the changed version model through the driving model, obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

[0009] In a second aspect, an embodiment of the present application further provides a data processing device, which is applied to a sweeping machine, comprising:

[0010] An incremental data sending module is used to send version incremental data to a data storage model of a server, so that the data storage model updates version data according to the version incremental data to obtain target version data;

[0011] A receiving module, used for receiving a changed version model returned by the data storage model, wherein the changed version model corresponds to the target version data;

[0012] A version model sending module is used to send the changed version model to the driving model of the server so that the mobile terminal obtains the changed version model through the driving model, and obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

[0013] In some embodiments of the present application, the device further includes a first control module, and the first control module includes:

[0014] A control instruction sending unit, used for receiving a control instruction sent by the driving model, wherein the control instruction is generated after the drawn mobile terminal drives and controls the driving model;

[0015] A control unit is used to perform corresponding operations according to the control instructions.

[0016] In the embodiment of the present application, the version incremental data includes map data, area data and path data, and the incremental data sending module includes:

[0017] A data sending unit is used to send the map data, the area data and the path data to a unified data transmission interface of the data storage model of the server.

[0018] In a third aspect, an embodiment of the present application provides a data processing method, which is applied to a mobile terminal, including:

[0019] Obtaining a changed version model from a drive model of a server, wherein the changed version model is uploaded to the drive model by the sweeping robot;

[0020] Obtaining target version data from the data storage model of the server according to the changed version model, the target version data being uploaded to the data storage model by the sweeping machine, and after the target version data is uploaded, causing the data storage model to send the changed version model corresponding to the target version data to the sweeping machine;

[0021] The target version data is drawn.

[0022] In a fourth aspect, an embodiment of the present application provides a data processing device, applied to a mobile terminal, comprising:

[0023] A version model acquisition module, used to acquire a changed version model from a drive model of a server, wherein the changed version model is uploaded to the drive model by the sweeping machine;

[0024] A version data acquisition module, used to acquire target version data from the data storage model of the server according to the changed version model, wherein the target version data is uploaded to the data storage model by the sweeping machine, and after the target version data is uploaded, the data storage model sends the changed version model corresponding to the target version data to the sweeping machine;

[0025] A drawing module is used to draw the target version data.

[0026] In some embodiments of the present application, the device further includes a second control module, and the second control module includes:

[0027] A driving control unit is used to send a control command to the driving model according to the drawn mobile terminal to instruct the driving model to send a control instruction to the sweeping machine so that the sweeping machine performs corresponding operations according to the control instruction.

[0028] Among them, in some embodiments of the present application, the version model acquisition module includes:

[0029] A determination unit, used to determine a driving model in the server for driving and controlling the sweeping machine, and to determine a data transmission interface of the driving model;

[0030] A monitoring unit, used for monitoring the data transmission interface;

[0031] A receiving unit, configured to receive the response information returned by the monitoring according to the transmission link with the driving model when the data transmission interface receives data;

[0032] The screening unit is used to screen out the changed version model from the response information.

[0033] In a fifth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the above-mentioned data processing method when executing the computer program.

[0034] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned data processing method are implemented.

[0035] In an embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 It is a scenario schematic diagram of the data processing method provided in the embodiment of the present application;

[0038] Figure 2 It is a flowchart of a data processing method provided in an embodiment of the present application;

[0039] Figure 3 is another flow chart of the data processing method provided in the embodiment of the present application;

[0040] Figure 4 It is a schematic diagram of the process of obtaining version data of the data processing method provided in the embodiment of the present application;

[0041] Figure 5 is a structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0042] Figure 6 is another structural schematic diagram of a data processing device provided in an embodiment of the present application;

[0043] Figure 7 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0045] The embodiments of the present application provide a data processing method, device, electronic device, and computer-readable storage medium. Specifically, the embodiments of the present application provide a data processing device applicable to an electronic device, wherein the electronic device may be a terminal device. The terminal device may include a sweeper or a mobile phone.

[0046] See also Figure 1 , taking the data processing method jointly executed by a mobile phone and a sweeping robot as an example, the specific execution process is as follows:

[0047] The sweeping machine 10 sends the incremental version data to the server 11, and then the server 11 stores the incremental version data in its own data storage model 111. The data storage model 111 merges the incremental version data with the original version data to obtain the new version data of the sweeping machine 10 (i.e., the target version data); wherein, after obtaining the new version data, the data storage model 111 generates a new version model (version change signal) corresponding to the new version data, and returns the new version model to the sweeping machine 10.

[0048] Subsequently, the sweeping machine 10 sends the obtained new version model to the driving model 112 that drives and controls itself. After the driving model 112 receives the new version model sent by the sweeping machine 10, the monitoring event of the driving model 112 is triggered, so that the mobile phone 12 obtains the new version model of the sweeping machine 10 through the driving model 112.

[0049] Afterwards, the mobile phone 12 sends a version information acquisition request to the data storage model 111 of the server 11 according to the new version model, and obtains the new version data of the sweeping machine 10. The new version data of the sweeping machine 10 is drawn on the mobile phone 12, so that the version data of the sweeping machine 10 on the mobile phone 12 side is synchronized with the version data of the sweeping machine 10.

[0050] Among them, in the embodiment of the present application, the mobile phone 12 can send a driving signal to the driving model 112 through a mobile application (app) to instruct the driving model 112 to perform corresponding driving control on the sweeping machine 10. Therefore, in the embodiment of the present application, the mobile application data can be updated and drawn according to the new version data to obtain an updated mobile application.

[0051] In an embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine.

[0052] By constructing a data storage model to realize the storage of the sweeping machine version data, the mobile terminal can directly obtain the sweeping machine version data from the server, without relying on the sweeping machine's retransmission or the sweeping machine's status (for example, a traditional sweeping machine can upload version data only when it is not shut down or busy). That is, the server is adjusted from the original version information forwarding function to the version information storage function, and the mobile terminal can directly read the version information in the server to obtain the sweeping machine version information.

[0053] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0054] See also Figure 2 , Figure 2 The following is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method is applied to a sweeping robot, and the specific process may be as follows:

[0055] 101. Send version increment data to a data storage model of a server, so that the data storage model updates version data according to the version increment data to obtain target version data.

[0056] Among them, in the embodiment of the present application, the data storage model is used to store the version data of the sweeper;

[0057] The version increment data refers to the updated data when the sweeper version is updated, that is, it is not the entire version data of the sweeper;

[0058] Among them, the storage of the sweeping machine version data through the data storage model can facilitate the mobile terminal to directly obtain the corresponding version data from the data storage model without relying on the data transmission of the sweeping machine or the real-time status of the sweeping machine. For example, when the sweeping machine is offline or powered off, the mobile phone can still directly obtain the corresponding version data from the server, reducing the complexity of data processing and the difficulty of data acquisition.

[0059] Among them, in an embodiment of the present application, the server can obtain the target version data of the sweeper after the version upgrade based on the combination of the version incremental data and the original version information, wherein only the incremental version data of the version update part is reported, thereby avoiding the transmission of large amounts of data and reducing the complexity of data processing.

[0060] 102. Receive a changed version model returned by the data storage model, where the changed version model corresponds to the target version data.

[0061] By receiving the changed version model returned by the data storage model, it is convenient to obtain the corresponding version data according to the changed version model. Since there is a transmission link for transmitting version increment data between the sweeper and the data storage model, the changed version model can be directly transmitted back through the link without the need to build a new transmission link.

[0062] 103. Send the changed version model to the driving model of the server, so that the mobile terminal obtains the changed version model through the driving model, obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

[0063] Among them, it is possible to determine whether the data storage model has data updated or monitor the storage status of the data storage model by monitoring. However, the monitoring method depends on the connection between the mobile terminal and the data storage model (for example, a long connection), which is relatively complicated.

[0064] Furthermore, since the mobile terminal can drive and control the sweeping machine through the driving model, there is a control command transmission link between the mobile terminal, the driving model and the sweeping machine. Therefore, the changed version information can be directly sent to the mobile terminal through the data transmission link. Subsequently, after receiving the changed version information, the mobile terminal can directly send a version data acquisition request to the data storage model according to the changed version information to obtain the corresponding version data.

[0065] Among them, in the embodiment of the present application, the mobile terminal can send control information to the driving model through the mobile application. Therefore, the mobile application can be updated and drawn according to the version data, so that the version data of the mobile application is synchronized with the sweeping machine data.

[0066] In the embodiment of the present application, a control instruction may be sent to the sweeping machine through a driving model, that is, optionally, in some embodiments, after the step of "drawing the target version data to the mobile terminal", the method further includes:

[0067] receiving a control instruction sent by the driving model, wherein the control instruction is generated after the drawn mobile terminal drives and controls the driving model;

[0068] Perform corresponding operations according to the control instructions.

[0069] By changing the attribute data of the driving model, the actual operation of the sweeping machine can be changed and controlled, and the sweeping machine can be driven to perform corresponding operations. The attribute data of the driving model can be adjusted and controlled by the mobile application of the mobile terminal.

[0070] Among them, in the embodiment of the present application, the driving model includes a physical model, which is a digital representation of entities in the physical space (such as sensors, vehicle-mounted devices, buildings, factories, etc.) in the cloud, and describes what the entity is, what it can do, and what information it can provide to the outside world from the three dimensions of attributes, services, and events. Defining these three dimensions of the physical model completes the definition of product functions.

[0071] Property: The ability of a device to read and set. Generally used to describe the state of a device during operation, such as the current ambient temperature read by an environmental monitoring device. Properties support GET and SET request methods. Applications can initiate read and set requests for properties.

[0072] Service: The ability or method of a device that can be called externally, with input and output parameters that can be set. What functions does the product provide for the cloud to call. Compared with attributes, services can implement more complex business logic through a single instruction, such as executing a specific task.

[0073] Event: An event that a device actively reports to the cloud when it is running. Events generally contain notification information that needs to be sensed and processed externally, and can contain multiple output parameters. For example, information about the completion of a task, or the temperature when a device fails or alarms, etc. Events can be subscribed and pushed.

[0074] Among them, in the embodiment of the present application, the data types of the sweeping machine include map data, area data or path data, etc. Therefore, in the embodiment of the present application, a unified data interface can be established to realize the reception or transmission of various types of data, that is, optionally, in some embodiments, the step of "sending version increment data to the data storage model of the server" includes:

[0075] The map data, the area data and the path data are sent to a unified data transmission interface of a data storage model of a server.

[0076] Among them, by setting up a unified data transmission interface, the data storage model can receive data of various data types through the unified data transmission interface, reducing the number of data interfaces. For example, the traditional method of establishing a data transmission interface for each type of data results in numerous data transmission interfaces and complex data processing.

[0077] Among them, since there is a dependency relationship between map data, area data and path data, the various data can be integrated into a group of data or a type of data according to the dependency relationship, and a unified data transmission interface can be established to simplify the data processing process.

[0078] In an embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine.

[0079] See also Figure 3 , Figure 3 The following is a flow chart of a data processing method provided in an embodiment of the present application. The data processing method is applied to a mobile terminal, and the specific process may be as follows:

[0080] 201. Obtain a changed version model from a driving model of a server, wherein the changed version model is uploaded to the driving model by the sweeping machine.

[0081] By obtaining the changed version model, it is convenient to obtain the corresponding version data according to the changed version model. Since the changed version model is uploaded by the sweeping machine, the accuracy of the correspondingly obtained version data can be improved.

[0082] In the embodiment of the present application, the changed version model may be obtained by monitoring the driver model, that is, optionally, in some embodiments, the step of "obtaining the changed version model from the driver model of the server" includes:

[0083] Determine a driving model in the server for driving and controlling the sweeping machine, and determine a data transmission interface of the driving model;

[0084] Monitoring the data transmission interface;

[0085] When the data transmission interface receives data, the response information returned by the monitoring is received according to the transmission link with the driving model;

[0086] The changed version model is filtered out from the response information.

[0087] Among them, by monitoring the data transmission interface of the driving model, it is convenient to obtain the change event of the driving model in time, and by obtaining the monitored change data (response information), the changed version model can be screened out from the change data.

[0088] Among them, the transmission link of the change data can be transmitted according to the long connection between the mobile terminal and the driving model (the mobile terminal sends the attribute change instruction to the driving model through this link), without the need to establish an additional transmission link, thereby reducing the complexity of data transmission.

[0089] 202. Obtain target version data from the data storage model of the server according to the changed version model. The target version data is uploaded to the data storage model by the sweeping machine. After the target version data is uploaded, the data storage model sends the changed version model corresponding to the target version data to the sweeping machine.

[0090] Among them, since the changed version model is generated according to the target version data after uploading, the corresponding target version data can be obtained by changing the version model. Among them, the mobile terminal sends a version data acquisition request (including the changed version data) to the server through the changed version model, and receives the server's response to the basic acquisition request, so as to obtain the corresponding version data.

[0091] Among them, since there is a data transmission link between the mobile terminal and the driving model, the changed version information can be directly transmitted according to the data transmission link, without the need to establish a new transmission link for transmitting the changed version model between the data storage model and the mobile terminal. This reduces the complexity of the sweeper data processing.

[0092] 203. Draw the target version data.

[0093] Among them, by updating and drawing the version data on the mobile terminal side, the mobile terminal and the sweeping machine maintain data synchronization.

[0094] Among them, in the embodiment of the present application, the sweeping machine can be driven and controlled by a mobile application, so the version data can be used to update the data of the mobile application.

[0095] The control operation of the sweeping machine may be initiated according to the mobile application after the data is updated, that is, optionally, in some embodiments, after the step of "drawing the target version data", the method further includes:

[0096] According to the drawn mobile terminal, a control command is sent to the driving model to instruct the driving model to send a control instruction to the sweeping machine, so that the sweeping machine performs corresponding operations according to the control instruction.

[0097] Among them, by sending control operations to the driving model through the mobile terminal, the driving model can control the sweeping machine accordingly, which can improve the convenience of controlling the sweeping machine.

[0098] See also Figure 4 , Figure 4 This is a schematic diagram of the process of obtaining version data in an embodiment of the present application, which is as follows:

[0099] 211. The mobile app sends a version data acquisition request to the data storage model of the server based on the current version model;

[0100] 212. The data storage model returns the corresponding version data to the mobile app according to the acquisition request;

[0101] 213. When the version data of the sweeping machine changes, the sweeping machine uploads the version increment data to the data storage model of the server;

[0102] 214. After receiving the version increment data, the data storage model generates new version data according to the original version data and the version increment data, and returns a new version model corresponding to the new version data to the sweeping machine;

[0103] 215. After receiving the new version model sent by the data storage model, the sweeping machine sends the new version model to the driving model of the server;

[0104] 216. After receiving the new version model sent by the sweeper, the driving model triggers a monitoring event and sends the new version model to the mobile app;

[0105] 217. After receiving the new version model in the driver model, the mobile app initiates a version data acquisition request to the data storage model according to the new version model;

[0106] 218. The data storage model returns new version data corresponding to the new version model to the mobile app according to the acquisition request containing the new version model;

[0107] 219. After receiving the new version data, the mobile app updates and draws its own app according to the new version data to obtain the drawn new version of the app.

[0108] Among them, after the sweeper reports the version data, the transmission of the changed version model does not rely on the data storage model, but is based on the data transmission link between the mobile app, the driver model and the sweeper to transmit the changed version model, which reduces the establishment of the data transmission link and reduces the complexity of the sweeper data processing. Among them, the unified reception and management of various types of data of the sweeper through the data storage model can reduce the establishment of data transmission interfaces corresponding to different types, reduce data transmission interfaces, and reduce the complexity of data processing.

[0109] In an embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine.

[0110] By constructing a data storage model to realize the storage of the sweeping machine version data, the mobile terminal can directly obtain the sweeping machine version data from the server, without relying on the sweeping machine's retransmission or the sweeping machine's status (for example, a traditional sweeping machine can upload version data only when it is not shut down or busy). That is, the server is adjusted from the original version information forwarding function to the version information storage function, and the mobile terminal can directly read the version information in the server to obtain the sweeping machine version information.

[0111] In order to better implement the data processing method of the present application, the present application also provides a data processing device based on the above data processing method. The meanings of the terms are the same as those in the above data processing method, and the specific implementation details can refer to the description in the method embodiment.

[0112] See also Figure 5 , Figure 5 A schematic diagram of the structure of a data processing device provided in the present application, wherein the data processing device is applied to a sweeping machine and may specifically include:

[0113] The incremental data sending module 301 is used to send the version incremental data to the data storage model of the server, so that the data storage model updates the version data according to the version incremental data to obtain the target version data;

[0114] A receiving module 302 is used to receive a changed version model returned by the data storage model, where the changed version model corresponds to the target version data;

[0115] The version model sending module 303 is used to send the changed version model to the driving model of the server, so that the mobile terminal obtains the changed version model through the driving model, and obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

[0116] In some embodiments of the present application, the device further includes a first control module, and the first control module includes:

[0117] A control instruction sending unit, used for receiving a control instruction sent by the driving model, wherein the control instruction is generated after the drawn mobile terminal drives and controls the driving model;

[0118] A control unit is used to perform corresponding operations according to the control instructions.

[0119] In the embodiment of the present application, the version incremental data includes map data, area data and path data, and the incremental data sending module includes:

[0120] A data sending unit is used to send the map data, the area data and the path data to a unified data transmission interface of the data storage model of the server.

[0121] In the embodiment of the present application, the incremental data sending module 301 sends the total version data to the data storage model of the server, so that the data storage model generates the target version data (new version data) according to the incremental version data and the original version data. The receiving module 302 receives the changed version model returned by the data storage model, wherein the changed version model corresponds to the target version data. The version model sending module 303 sends the changed version model to the driving model of the server, so that the mobile terminal obtains the changed version model through the driving model, and obtains the corresponding target version data according to the version model, and updates and draws the data of the mobile terminal according to the obtained target version data.

[0122] Among them, in the embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine.

[0123] See also Figure 6 , Figure 6 A schematic diagram of the structure of a data processing device provided in the present application, wherein the data processing device is applied to a mobile terminal and may specifically include:

[0124] A version model acquisition module 311 is used to acquire a changed version model from a drive model of a server, wherein the changed version model is uploaded to the drive model by the sweeping machine;

[0125] A version data acquisition module 312 is used to acquire target version data from the data storage model of the server according to the changed version model, wherein the target version data is uploaded to the data storage model by the sweeping machine, and after the target version data is uploaded, the data storage model sends the changed version model corresponding to the target version data to the sweeping machine;

[0126] The drawing module 313 is used to draw the target version data.

[0127] In some embodiments of the present application, the device further includes a second control module, and the second control module includes:

[0128] A driving control unit is used to send a control command to the driving model according to the drawn mobile terminal to instruct the driving model to send a control instruction to the sweeping machine so that the sweeping machine performs corresponding operations according to the control instruction.

[0129] In some embodiments of the present application, the version model acquisition module 311 includes:

[0130] A determination unit, used to determine a driving model in the server for driving and controlling the sweeping machine, and to determine a data transmission interface of the driving model;

[0131] A monitoring unit, used for monitoring the data transmission interface;

[0132] A receiving unit, configured to receive the response information returned by the monitoring according to the transmission link with the driving model when the data transmission interface receives data;

[0133] The screening unit is used to screen out the changed version model from the response information.

[0134] In the embodiment of the present application, the version model acquisition module 311 acquires the changed version model from the server's drive model, and then the version data acquisition module 312 acquires the corresponding target version data from the server's data storage model according to the changed version. Then, the drawing module 313 updates its own version data according to the target version data.

[0135] Among them, the embodiment of the present application realizes the acquisition of new version data by obtaining the changed version model and obtaining the corresponding version data from the data storage model according to the changed version model, thereby facilitating the updating of its own data. Among them, obtaining the version data from the data storage model makes the acquisition of the version data independent of the state of the sweeping machine. For example, when the sweeping machine is offline or turned off, the corresponding data can still be obtained from the database.

[0136] In addition, the present application also provides an electronic device, such as Figure 7 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:

[0137] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0138] The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0139] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0140] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0141] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0142] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby implementing the steps in any data processing method provided in this application.

[0143] In an embodiment of the present application, after the sweeping machine sends the incremental version data to the server, the version data on the sweeping machine side is reported. Since the mobile terminal can control the sweeping machine through the driving model, there is an existing data transmission link between the mobile terminal and the driving model. The version model information can be directly transmitted through the data transmission link, avoiding the establishment of a special version model information transmission link between the mobile terminal and the data storage model, saving the design of the link, and reducing the complexity of data processing of the sweeping machine.

[0144] By constructing a data storage model to realize the storage of the sweeping machine version data, the mobile terminal can directly obtain the sweeping machine version data from the server, without relying on the sweeping machine's retransmission or the sweeping machine's status (for example, a traditional sweeping machine can upload version data only when it is not shut down or busy). That is, the server is adjusted from the original version information forwarding function to the version information storage function, and the mobile terminal can directly read the version information in the server to obtain the sweeping machine version information.

[0145] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0146] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any data processing method provided in the present application.

[0147] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0148] Since the instructions stored in the computer-readable storage medium can execute the steps in any data processing provided in the present application, the beneficial effects that can be achieved by any data processing method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0149] The above is a detailed introduction to a data processing method, device, electronic device and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A data processing method, characterized in that: Applicable to sweepers, including: Sending version increment data to a data storage model of a server, so that the data storage model updates version data according to the version increment data to obtain target version data; Receive a changed version model returned by the data storage model, wherein the changed version model corresponds to the target version data; The changed version model is sent to the driving model of the server, so that the mobile terminal obtains the changed version model through the driving model, obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

2. The method according to claim 1, characterized in that After drawing the target version data to the mobile terminal, the method further includes: receiving a control instruction sent by the driving model, wherein the control instruction is generated after the drawn mobile terminal drives and controls the driving model; Perform corresponding operations according to the control instructions.

3. The method according to claim 1, characterized in that The version increment data includes map data, area data and path data, and sending the version increment data to the data storage model of the server includes: The map data, the area data and the path data are sent to a unified data transmission interface of a data storage model of a server.

4. A data processing method, characterized in that: Applied to mobile terminals, including: Obtaining a changed version model from a drive model of a server, wherein the changed version model is uploaded to the drive model by the sweeping robot; Obtaining target version data from the data storage model of the server according to the changed version model, the target version data being uploaded to the data storage model by the sweeping machine, and after the target version data is uploaded, causing the data storage model to send the changed version model corresponding to the target version data to the sweeping machine; The target version data is drawn.

5. The method according to claim 4, characterized in that After drawing the target version data, the method further includes: The mobile terminal sends a control command to the driving model according to the drawing to instruct the driving model to send a control instruction to the sweeping machine, so that the sweeping machine performs corresponding operations according to the control instruction.

6. The method according to claim 4, characterized in that The step of obtaining the changed version model from the driver model of the server includes: Determine a driving model in the server for driving and controlling the sweeping machine, and determine a data transmission interface of the driving model; Monitoring the data transmission interface; When the data transmission interface receives data, the response information returned by the monitoring is received according to the transmission link with the driving model; The changed version model is filtered out from the response information.

7. A data processing device, characterized in that: Applicable to sweepers, including: An incremental data sending module is used to send version incremental data to a data storage model of a server, so that the data storage model updates version data according to the version incremental data to obtain target version data; A receiving module, used for receiving a changed version model returned by the data storage model, wherein the changed version model corresponds to the target version data; A version model sending module is used to send the changed version model to the driving model of the server so that the mobile terminal obtains the changed version model through the driving model, and obtains the target version data from the data storage model according to the changed version model, and draws the target version data to the mobile terminal.

8. A data processing device, characterized in that: Applied to mobile terminals, including: A version model acquisition module, used to acquire a changed version model from a drive model of a server, wherein the changed version model is uploaded to the drive model by the sweeping machine; A version data acquisition module, used to acquire target version data from the data storage model of the server according to the changed version model, wherein the target version data is uploaded to the data storage model by the sweeping machine, and after the target version data is uploaded, the data storage model sends the changed version model corresponding to the target version data to the sweeping machine; A drawing module is used to draw the target version data.

9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the data processing method according to any one of claims 1-3 or 4-6 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the data processing method according to any one of claims 1 to 3 or 4 to 6 are implemented.

Citation Information

Patent Citations

  • Method and device for controlling software upgrade and cleaning equipment

    CN106993029A

  • Sweeping control method and device for sweeping robot

    CN110338708A