Data processing method and data processing system

By storing and managing functional data packages in the cloud, the coupling between fixed devices and mobile devices is reduced, the problem of application iteration complexity is solved, and functional modularity and iteration independence are achieved.

CN118733294APending Publication Date: 2024-10-01YIBIN XGIMI OPTOELECTRONIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410816757.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The coupling between applications carried on mobile devices and those carried on fixed devices is high, resulting in increased complexity of application iterations, and fixed devices need to be frequently updated to adapt to new needs.

Method used

By storing the function data package in the cloud, the fixed device obtains the function data package from the cloud and sends it to the mobile device, the mobile device stores and uses these data packages, and the fixed device executes the function call request according to the function configuration data in the data package, thereby reducing Coupling and iterative complexity.

Benefits of technology

It improves the modularity of fixed device functions, reduces the application coupling between fixed devices and mobile devices, and reduces the complexity of software iterations of fixed devices, so that mobile device application iterations no longer rely on version updates of fixed devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733294A_ABST
    Figure CN118733294A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and a data processing system. The data processing method comprises the following steps: a fixed device obtains a function data packet from a cloud, and sends the function data packet to a mobile device, so that the mobile device stores the function data packet; the fixed device receives a function calling request from the mobile device, wherein the function calling request comprises target function configuration data and request parameters in the function data packet; and the fixed device executes a function corresponding to the target function configuration data to obtain a function calling result, and sends the function calling result to the mobile device. According to the embodiment of the invention, the function data packet is acquired from the cloud through the fixed equipment, and the function calling request sent by the mobile equipment according to the function data packet is received and processed through the fixed equipment, so that the modular degree of functions in the fixed equipment is improved, the coupling of applications between the fixed equipment and the mobile equipment is reduced, and the user experience is improved. And the complexity of iteration of the application software of the fixed equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of software technology, and in particular to a data processing method and a data processing system. Background Art

[0002] It is becoming more and more popular to use applications on mobile devices (such as mobile phones, tablets, smart watches, etc.) to manage fixed devices (such as projection devices, TVs and other devices that are difficult to move). After the application on the mobile device establishes a connection with the fixed device, the fixed device can process various demand instructions issued by the application on the mobile device, such as "obtain device-related information", "obtain device-related functions and status", "store / obtain files", "set device functions", etc.

[0003] Every time a new requirement is added to the application on the mobile device, the application on the fixed device needs to develop new functions for the new requirement and update the application version on the fixed device. In summary, the coupling between the application on the mobile device and the application on the fixed device is high, resulting in high complexity in application iteration. Summary of the invention

[0004] The embodiments of the present application provide a data processing method and a data processing system, which reduce the coupling between applications and thus reduce the complexity of application iteration.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a data processing method, which is applied to a fixed device, comprising:

[0007] Acquire a function data packet from the cloud, the function data packet including at least one function configuration data, the at least one function configuration data corresponding to at least one function supported by the fixed device, each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, the middleware is the middleware installed on the fixed device;

[0008] sending the functional data packet to a mobile device so that the mobile device stores the functional data packet;

[0009] Receiving a function call request from the mobile device, the function call request including target function configuration data and request parameters, the target function configuration data being function configuration data in the function data packet corresponding to the function call request;

[0010] According to the target function configuration data and the request parameters, execute the function corresponding to the target function configuration data to obtain a function call result;

[0011] The function call result is sent to the mobile device.

[0012] In some embodiments of the present application, sending the functional data packet to the mobile device includes:

[0013] After establishing a connection relationship with the mobile device, in response to a request from the mobile device to obtain the functional data packet, the functional data packet is sent to the mobile device; or,

[0014] After establishing a connection relationship with the mobile device, the functional data packet is sent to the mobile device.

[0015] In some embodiments of the present application, the function call request is generated by the mobile device in response to an operation on a target function control among various function controls, and each of the function controls is a control that displays the function corresponding to each function configuration data in the function data packet of the mobile device.

[0016] In some embodiments of the present application, executing the function corresponding to the target function configuration data according to the target function configuration data and the request parameter includes:

[0017] Determine an execution application corresponding to the target function configuration data, where the execution application is any application on the fixed device;

[0018] The target function configuration data and the request parameters are sent to the execution application, so as to call the execution application to execute the function corresponding to the target function configuration data according to the request parameters.

[0019] In some embodiments of the present application, executing the function corresponding to the target function configuration data according to the request parameter includes:

[0020] The function indicated in the target function configuration data is located according to the reflection mechanism, and the request parameter is passed into the indicated function for execution.

[0021] In some embodiments of the present application, before obtaining the functional data packet from the cloud, the method further includes:

[0022] Determine the version of the middleware and the functional data package corresponding to the middleware;

[0023] The version of the middleware and the function data package corresponding to the middleware are uploaded to the cloud, so that the cloud stores the mapping relationship between the version of the middleware and the function data package.

[0024] In some embodiments of the present application, the step of obtaining a functional data packet from the cloud includes:

[0025] Determining a version of the middleware;

[0026] Obtaining a location identifier corresponding to the version of the middleware from the cloud;

[0027] The function data packet corresponding to the location identifier is obtained from the cloud.

[0028] In some embodiments of the present application, the method further includes:

[0029] The functions in the middleware are extracted according to the reflection mechanism to obtain the function configuration data in the target data exchange format, wherein the function configuration data includes at least one of the method name, the class name where the method is located, and parameter information.

[0030] In some embodiments of the present application, when sending the functional data packet to the mobile device, the method further includes:

[0031] Sending function information to the mobile device, the function information comprising at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

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

[0033] receiving a function data packet sent by a fixed device; wherein the function data packet includes at least one function configuration data, the at least one function configuration data corresponds to at least one function supported by the fixed device, each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware installed on the fixed device;

[0034] Sending a function call request to the fixed device, wherein the function call request includes target function configuration data and request parameters, and the target function configuration data is function configuration data in the function data packet corresponding to the function call request;

[0035] Receive a function call result sent by the fixed device; wherein the function call result is obtained by the fixed device executing the function corresponding to the target function configuration data according to the target function configuration data and the request parameters.

[0036] In some embodiments of the present application, after receiving the function data packet sent by the fixed device, the method further includes:

[0037] Display each function control, wherein each function control is a control of a function corresponding to each function configuration data in the function data packet;

[0038] In response to an operation on a target function control among the function controls, determining target function configuration data and request parameters;

[0039] Generates a function call request based on the target function configuration data and request parameters.

[0040] In some embodiments of the present application, when receiving a function data packet sent by a fixed device, the method further includes:

[0041] Receive function information sent by the fixed device, where the function information includes at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

[0042] In a third aspect, an embodiment of the present application further provides a data processing system, including a fixed device, a mobile device, and a cloud;

[0043] The fixed device is used to execute the data processing method as described in the first aspect;

[0044] The mobile device is used to execute the data processing method as described in the second aspect;

[0045] The cloud is used to store functional data packets.

[0046] In the data processing method provided in the embodiment of the present application, the embodiment of the present application processes the middleware to obtain a function data packet corresponding to each function supported by the fixed device, stores the function data packet in the cloud, and when the fixed device establishes a connection relationship with the mobile device, sends the function data packet to the mobile device to notify the mobile device about the functions supported by the fixed device, thereby improving the modularity of the functions in the fixed device and reducing the coupling of applications between the fixed device and the mobile device; and, when new requirements are added to the fixed device, the corresponding functions are added to the mobile device, and the corresponding function configuration data is stored in the cloud, without the need for the fixed device to update the application version, thereby reducing the complexity of application iteration on the fixed device. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of the data processing system architecture provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 1 ;

[0049] Figure 3 A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 2 ;

[0050] Figure 4A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 3 ;

[0051] Figure 5 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 1 ;

[0052] Figure 6 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 2 ;

[0053] Figure 7 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 3 ;

[0054] Figure 8 A schematic diagram of a first data processing device provided in an embodiment of the present application;

[0055] Fig. 9 A schematic diagram of a second data processing device provided in an embodiment of the present application;

[0056] Fig.10 A hardware entity diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0058] It should be understood that the "embodiment of the present application" or "the aforementioned embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in the embodiment of the present application" or "in the aforementioned embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0059] In addition, the accompanying drawings are only schematic illustrations of embodiments of the present application and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0060] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application 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 herein refers to and includes any or all possible combinations of one or more associated listed items.

[0061] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these 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 the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. 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".

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.

[0063] Taking the second application installed on the mobile phone and the first application installed on the projection device as an example, after the second application and the first application establish a connection relationship, the instructions issued by the second application can be executed through the first application, and the instructions include "obtaining device-related information", "obtaining device-related functions and status", "storing / obtaining files", "setting device functions (such as adjusting brightness, saturation, volume, etc.)", etc. Every time the second application adds a request, the first application needs to develop a function corresponding to the new requirement. The new version of the first application after the new function is added needs to iterate the old version of the first application to realize the new requirements of the second application through the new version of the first application, resulting in a strong coupling between the second application on the mobile phone and the first application on the projection end, which increases the complexity of application iteration.

[0064] Based on the above problems, the embodiment of the present application proposes a data processing method, which stores a function data packet in the cloud, the function data packet is data in a target data exchange format obtained by processing the middleware according to the functions supported by the fixed device, and the middleware is the middleware mounted on the fixed device; the fixed device can obtain the function data packet from the cloud and send the function data packet to the mobile device; the mobile device stores the function data packet, sends a function call request to the fixed device, the function call request includes target function configuration data and request parameters, and the target function configuration data is the function configuration data corresponding to the function call request in the function data packet; the fixed device receives the function call request, and executes the function corresponding to the target function configuration data according to the target function configuration data and the request parameters to obtain the function call result; the fixed device sends the function call result to the mobile device. Therefore, by obtaining the function data packet from the cloud by the fixed device, and receiving and processing the function call request sent by the mobile device according to the function data packet by the fixed device, the modularization of the functions in the fixed device is improved, the coupling of the application between the fixed device and the mobile device is reduced, and the complexity of the application iteration of the mobile device is reduced.

[0065] Figure 1 This is a schematic diagram of the data processing system architecture provided in the embodiment of the present application. Figure 1 As shown, the data processing system 100 for implementing the data processing method provided by the embodiment of the present application includes a fixed device 101, a mobile device 102 and a cloud 103. Among them, the fixed device 101 is used to obtain a function data packet from the cloud 103, send a function data packet to the mobile device 102, execute the function corresponding to the target function configuration data in the function call request of the mobile device 102, and send the function call result to the mobile device 102. The mobile device 102 is used to receive and store the function data packet, send the function call request to the fixed device, and receive the function call result. The cloud 103 is used to store the function data packet.

[0066] The data processing method in the embodiment of the present application can be applied to the data processing system 100, and can also be applied to a hardware device or system configured with the data processing system 100.

[0067] The data processing method in the embodiment of the present application will be described below by taking the data processing system 100 as an example of the execution subject. It can be understood that the execution subject here is only exemplary, and the embodiment of the present application does not impose any special restrictions on the execution subject.

[0068] Figure 2 A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 1 .like Figure 2As shown, the data processing method applied to the fixed device includes at least steps S201 to S205. Optionally, steps S201 to S205 may be performed by a first application on the fixed device, and the first application may be an application on the fixed device that communicates with a second application on the mobile device, processes a demand instruction sent by the second application, and executes a function corresponding to the demand instruction. The second application may be an application on the mobile device for managing the fixed device.

[0069] Step S201, obtain a function data packet from the cloud, the function data packet includes at least one function configuration data, the at least one function configuration data corresponds one-to-one to at least one function supported in the fixed device, each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware installed on the fixed device.

[0070] In some embodiments, the first application may upload the functional data packet to the cloud for storage, and obtain the functional data packet from the cloud as required.

[0071] Optionally, the cloud is a platform for storing data. The middleware is a collection of functions corresponding to each function. In some embodiments, the middleware is a software development kit (SDK). The target data exchange format can be JSON format or other data formats set according to requirements, and this application does not specifically limit this.

[0072] In some embodiments, the first application can obtain middleware from the cloud, extract each function in the middleware according to the reflection mechanism to obtain function configuration data in the target data exchange format, and the function configuration data includes at least one of the method name, the class name where the method is located, and parameter information.

[0073] Optionally, the reflection mechanism may be a JAVA reflection mechanism. In the program running state, for any class, all properties and methods of the class can be obtained through the JAVA reflection mechanism; for any object, any method and property of the object can be called through the JAVA reflection mechanism.

[0074] Taking the target data exchange format as JSON format as an example, after the first application obtains the middleware from the cloud, it can extract at least one function in the middleware according to the JAVA reflection mechanism to obtain at least one function configuration data in JSON format. The collection of at least one function configuration data in JSON format is the function data packet.

[0075] In some embodiments, before obtaining the functional data packet from the cloud, the first application can also determine the version of the middleware and the functional data packet corresponding to the middleware; upload the version of the middleware and the functional data packet corresponding to the middleware to the cloud, so that the cloud stores the mapping relationship between the version of the middleware and the functional data packet.

[0076] In some embodiments, due to the iteration of the first application, different versions of the first application are equipped with different versions of the middleware. The first application can determine the corresponding middleware version and the corresponding functions of the middleware based on the current version of the first application, and upload the version of the middleware corresponding to the current first application and the corresponding function data packet of the middleware to the cloud, so that the cloud stores the mapping relationship between the version of the middleware corresponding to the current first application and the function data packet.

[0077] In some embodiments, when the first application obtains a functional data packet from the cloud, it can also determine the version of the middleware corresponding to the first application, obtain a location identifier corresponding to the version of the middleware from the cloud, and obtain a functional data packet corresponding to the location identifier from the cloud.

[0078] In some embodiments, due to the iteration of the first application, the middleware corresponding to each version of the first application is different. Therefore, the first application can first determine the version of the middleware corresponding to the current version of the first application, and then determine the functional data packet corresponding to the current version of the first application according to the version of the middleware corresponding to the current version of the first application.

[0079] In some embodiments, after the first application obtains the location identifier corresponding to the version of the middleware from the cloud, the location identifier can be uploaded to the cloud, so that the cloud determines the functional data package corresponding to the location identifier according to the mapping relationship between the location identifier and the functional data package. The location identifier can be marked in the form of a numerical value, a character, etc., and this application does not specifically limit this.

[0080] Step S202: Send the function data packet to the mobile device so that the mobile device stores the function data packet.

[0081] In some embodiments, after the fixed device obtains the functional data packet from the cloud, it can send the functional data packet to the mobile device so that the mobile device can store the functional data packet.

[0082] In some embodiments, after the fixed device obtains the functional data packet from the cloud and establishes a connection relationship with the mobile device, it can send the functional data packet to the mobile device in response to the mobile device's request to obtain the functional data packet; or, after the fixed device establishes a connection relationship with the mobile device, it can send the functional data packet to the mobile device.

[0083] Taking the second application on the mobile phone and the first application on the projection device as an example, after the first application obtains the functional data packet from the cloud and establishes a connection relationship with the second application, the first application can send the functional data packet to the second application in response to the second application's request to obtain the functional data packet; or, after the first application and the second application establish a connection relationship, the first application directly sends the functional data packet to the second application.

[0084] In some embodiments, when the fixed device sends the function data packet to the mobile device, it also sends function information to the mobile device, and the function information includes at least one of the hardware function information, software function information, function status update information, and function status information supported by the fixed device. For example, the functions supported on the fixed device, as well as the status and update status of these functions, are synchronized to the mobile device; the first application can refer to this function information when displaying the function control, so that the functions not supported on the fixed device or the updated functions can be changed accordingly when the first application displays the function control, and the version of the first application does not need to be iterated due to the change of the function on the fixed device, which reduces the coupling between applications and the complexity of software iteration.

[0085] In some embodiments, the fixed device can send the functional data packet to the mobile device according to the reflection communication protocol. Among them, the reflection communication protocol is a communication protocol based on reflection technology, including but not limited to FeatureList. Among them, the reflection technology in the communication field is a technology that uses the physical reflection principle to transmit signals or modulate signals; the communication protocol defines the format used by the data unit when the two entities complete the communication or service, the information and meaning that the information unit should contain, the connection method, the timing of information sending and receiving, etc.

[0086] In some embodiments, after receiving the function data packet sent by the fixed device, the mobile device may convert at least one function configuration data in the function data packet into an entity class corresponding to at least one function supported in the fixed device and store the entity class.

[0087] Step S203: receiving a function call request from a mobile device, wherein the function call request includes target function configuration data and request parameters, and the target function configuration data is the function configuration data in the function data packet corresponding to the function call request.

[0088] Optionally, the function call request is generated by the mobile device in response to an operation on a target function control among the function controls, and each function control is a control that displays a function corresponding to each function configuration data in a function data packet of the mobile device.

[0089] A function call request is a request received by a fixed device from a mobile device, which is used to call a function in any application in the fixed device to perform an operation; for example, a function call request can be a request to adjust the brightness, a request to adjust the volume, pause music / video, store / retrieve files, obtain device status, etc.

[0090] The target function configuration data is the function configuration data in the function data packet corresponding to the function call request of the mobile device. The request parameter is the parameter included in the function call request.

[0091] For example, if the function call request of a mobile device is a request to adjust the volume, the target function configuration data is the relevant data for implementing the volume adjustment function, including the method name, the class name where the method is located, parameter information, etc. The request parameters can be the minimum value, maximum value and interval value corresponding to the volume, etc.

[0092] In some embodiments, the fixed device may receive a function call request from the mobile device through an application programming interface (API) to execute a corresponding function according to the function call request.

[0093] Step S204: Execute the function corresponding to the target function configuration data according to the target function configuration data and the request parameters to obtain a function call result.

[0094] In some embodiments, after receiving a function call request from a mobile device, the fixed device may execute the function corresponding to the target function configuration data according to the target function configuration data and request parameters in the function call request to obtain a function call result.

[0095] Optionally, after receiving the function call request from the second application through the application program interface, the first application may call and execute a function corresponding to the function call request to obtain a function call result.

[0096] In some embodiments, the function call result may include whether the function call is successful and the execution result of the function corresponding to the target function configuration data. For example, whether the brightness adjustment function is successfully called, if the call is successful, the execution result includes the specific value of the brightness after execution.

[0097] In some embodiments, when executing the function corresponding to the target function configuration data according to the request parameters, the fixed device can locate the function indicated in the target function configuration data according to the reflection mechanism, pass the request parameters to the indicated function and execute it.

[0098] Taking the case where the function call request of the second application is a request to call the brightness adjustment function as an example, after the first application receives the request to call the brightness adjustment function from the second application, it executes the brightness adjustment function corresponding to the target function configuration data according to the target function configuration data and the request parameters corresponding to the request to call the brightness adjustment function, and obtains the call result of the brightness adjustment function, that is, the operation result of adjusting the brightness. Taking the case where the function indicated in the target function configuration data is brightness adjustment and the request parameter is 30 as an example, the fixed device can pass the request parameter 30 to the brightness adjustment function and execute it, and adjust the brightness value to 30. After adjusting the brightness value to 30, the call result of the brightness adjustment function is that the brightness adjustment function call is successful, and the brightness value is adjusted to 30.

[0099] In some embodiments, the execution application corresponding to the target function configuration data can be determined first. The execution application is any application in a fixed device. The target function configuration data and request parameters are sent to the execution application to call the execution application to execute the function corresponding to the target function configuration data according to the request parameters.

[0100] For example, the executing application may be the first application or another application. In the case where the executing application corresponding to the target function configuration data is an application other than the first application, the fixed device sends the target function configuration data and the request parameters to the application to call the application to execute the function corresponding to the target function configuration data according to the request parameters. The execution efficiency and accuracy can be improved by uniformly receiving the function call request through the first application and diverting the function call request.

[0101] Step S205: Send the function call result to the mobile device.

[0102] In some embodiments, after the second application obtains the function call result, it can send the function call result to the first application.

[0103] In summary, in the data processing method of the embodiment of the present application, a mobile device receives a function data packet sent by a fixed device and sends a function call request according to the function data packet to obtain a function call result. The coupling between the fixed device and the mobile device is reduced, so that the iteration of some functions in the first application on the fixed device no longer affects the second application on the mobile device, reducing the complexity of the iteration of the first application software on the fixed device.

[0104] The embodiment of the present application proposes a data processing method, which can be applied to a mobile device. Figure 3 A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 2 Optionally, a second application on the mobile device may be applied; Figure 3As shown, the data processing method for the second application applied to the mobile device at least includes steps S301 to S303.

[0105] Step S301, receiving a function data packet sent by a fixed device; wherein the function data packet includes at least one function configuration data, and the at least one function configuration data corresponds one-to-one to at least one function supported in the fixed device, and each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware of the application installed on the fixed device.

[0106] In some embodiments, before receiving the function data packet sent by the fixed device, after the mobile device establishes a connection relationship with the fixed device, the mobile device can send a request to the fixed device to obtain the function data packet, so that the fixed device responds to the request to obtain the function data packet and sends the function data packet to the mobile device; or, after the mobile device establishes a connection relationship with the fixed device, the fixed device actively sends the function data packet to the mobile device. After each connection relationship is established, a function data packet is sent. If the function supported by the mobile device changes, the mobile device can be informed in time, so that the corresponding function control can be modified to avoid errors when the user uses a certain function, thereby improving the user experience.

[0107] In some embodiments, when a mobile device receives a functional data packet sent by a fixed device, it also receives functional information sent by the fixed device, the functional information including at least one of hardware functional information, software functional information, functional status update information, and functional status information supported by the fixed device.

[0108] In some embodiments, the mobile device can receive a functional data packet sent by a fixed device according to a reflection communication protocol. The reflection communication protocol is a communication protocol based on reflection technology, including but not limited to FeatureList. The reflection technology in the communication field is a technology that uses the principle of physical reflection to transmit or modulate signals; the communication protocol defines the format used by the data unit when the two entities complete communication or service, the information and meaning that the information unit should contain, the connection method, the timing of information sending and receiving, etc.

[0109] Step S302: Send a function call request to the fixed device, where the function call request includes target function configuration data and request parameters, and the target function configuration data is the function configuration data in the function data packet corresponding to the function call request.

[0110] In some embodiments, after the mobile device receives the function data packet sent by the fixed device, it can also display various function controls on the user interface (UI); wherein each function control is a control of a function corresponding to each function configuration data in the function data packet, for example, it can include a volume adjustment control, a brightness adjustment control, etc. For example, when the target function control is a volume adjustment control, the function corresponding to the target function configuration data is volume adjustment.

[0111] Optionally, the function call request is used to call a function in the first application or other applications to implement an operation. The function call request may be a request to call a brightness adjustment function or a request to call a volume adjustment function, etc.

[0112] Optionally, the second application determines the target function configuration data and request parameters in response to the operation on the target function control in each function control, and generates a function call request according to the target function configuration data and the request parameters. For example, the user can operate the volume control, and the second application obtains the corresponding function configuration data and the volume value adjusted by the user in response to the operation of adjusting the volume control, and merges the volume value with the parameters in the function configuration data.

[0113] Step S303, receiving the function call result sent by the fixed device; wherein the function call result is obtained by the fixed device executing the function corresponding to the target function configuration data according to the target function configuration data and the request parameters.

[0114] Optionally, the function call result may include whether the function call is successful and the execution result of the function corresponding to the target function configuration data.

[0115] Optionally, the first application may display specific information on the function control according to the execution result of the function call, and may promptly notify the user of the function call result.

[0116] For example, if the function call request of the second application is a request to call the brightness adjustment function, after the first application obtains the call result of the brightness adjustment function, it can send the function call result of the brightness adjustment function to the second application. If the function call result is that the call is successful and the brightness value is adjusted to 30, then the brightness adjustment function control displayed by the second application indicates that the current brightness of the fixed device is 30.

[0117] To summarize, in the data processing method of the embodiment of the present application, a function data packet is obtained from the cloud by a fixed device, and a function call request sent by a mobile device according to the function data packet is received and processed by the fixed device, thereby improving the modularity of the functions in the first application on the fixed device, reducing the software maintenance cost of the first application on the fixed device, and reducing the coupling of the applications between the fixed device and the mobile device, so that the iteration of some functions in the second application on the mobile device no longer depends on the first application on the fixed device, thereby reducing the complexity of the iteration of the second application software on the mobile device.

[0118] Based on the above embodiments, the embodiments of the present application propose a data processing method, which can be applied to fixed devices and mobile devices. Figure 4 A schematic diagram of an implementation process of a data processing method provided in an embodiment of the present application Figure 3 .like Figure 4 As shown, the data processing method at least includes steps S401 to S405.

[0119] Step S401: The fixed device obtains a functional data packet from the cloud.

[0120] Step S402: The fixed device sends the function data packet to the mobile device.

[0121] Step S403: The mobile device sends a function call request to the fixed device.

[0122] Step S404: The fixed device executes the function corresponding to the target function configuration data in the function call request to obtain a function call result.

[0123] Step S405: The fixed device sends the function call result to the mobile device.

[0124] The specific implementation of steps S401-S405 can refer to steps S201-205 and S301-303, which will not be repeated here.

[0125] In the data processing method applied to fixed devices and mobile devices provided in the embodiment of the present application, the fixed device obtains a function data packet from the cloud, the mobile device sends a function call request according to the function data packet, and the fixed device executes the function corresponding to the target function configuration data in the function call request to obtain a function call result. The fixed device obtains the function data packet from the cloud so that the mobile device sends a function call request according to the function data packet, which improves the modularity of the functions in the fixed device, reduces the coupling of the applications between the fixed device and the mobile device, and makes the iteration of some functions in the second application on the mobile device no longer rely on the first application on the fixed device, reducing the complexity of the iteration of the second application software on the mobile device.

[0126] Based on the above embodiments, another embodiment of the present application exemplifies the application of the data processing method in an actual scenario.

[0127] The following is an example of using the mobile phone end of the second application (which can be called a projection APP) as the mobile device 102 in the data processing system 100 and the projection device of the first application (which can be called vcontrol) as the fixed device 101 in the data processing system 100.

[0128] In some embodiments, the versions of the middleware of each version in the iteration process installed in the projection device and the functional data packets corresponding to each middleware can be uploaded to the cloud.

[0129] After Vcontrol is started, the location identification code corresponding to the current version of the middleware can be obtained from the cloud according to the version of the middleware. The specific code is as follows:

[0130] "namespace"="GMUI.app-function-switch"

[0131] "key"="vcontrol.middleware.$code"

[0132] After obtaining the location identification code, a new request can be generated according to the location identification code, and the cloud can be requested again according to the new request to obtain the middleware corresponding to the current version of Vcontrol. According to the reflection standard, the functions of the middleware are extracted into configurable JSON configuration files (corresponding to the functional configuration data in the above embodiment), and each JSON configuration file includes the method name, the class name where the method is located, parameter information, etc.

[0133] After Vcontrol establishes a connection with the projection APP, or after Vcontrol establishes a connection with the projection APP and receives a request from the projection APP to obtain a functional data packet, Vcontrol injects the JSON configuration file into FeatureList (corresponding to the reflective communication protocol in the above embodiment), so that Vcontrol pushes the JSON configuration file to the projection APP based on FeatureList. Part of the code is as follows:

[0134]

[0135]

[0136] Figure 5 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 1 .like Figure 5 As shown, Figure 5It shows the steps of Vcontrol pulling the JSON configuration file and sending the JSON configuration file to the projection APP.

[0137] like Figure 5 As shown in the figure, when the application corresponding to the projection APP is Vcontrol, the JSON configuration file is pulled from the cloud through Vcontrol, and the JSON configuration file is injected into the FeatureList through Vcontrol; when the application corresponding to the projection APP is other applications, the JSON configuration file is injected into the FeatureList through other applications. FeatureList returns the FeatureList injected with the JSON configuration file to the projection APP through Vcontrol. The projection APP can also obtain the FeatureList injected with the JSON configuration file from the FeatureList through Vcontrol.

[0138] In some embodiments, after receiving the JSON configuration file, the projection APP may convert the JSON configuration file into an entity class and store it locally.

[0139] In the above embodiment, the projection APP can obtain the middleware functions supported by Vcontrol through the function data packet configured in the cloud, and convert the JSON configuration file corresponding to the middleware into an entity class for local storage, which simplifies the process of function calling and deployment.

[0140] In some embodiments, various function controls can be displayed on the user interface of the projection APP. When the user operates the function control on the projection APP, the projection APP responds to the user's operation, merges the received request parameters (corresponding to the request parameters in the above embodiment) and the JSON configuration file, and converts them into the JSON instructions required by the Vcontrol call reflection instruction (corresponding to the function call request in the above embodiment). Part of the code is as follows:

[0141]

[0142]

[0143] The projection APP can send the JSON instruction to Vcontrol according to FeatureList.

[0144] In some embodiments, Vcontrol receives the JSON instruction sent by the projection APP and determines the execution application (Vcontrol or other applications installed by the projection device) to execute the JSON instruction. Then the execution application parses the JSON instruction to convert the JSON instruction into an entity class, and then obtains the class name, full path, etc. of the corresponding class from the entity class through Java reflection technology. After obtaining the entity class, the method and parameter value corresponding to the entity class are reflected, and the execution result (corresponding to the function call result in the above embodiment) is returned to the projection APP. The specific code is as follows:

[0145]

[0146]

[0147]

[0148] Figure 6 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 2 .like Figure 6 As shown, Figure 6 It shows the steps of the projection APP determining the JSON instruction according to the user instruction and calling the corresponding function through the JSON instruction.

[0149] like Figure 6 As shown, the JSON instruction can be passed to Vcontrol through the projection APP, and Vcontrol sends the JSON instruction to the corresponding execution application according to the type of the JSON instruction. When the execution application corresponding to the JSON instruction is Vcontrol, the JSON instruction is sent to Vcontrol; when the application corresponding to the JSON instruction is other applications, the JSON instruction is sent to other applications. Vcontrol or other applications pass the JSON instruction to the FeatureList-reflection framework (i.e., the middleware corresponding to Vcontrol or other applications) according to FeatureList to call the function in the FeatureList-reflection framework.

[0150] Figure 7 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 3 .like Figure 7 As shown, Figure 7 It shows the steps performed after Vcontrol receives the instruction from the projection APP.

[0151] like Figure 7As shown, after the function in the FeatureList-reflection framework is called, the result of the JSON instruction calling the function is returned to the corresponding Vcontrol or other application through the FeatureList, and the result of the JSON instruction calling the function is returned to the FeatureList through the Vcontrol or other application. The FeatureList actively notifies the projection APP of the result of the JSON instruction calling the function through the Vcontrol.

[0152] The embodiment of the present application obtains the JSON configuration file corresponding to the current version of Vcontrol from the cloud, determines the JSON configuration file corresponding to the request of the projection APP, and sends the JSON configuration file corresponding to the request of the projection APP to the projection APP, so that the projection APP converts the JSON configuration file into an entity class. In the embodiment of the present application, the modularity of the functions in Vcontrol is improved, so that some functions of the projection APP no longer depend on the Vcontrol version or other application versions, and can be iterated independently, reducing the complexity of the iteration of the projection APP software and reducing the software maintenance cost of Vcontrol.

[0153] In the above embodiment, Vcontrol pulls the JSON configuration file from the cloud, and the projection APP sends a JSON instruction to Vcontrol according to the JSON configuration file. Vcontrol executes the function corresponding to the JSON instruction and returns the result of the function called by the JSON instruction. This improves the modularity of the functions in Vcontrol and reduces the coupling between the projection APP and Vcontrol, so that some functions of the projection APP no longer depend on the Vcontrol version or other application versions, and can be iterated independently, reducing the complexity of the projection APP iteration and reducing the software maintenance cost of Vcontrol and other applications in the projection device.

[0154] In yet another embodiment of the present application, based on the same inventive concept as the above-mentioned embodiment, Figure 8 Schematic diagram of a first data processing device provided in an embodiment of the present application. Figure 8 As shown, the first data processing device 800 includes an acquisition unit 801, a first sending unit 802, a first receiving unit 803 and an execution unit 804, wherein:

[0155] An acquisition unit 801 is used to acquire a function data packet from the cloud, wherein the function data packet includes at least one function configuration data, wherein the at least one function configuration data corresponds to at least one function supported by the fixed device, and each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware of the application installed on the fixed device;

[0156] A first sending unit 802 is used to send the function data packet to a mobile device so that the mobile device stores the function data packet;

[0157] A first receiving unit 803 is configured to receive a function call request from the mobile device, wherein the function call request includes target function configuration data and request parameters, and the target function configuration data is function configuration data corresponding to the function call request in the function data packet;

[0158] An execution unit 804 is used to execute the function corresponding to the target function configuration data according to the target function configuration data and the request parameter to obtain a function call result;

[0159] The first sending unit 802 is further configured to send the function calling result to the mobile device.

[0160] In some embodiments, the first sending unit 802 is further used to send the functional data packet to the mobile device in response to a request from the mobile device to obtain the functional data packet after establishing a connection relationship with the mobile device; or to send the functional data packet to the mobile device after establishing a connection relationship with the mobile device.

[0161] In some embodiments, the function call request is generated by the mobile device in response to an operation on a target function control among various function controls, and each of the function controls is a control that displays a function corresponding to each function configuration data in the function data packet of the mobile device.

[0162] In some embodiments, the execution unit 804 is also used to determine the execution application corresponding to the target function configuration data, and the execution application is the fixed device or other application; the target function configuration data and the request parameters are sent to the execution application to call the execution application to execute the function corresponding to the target function configuration data according to the request parameters.

[0163] In some embodiments, the execution unit 804 is further configured to locate the function indicated in the target function configuration data according to a reflection mechanism, pass the request parameter to the indicated function, and execute it.

[0164] In some embodiments, the first sending unit 802 is also used to determine the version of the middleware and the functional data packet corresponding to the middleware; upload the version of the middleware and the functional data packet corresponding to the middleware to the cloud, so that the cloud stores the mapping relationship between the version of the middleware and the functional data packet.

[0165] In some embodiments, the acquisition unit 801 is further used to determine the version of the middleware; obtain a location identifier corresponding to the version of the middleware from the cloud; and obtain the functional data packet corresponding to the location identifier from the cloud.

[0166] In some embodiments, the acquisition unit 801 is further used to extract each function in the middleware according to the reflection mechanism to obtain the function configuration data in the target data exchange format, wherein the function configuration data includes at least one of the method name, the class name where the method is located, and parameter information.

[0167] In some embodiments, the first sending unit 802 is further used to send function information to the mobile device, wherein the function information includes at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

[0168] Fig. 9 Schematic diagram of a second data processing device provided in an embodiment of the present application. Fig. 9 As shown, the second data processing device 900 includes a second receiving unit 901 and a second sending unit 902, wherein:

[0169] The second receiving unit 901 is used to receive a function data packet sent by a fixed device; wherein the function data packet includes at least one function configuration data, and the at least one function configuration data corresponds to at least one function supported by the fixed device. Each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware of the application installed on the fixed device;

[0170] A second sending unit 902 is used to send a function call request to the fixed device, wherein the function call request includes target function configuration data and request parameters, and the target function configuration data is the function configuration data corresponding to the function call request in the function data packet;

[0171] The second receiving unit 901 is further used to receive a function call result sent by the fixed device; wherein the function call result is obtained by the fixed device executing the function corresponding to the target function configuration data according to the target function configuration data and the request parameters.

[0172] In some embodiments, the second receiving unit 901 is also used to display each function control, wherein each function control is a control of the function corresponding to each function configuration data in the function data packet; in response to an operation on a target function control in each function control, determining the target function configuration data and the request parameters; and generating the function call request according to the target function configuration data and the request parameters.

[0173] In some embodiments, the second receiving unit 901 is further used to receive function information sent by the fixed device, and the function information includes at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

[0174] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0175] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.

[0176] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.

[0177] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0178] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit, etc.

[0179] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.

[0180] Fig.10 A hardware entity diagram of a computer device provided in an embodiment of the present application is shown in FIG. Fig.10 As shown, the hardware entity of the computer device 1000 includes: a processor 1001 and a memory 1002, wherein the memory 1002 stores a computer program that can be run on the processor 1001, and the processor 1001 implements the steps in the method of any of the above embodiments when executing the program.

[0181] The memory 1002 stores computer programs that can be run on the processor. The memory 1002 is configured to store instructions and applications executable by the processor 1001. It can also cache data to be processed or processed by the processor 1001 and various modules in the computer device 1000 (for example, image data, audio data, voice communication data, and video communication data). This can be achieved through flash memory (FLASH) or random access memory (Random Access Memory, RAM).

[0182] When the processor 1001 executes the program, the steps of any of the above data processing methods can be implemented. The processor 1001 generally controls the overall operation of the computer device 1000.

[0183] An embodiment of the present application provides a computer storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps of the data processing method of any of the above embodiments.

[0184] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0185] The processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a central processing unit, a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.

[0186] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0187] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial numbers of the above-mentioned steps / processes does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.

[0188] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0189] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0190] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0191] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0192] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0193] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0194] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A data processing method, characterized in that: Applied to fixed equipment, the method comprises: Acquire a function data packet from the cloud, the function data packet including at least one function configuration data, the at least one function configuration data corresponding to at least one function supported by the fixed device, each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, the middleware is the middleware installed on the fixed device; sending the functional data packet to a mobile device so that the mobile device stores the functional data packet; Receiving a function call request from the mobile device, the function call request including target function configuration data and request parameters, the target function configuration data being function configuration data in the function data packet corresponding to the function call request; According to the target function configuration data and the request parameters, execute the function corresponding to the target function configuration data to obtain a function call result; The function call result is sent to the mobile device.

2. The data processing method according to claim 1, characterized in that: The sending of the functional data packet to the mobile device comprises: After establishing a connection relationship with the mobile device, in response to a request from the mobile device to obtain the functional data packet, the functional data packet is sent to the mobile device; or, After establishing a connection relationship with the mobile device, the functional data packet is sent to the mobile device.

3. The data processing method according to claim 1, characterized in that: The function call request is generated by the mobile device in response to an operation on a target function control among the function controls, and each of the function controls is a control that displays a function corresponding to each function configuration data in the function data packet of the mobile device.

4. The data processing method according to claim 1, characterized in that: The executing, according to the target function configuration data and the request parameter, a function corresponding to the target function configuration data comprises: Determine an execution application corresponding to the target function configuration data, where the execution application is any application on the fixed device; The target function configuration data and the request parameters are sent to the execution application, so as to call the execution application to execute the function corresponding to the target function configuration data according to the request parameters.

5. The data processing method according to claim 4, characterized in that: The executing the function corresponding to the target function configuration data according to the request parameter includes: The function indicated in the target function configuration data is located according to the reflection mechanism, and the request parameter is passed into the indicated function for execution.

6. The data processing method according to claim 1, characterized in that: Before obtaining the functional data packet from the cloud, the method further includes: Determine the version of the middleware and the functional data package corresponding to the middleware; The version of the middleware and the function data package corresponding to the middleware are uploaded to the cloud, so that the cloud stores the mapping relationship between the version of the middleware and the function data package.

7. The data processing method according to claim 6, characterized in that: The obtaining of the functional data packet from the cloud comprises: Determining a version of the middleware; Obtaining a location identifier corresponding to the version of the middleware from the cloud; The function data packet corresponding to the location identifier is obtained from the cloud.

8. The data processing method according to claim 1, characterized in that: The method further comprises: The functions in the middleware are extracted according to the reflection mechanism to obtain the function configuration data in the target data exchange format, wherein the function configuration data includes at least one of the method name, the class name where the method is located, and parameter information.

9. The data processing method according to any one of claims 1 to 8, characterized in that: When sending the functional data packet to the mobile device, the method further includes: Sending function information to the mobile device, the function information comprising at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

10. A data processing method, characterized in that: Applied to a mobile device, the method comprises: receiving a function data packet sent by a fixed device; wherein the function data packet includes at least one function configuration data, the at least one function configuration data corresponds to at least one function supported by the fixed device, each function configuration data is data in a target data exchange format obtained by processing the middleware according to each function, and the middleware is the middleware installed on the fixed device; Sending a function call request to the fixed device, wherein the function call request includes target function configuration data and request parameters, and the target function configuration data is function configuration data in the function data packet corresponding to the function call request; Receive a function call result sent by the fixed device; wherein the function call result is obtained by the fixed device executing the function corresponding to the target function configuration data according to the target function configuration data and the request parameters.

11. The data processing method according to claim 10, characterized in that: After receiving the function data packet sent by the fixed device, the method further includes: Display each function control, wherein each function control is a control of a function corresponding to each function configuration data in the function data packet; In response to an operation on a target function control among the function controls, determining the target function configuration data and the request parameter; The function call request is generated according to the target function configuration data and the request parameters.

12. The data processing method according to claim 10, characterized in that: When receiving a function data packet sent by a fixed device, the method further includes: Receive function information sent by the fixed device, where the function information includes at least one of hardware function information, software function information, function status update information, and function status information supported by the fixed device.

13. A data processing system, characterized in that: Including fixed devices, mobile devices and cloud; The fixed device is used to perform the data processing method according to any one of claims 1 to 9; The mobile device is used to execute the data processing method according to any one of claims 10 to 12; The cloud is used to store functional data packets.