Data uploading method and device and storage medium
By introducing data verification and authorization request mechanisms in intelligent devices, the privacy security problems when the data upload of smart devices is solved, and more stringent data management and user perception experience have been realized.
Patent Information
- Application Number
- CN202310928051.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2043-07-26
AI Technical Summary
When smart devices upload data, they lack effective management and user privacy protection, resulting in user information leakage.
Before uploading data, intelligent devices are used to check the upload data through preset conditions. If you pass the verification, upload data; otherwise, sending authorized request messages to the terminal device, receiving target instructions and executing the corresponding events, deciding whether to upload data, and uploading conditions according to related data.
The management of data uploading data is strengthened, and the user's privacy and security have been enhanced. By sending the authorized request message to the terminal, the user's perception of the data upload process has been improved.
Smart Images

Figure CN119382910A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method, device and storage medium for uploading data. Background Art
[0002] In the era of the Internet of Things, more and more traditional devices have become smart devices through the Internet of Things (IOT) technology, which has sensitive and accurate perception, correct thinking and judgment ability, and effective execution ability.
[0003] In order to collect data for statistical analysis, smart device manufacturers generally upload various types of data such as user data (such as relevant data generated during user usage), device operation data, environmental monitoring data, etc. to cloud servers through smart devices, and the cloud servers store the data.
[0004] However, the data reporting conditions of smart devices are generally set by the smart device manufacturers before the devices leave the factory and built into the communication modules of the smart devices. Once the smart devices are put into use and activated to connect to the network, they will automatically upload text, pictures, videos and other data. This will cause the leakage of terminal device data. Summary of the invention
[0005] The present application provides a data uploading method, device and storage medium for solving the problem of smart devices leaking user information.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In the first aspect, the present application provides a method for uploading data. In the method, a smart device obtains first data, and the first data includes: data to be uploaded and second data, and the second data is data associated with the data to be uploaded. The smart device verifies the first data according to a preset upload condition. If the first data passes the verification, the smart device uploads the data to be uploaded. If the first data does not pass the verification, the smart device sends an authorization request message to the terminal device, and the authorization request message is used to request uploading of the data to be uploaded. The smart device receives a target instruction from the terminal device and executes a target event. The target instruction is used to indicate whether to upload the data to be uploaded. The target instruction corresponds to the target event, and the target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded.
[0008] Based on the above technical solution, before the smart device obtains device data and uploads it according to the preset upload rules of the smart device manufacturer, the smart device verifies the data to be uploaded. If the verification is successful, the data to be uploaded is uploaded. If the verification fails, an authorization request message is sent to the terminal device. After that, the smart device receives the target instruction of the terminal device and executes the target instruction. If the target event is not to upload the data to be uploaded, the smart device does not upload the data to be uploaded. If the target event is to upload the data to be uploaded, the smart device uploads the data to be uploaded and updates the preset upload conditions according to the second data. In this way, the management of data uploaded by smart devices can be strengthened and the privacy and security of users can be improved. In addition, by sending an authorization request message to the terminal, the user can be informed that the data will be uploaded, so that the user can understand the data upload process, which improves the user's perceived experience.
[0009] In a possible design, the second data includes at least one of the following: a destination address, an upload frequency, a data type of data to be uploaded, a reporting time, and usage information of the smart device. The preset upload condition includes at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage regularity information.
[0010] In a possible design, when the target event is uploading data to be uploaded, the preset upload condition is updated according to the second data, and the updated preset upload condition includes: the second data.
[0011] In one possible design, the usage information of the smart device includes at least one of the following: startup time and setting information.
[0012] In a second aspect, the present application provides a data uploading device, which includes an acquiring unit, a processing unit and a sending unit.
[0013] The acquisition unit is used to acquire first data, and the first data includes: data to be uploaded and second data, and the second data is data associated with the data to be uploaded. The processing unit is used to verify the first data according to the preset upload conditions. The sending unit is used to upload the data to be uploaded if the first data passes the verification. The sending unit is also used to send an authorization request message to the terminal device if the first data fails to pass the verification, and the authorization request message is used to request uploading of the data to be uploaded. The acquisition unit is also used to receive a target instruction from the terminal device, and the target instruction is used to indicate whether to upload the data to be uploaded. The processing unit is also used to execute a target event. No target event corresponds to the target instruction, and the target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded.
[0014] In a possible design, the second data includes at least one of the following: a destination address, an upload frequency, a data type of data to be uploaded, a reporting time, and usage information of the smart device. The preset upload condition includes at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage regularity information.
[0015] In a possible design, the processing unit is further used to update the preset upload condition according to the second data when the target event is uploading the data to be uploaded, and the updated preset upload condition includes: the second data.
[0016] In one possible design, the usage information of the smart device includes at least one of the following: startup time and setting information.
[0017] In a third aspect, the present application provides a data uploading device, the device comprising: a processor and a memory; the processor and the memory are coupled; the memory is used to store one or more programs, the one or more programs including computer execution instructions, when the data uploading device is running, the processor executes the computer execution instructions stored in the memory to implement the data uploading method described in the first aspect and any possible implementation method of the first aspect.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the data uploading method described in the above-mentioned first aspect and any possible implementation of the first aspect.
[0019] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement a data uploading method as described in the first aspect and any possible implementation of the first aspect.
[0020] In the above scheme, the technical problems that can be solved and the technical effects achieved by the data uploading device, computer equipment, computer storage medium or chip can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A system architecture diagram of a communication system provided in an embodiment of the present application;
[0022] Figure 2 A flowchart of a method for uploading data provided in an embodiment of the present application;
[0023] Figure 3A A flowchart of another method for uploading data provided in an embodiment of the present application;
[0024] Figure 3B A flowchart of another method for uploading data provided in an embodiment of the present application;
[0025] Figure 4 A schematic diagram of the structure of a data uploading device provided in an embodiment of the present application;
[0026] Figure 5 A schematic diagram of the structure of another data uploading device provided in an embodiment of the present application;
[0027] Figure 6 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.
[0030] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
[0031] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0032] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.
[0033] In the era of the Internet of Everything, more and more traditional devices have become smart devices through the Internet of Things (IOT) technology, with sensitive and accurate perception, correct thinking and judgment, and effective execution capabilities. In order to collect data for statistical analysis, smart device manufacturers generally upload various types of data such as user data (such as relevant data generated during user use), device operation data, and environmental monitoring data to cloud servers through smart devices, and the cloud servers store the data.
[0034] However, the data reporting conditions of smart devices are generally set by the smart device manufacturer before the device leaves the factory and are built into the communication module of the smart device. When the smart device is put into use and activated to connect to the network, the smart device will automatically upload data such as text, pictures, and videos. This will cause the leakage of terminal device data.
[0035] Currently, the authorization for smart device data reporting is generally in the form of "prior notification". When the user downloads the application (Application, APP) corresponding to the smart device and registers an account, the terminal will display a prompt message to inform the user that the smart device will collect necessary data and ensure that such data will be kept confidential. When the user enters the consent operation, the device data will be uploaded according to the rules preset by the smart device manufacturer. In this way, when the smart device uploads data in the future, the user will never be able to know the specific upload situation (such as the time of upload, the content of the uploaded data, etc.).
[0036] In order to solve the above problems, an embodiment of the present application provides a method for uploading data, wherein a smart device obtains first data, wherein the first data includes: data to be uploaded, second data, and the second data is data associated with the data to be uploaded. The smart device verifies the first data according to a preset upload condition. Afterwards, if the first data passes the verification, the smart device uploads the data to be uploaded. If the first data fails to pass the verification, the smart device sends an authorization request message to the terminal device, and the authorization request message is used to request uploading of the data to be uploaded. Then, the smart device can receive a target instruction from the terminal device and execute a target event, wherein the target instruction is used to indicate whether to upload device data, and the target instruction corresponds to the target event, and the target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded. In this way, the management of data uploaded by the smart device can be strengthened, and the privacy security of the user can be improved. Moreover, by sending an authorization request message to the terminal, the user can be informed that the data will be uploaded, so that the user can understand the data uploading process, thereby improving the user's perceived experience.
[0037] The implementation environment of the embodiments of the present application is introduced below.
[0038] like Figure 1As shown, a communication system provided in an embodiment of the present application is provided, and the communication system includes a smart device (such as a camera 101 ), a terminal 102 and a server 103 .
[0039] An intelligent device refers to any device, instrument or machine with computing and processing capabilities. It is the product of the combination of traditional electrical equipment with computer technology, data processing technology, control theory, sensor technology, network communication technology, power electronics technology, etc. It has sensitive and accurate perception functions, correct thinking and judgment functions, and effective execution functions.
[0040] In the embodiment of the present application, the smart device can be used to collect data and manage data (such as adding, deleting, modifying and checking data). In addition, the smart device can upload data to the server 103 corresponding to the smart device. The server 103 is a server of the smart device manufacturer, which is used to receive data uploaded by the smart device and manage the data.
[0041] It should be noted that the server (such as server 103) can be a single physical server, or a server cluster composed of multiple servers. Alternatively, the server cluster can also be a distributed cluster. Alternatively, the server can be a cloud server. The embodiments of the present application do not limit the specific implementation of the server.
[0042] Furthermore, the smart device can communicate with the terminal 102 .
[0043] A terminal (such as terminal 102) can be a device with transceiver functions. The terminal can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons, and satellites, etc.). The terminal includes a handheld device, a vehicle-mounted device, a wearable device, or a computing device with wireless communication functions. Exemplarily, the terminal can be a mobile phone, a tablet computer, or a computer with wireless transceiver functions. The terminal device can also be a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city, a wireless terminal in a smart home, etc.
[0044] In the embodiment of the present application, the terminal 102 can be used to display prompt information. In addition, the terminal 102 can receive the user's operation and feedback the corresponding instruction to the smart device.
[0045] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0046] like Figure 2 As shown, a method for uploading data provided in an embodiment of the present application includes:
[0047] S201: The smart device obtains first data.
[0048] The first data includes: data to be uploaded and second data, and the second data is data associated with the data to be uploaded.
[0049] It should be noted that the embodiments of the present application do not limit the data to be uploaded. For example, when the smart device is a camera, the data to be uploaded is video data. For another example, when the smart device is a sweeping robot, the data to be uploaded is the sweeping path. For another example, when the smart device is an air conditioner, the data to be uploaded is indoor temperature data.
[0050] In a possible design, the second data may be used to describe data characteristics of the uploaded data to be uploaded. The second data may include at least one of the following: a destination address, an upload frequency, a data type of the data to be uploaded, and a reporting time.
[0051] The destination address is the destination address to which the smart device uploads the data to be uploaded. The destination address may be an Internet Protocol (IP) address or a domain name. For example, if the smart device uploads the data A to be uploaded to address a, then address a is the destination address.
[0052] The upload frequency is the frequency at which the smart device uploads the data to be uploaded. For example, the upload frequency of the smart device is once a day. For another example, the upload frequency of the smart device is once an hour.
[0053] It should be noted that the embodiment of the present application does not limit the data type of the data to be uploaded. For example, the data type of the data to be uploaded can be a video type, a text type, an audio type, etc.
[0054] The reporting time is the time when the smart device uploads the data to be uploaded. For example, if the smart device uploads data a at 09:05, the reporting time is 09:05.
[0055] Optionally, the second data may also be used to describe information about the user using the smart device. The second data may also include: usage information of the smart device. That is, the second data includes at least one of the following: destination address, upload frequency, data type of data to be uploaded, reporting time, and usage information of the smart device.
[0056] In a possible design, the usage information of the smart device includes at least one of the following: a start time and setting information. The start time is the time when the smart device is turned on. The setting information is the configuration information of the smart device.
[0057] It should be noted that the embodiments of the present application do not limit the setting information. For example, the setting information may be the temperature information of the air conditioner, the brightness information of the lamp, the temperature information of the heater, the working time of the smart device, etc.
[0058] For example, if the smart device is an air conditioner, and the temperature information of the air conditioner in the usage information is 25 degrees, it means that the air conditioner is set to 25 degrees. If the smart device is a lamp, and the brightness information of the lamp in the usage information is illumination a, it means that the lamp is set to illumination a. If the smart device is a heater, and the temperature information of the heater in the usage information is 40 degrees, it means that the heater is set to 40 degrees.
[0059] In a possible implementation, the smart device may collect the data to be uploaded in real time. Alternatively, after collecting the data to be uploaded, the smart device may store the data to be uploaded. The smart device may obtain the data to be uploaded from the stored data.
[0060] In the embodiment of the present application, the smart device can parse the data to be uploaded and determine the upload type of the data to be uploaded. In addition, the smart device can obtain the destination address, upload frequency, and reporting time from the preset upload rules. The smart device can obtain the usage information of the smart device from the user operation information.
[0061] It should be noted that the smart device stores preset upload rules, which include: destination address, upload frequency, and reporting time. The smart device can upload data according to the preset upload rules. When the user operates the smart device, the smart device can be set according to the user operation information.
[0062] S202: The smart device verifies the first data according to a preset upload condition.
[0063] Among them, the preset upload conditions include at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage pattern information.
[0064] It should be noted that the preset upload conditions (i.e., preset address, preset frequency threshold, preset data type, preset time period, preset usage pattern information) can be set by the user. The preset usage pattern information is used to reflect the regularity of the user's use of the smart device. For example, if the smart device is an air conditioner, and the temperature information of the air conditioner in the preset usage pattern information is 25 degrees, it means that the frequency of the air conditioner being set to 25 degrees is relatively high. If the smart device is a lamp, and the brightness information of the lamp in the preset usage pattern information is illumination a, it means that the frequency of the lamp being set to illumination a is relatively high. If the smart device is a heater, and the temperature information of the heater in the preset usage pattern information is 40 degrees, it means that the frequency of the heater being set to 40 degrees is relatively high.
[0065] It is understandable that the preset usage regularity information of the smart device can reflect the user's usual operations on the smart device.
[0066] In a possible implementation, preset upload conditions are stored in the smart device. The smart device can compare the data type of the data to be uploaded with the preset data type, and compare the second data with the preset address, preset frequency threshold, preset time period, and preset usage regularity information respectively. If the first data meets the preset conditions, the smart device determines that the first data has passed the verification. If the first data does not meet the preset conditions, the smart device determines that the first data has not passed the verification.
[0067] In some embodiments, if the first data passes the verification, the smart device executes S203.
[0068] For example, the light is turned on at 19:23, and the light is turned on at 19:00-20:00 in the preset upload condition, then the verification is passed, and the smart device executes S203.
[0069] In some embodiments, if the first data fails to pass the verification, the smart device executes S204.
[0070] For example, if the light is turned on at 10:23, and the light is turned on at 19:00-20:00 in the preset upload condition, the verification fails, and the smart device executes S204.
[0071] For example, the light on time is 10:23, and the light on time does not exist in the preset upload conditions, so the verification fails, and the smart device executes S204.
[0072] S203: The smart device uploads the data to be uploaded.
[0073] In a possible implementation, the smart device may send the data to be uploaded to a target server, where the target server is used to store the data uploaded by the smart device, and the target server is a server of the smart device manufacturer.
[0074] S204: The smart device sends an authorization request message to the terminal device.
[0075] The authorization pending message is used to request uploading of data to be uploaded.
[0076] S205: The smart device receives the target instruction from the terminal device and executes the target event.
[0077] The target instruction is used to indicate whether to upload the data to be uploaded. The target instruction corresponds to the target event. The target event is: uploading the data to be uploaded or refusing to upload the data to be uploaded.
[0078] In a possible design, the target instruction includes a first identifier or a second identifier, the first identifier is used to indicate uploading of the data to be uploaded, and the second identifier is used to indicate refusal to upload the data to be uploaded.
[0079] In the embodiment of the present application, when the target instruction includes the first identifier, the target event is uploading the data to be uploaded. When the target instruction includes the second identifier, the target event is refusing to upload the data to be uploaded.
[0080] It is understandable that before the smart device obtains device data and uploads it according to the preset upload rules of the smart device manufacturer, the smart device verifies the data to be uploaded. If the verification is successful, the data to be uploaded is uploaded. If the verification fails, an authorization request message is sent to the terminal device. After that, the smart device receives the target instruction of the terminal device and executes the target instruction. If the target event is not to upload the data to be uploaded, the smart device does not upload the data to be uploaded. If the target event is to upload the data to be uploaded, the smart device uploads the data to be uploaded and updates the preset upload conditions according to the second data. In this way, the management of data uploaded by smart devices can be strengthened and the privacy and security of users can be improved. In addition, by sending an authorization request message to the terminal, the user can be informed that the data will be uploaded, so that the user can understand the data upload process, which improves the user's perceived experience.
[0081] like Figure 3A As shown, a method for uploading data provided by an embodiment of the present application is provided. In the method, after S205, the method further includes:
[0082] S301, the smart device determines whether the target event is uploading data to be uploaded.
[0083] In a possible implementation, the smart device determines whether the identifier in the target instruction is the first identifier. If the identifier in the target instruction is the first identifier, the smart device determines that the target event is uploading the data to be uploaded. If the identifier in the target instruction is the second identifier, the smart device determines that the target event is refusing to upload the data to be uploaded.
[0084] In some embodiments, if the target event is uploading data to be uploaded, the smart device executes S302.
[0085] In some embodiments, if the target event is to refuse to upload the data to be uploaded, the smart device executes not to upload the data to be uploaded.
[0086] S302: The smart device updates the preset upload condition according to the second data.
[0087] The updated preset upload condition includes: second data.
[0088] In a possible implementation, the smart device may modify the preset upload condition according to the second data.
[0089] For example, the second data includes: the air conditioner set temperature time is 26 degrees Celsius, and the preset upload conditions are: the light start time is 19:00-20:00, the humidifier works for 3 hours a day, and the air conditioner set temperature is 25 degrees Celsius. After the update, the preset upload conditions are: the light start time is 19:00-20:00, the humidifier works for 3 hours a day, and the air conditioner set temperature is 26 degrees Celsius.
[0090] In another possible implementation, the smart device may add the second data to the preset upload condition.
[0091] For example, the second data includes: the air conditioner set temperature time is 26 degrees Celsius, the preset upload conditions are: the light start time is 19:00-20:00, and the humidifier works for 3 hours a day. After the update, the preset upload conditions are: the light start time is 19:00-20:00, the humidifier works for 3 hours a day, and the air conditioner set temperature is 26 degrees Celsius.
[0092] It is understandable that, when the target event is uploading the data to be uploaded, the preset upload condition is updated according to the second data, and the updated preset upload condition includes: the second data. In this way, by updating the preset upload condition, it can be ensured that the smart device can directly pass the verification when uploading the same data again. In this way, it can ensure the improvement of user privacy security and perceived experience while taking into account the user's convenience of use, thereby improving the user's experience.
[0093] The following is an introduction to the embodiments of the present application with reference to specific examples. Figure 3BAs shown, the mobile phone discovers the smart device through wireless communication technologies such as Bluetooth, and then the smart device binds to the mobile phone and establishes a connection with the Internet of Things platform. Every time the smart device needs to perform data reporting, the smart device will make a judgment through the early warning authorization model. Among them, the early warning authorization model contains a case library of the following dimensions, which includes: reporting IP address or domain name (i.e., destination address), reporting frequency (i.e., preset frequency threshold), reporting data category (text, picture or video, etc.) (preset data type), reporting time period (i.e., preset time period), common usage habits (i.e., preset usage regularity information), etc. When the smart device makes a judgment through the early warning authorization model, the usage information and the data to be uploaded can be compared with the above case library. If it is determined that the reported IP address or domain name is not in the case library (i.e., it has not been authorized by the user), or the reporting frequency is compared with the previous reporting frequency, it is determined that the reporting frequency is abnormal, or the data type of the data to be uploaded is different from the preset data type (not confirmed by the mobile phone), or the reported time period is different from the preset time period (i.e., the reported time period is not a normal time period), or the current usage habits are different from the preset usage regularity information, the smart device will trigger the mobile phone user authorization warning. When the mobile phone receives the user's authorization confirmation operation, it can notify the smart device to upload data. In addition, the authorized information (data to be uploaded and second data) will be used as a case and stored in the case library of the early warning authorization model by the smart device. In the future, for similar data in the same scenario, the smart device will be automatically authorized and upload data without the user's reconfirmation. When the mobile phone receives the user's refusal to authorize operation, the mobile phone notifies the smart device to refuse to upload the data to be uploaded.
[0094] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of smart devices. It is understandable that, in order to realize the above functions, the smart device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of the method for uploading data of each example described in the embodiment disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0095] The embodiment of the present application also provides a data uploading device, which can be a computer device, a CPU in the computer device, a processing module in the computer device for uploading data, or a client in the computer device for uploading data.
[0096] The embodiment of the present application can divide the data uploading device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical functional division. There may be other division methods in actual implementation.
[0097] like Figure 4 FIG. 1 is a schematic diagram of a data upload device provided in an embodiment of the present application. The data upload device is used to execute Figure 2 or Figure 3A or Figure 3B The data uploading method shown in the figure. The data uploading device may include an acquiring unit 401, a processing unit 402 and a sending unit 403.
[0098] The acquisition unit 401 is used to acquire the first data, and the first data includes: data to be uploaded and second data, and the second data is data associated with the data to be uploaded. The processing unit 402 is used to verify the first data according to the preset upload conditions. The sending unit 403 is used to upload the data to be uploaded if the first data passes the verification. The sending unit 403 is also used to send an authorization request message to the terminal device if the first data fails to pass the verification, and the authorization request message is used to request uploading of the data to be uploaded. The acquisition unit 401 is also used to receive a target instruction from the terminal device, and the target instruction is used to indicate whether to upload the data to be uploaded. The processing unit 402 is also used to execute a target event. No target event corresponds to the target instruction. The target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded.
[0099] Optionally, the second data includes at least one of the following: a destination address, an upload frequency, a data type of data to be uploaded, a reporting time, and usage information of the smart device. The preset upload condition includes at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage regularity information.
[0100] Optionally, the processing unit 402 is further configured to update the preset upload condition according to the second data when the target event is uploading the data to be uploaded, and the updated preset upload condition includes: the second data.
[0101] Optionally, the usage information of the smart device includes at least one of the following: startup time and setting information.
[0102] Figure 55 is a schematic diagram of a hardware structure of a data uploading device according to an exemplary embodiment. The data uploading device may include a processor 502, and the processor 502 is used to execute application code to implement the data uploading method in the present application.
[0103] The processor 502 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0104] like Figure 5 As shown, the data uploading device may further include a memory 503. The memory 503 is used to store application program codes for executing the solution of the present application, and is controlled to be executed by the processor 502.
[0105] The memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 503 may exist independently and be connected to the processor 502 via the bus 504. The memory 503 may also be integrated with the processor 502.
[0106] like Figure 5 As shown, the data upload device may further include a communication interface 501, wherein the communication interface 501, the processor 502, and the memory 503 may be coupled to each other, for example, via a bus 504. The communication interface 501 is used to perform information interaction with other devices, for example, to support information interaction between the data upload device and other devices.
[0107] It should be pointed out that Figure 5 The device structure shown in the figure does not constitute a limitation on the device for uploading the data, except Figure 5 In addition to the components shown, the data uploading device may include more or fewer components than shown, or combine certain components, or have a different arrangement of components.
[0108] In actual implementation, the functions implemented by the processing unit 402 can be Figure 5 The processor 502 shown calls the program code in the memory 503 to implement.
[0109] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer can execute the method for uploading data provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 503 including instructions, and the above instructions may be executed by a processor 502 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0110] Figure 6 A conceptual partial view of a computer program product provided by an embodiment of the present application is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.
[0111] In one embodiment, the computer program product is provided using a signal bearing medium 600. The signal bearing medium 600 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 2 , Figure 3A or Figure 3B Thus, for example, reference Figure 2 In the embodiment shown in , one or more features of S201 to S205 may be undertaken by one or more instructions associated with the signal bearing medium 600. In addition, Figure 6 The program instructions in also describe example instructions.
[0112] In some examples, the signal bearing medium 600 may include a computer readable medium 601, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.
[0113] In some implementations, signal bearing medium 600 may include computer recordable medium 602 such as, but not limited to, memory, read / write (R / W) CD, R / W DVD, and the like.
[0114] In some implementations, signal bearing medium 600 may include communication medium 603 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0115] The signal bearing medium 600 may be communicated by a wireless form of communication medium 603. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.
[0116] In some examples, such as for Figure 4 The described data upload device may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer-readable medium 601 , computer-recordable medium 602 , and / or communication medium 603 .
[0117] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0118] 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. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0120] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.
[0122] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for uploading data, characterized in that: The method comprises: Acquire first data, where the first data includes: data to be uploaded and second data, where the second data is data associated with the data to be uploaded; Verifying the first data according to a preset upload condition; If the first data passes the verification, uploading the data to be uploaded; If the first data fails to pass the verification, sending an authorization request message to the terminal device, wherein the authorization request message is used to request uploading of the data to be uploaded; A target instruction is received from the terminal device, and a target event is executed, wherein the target instruction is used to indicate whether to upload the data to be uploaded, and the target instruction corresponds to the target event, and the target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded.
2. The method according to claim 1, characterized in that The second data includes at least one of the following: a destination address, an upload frequency, a data type of the data to be uploaded, a reporting time, and usage information of the smart device; The preset upload condition includes at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage pattern information.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: In a case where the target event is uploading the data to be uploaded, the preset upload condition is updated according to the second data, and the updated preset upload condition includes: the second data.
4. The method according to claim 3, characterized in that The usage information of the smart device includes at least one of the following: start-up time and setting information.
5. A data uploading device, characterized in that: The device comprises: An acquisition unit, configured to acquire first data, wherein the first data includes: data to be uploaded and second data, wherein the second data is data associated with the data to be uploaded; A processing unit, configured to verify the first data according to a preset upload condition; A sending unit, configured to upload the data to be uploaded if the first data passes verification; The sending unit is further configured to send an authorization request message to the terminal device if the first data fails to pass the verification, wherein the authorization request message is used to request uploading of the data to be uploaded; The acquisition unit is further used to receive a target instruction from the terminal device, wherein the target instruction is used to indicate whether to upload the data to be uploaded; The processing unit is further configured to execute a target event, wherein the target event corresponds to the target instruction, and the target event is: uploading the data to be uploaded, or refusing to upload the data to be uploaded.
6. The device according to claim 5, characterized in that The second data includes at least one of the following: a destination address, an upload frequency, a data type of the data to be uploaded, a reporting time, and usage information of the smart device; The preset upload condition includes at least one of the following: the destination address is a preset address, the upload frequency is less than a preset frequency threshold, the data type of the data to be uploaded is a preset data type, the reporting time is within a preset time period, and the usage information of the smart device is preset usage pattern information.
7. The device according to claim 5 or 6, characterized in that The processing unit is further configured to update the preset upload condition according to the second data when the target event is uploading the data to be uploaded, and the updated preset upload condition includes: the second data.
8. The device according to claim 7, characterized in that The usage information of the smart device includes at least one of the following: start-up time and setting information.
9. A data uploading device, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, which include computer-executable instructions. When the data uploading device is running, the processor executes the computer-executable instructions stored in the memory to enable the data uploading device to perform the method as described in any one of claims 1-4.
10. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer performs the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Information collection method and terminal device
CN107807891A
Transmission method and system for Internet of things data as well as terminal
CN108965484A
Data transmission method, device and equipment and storage medium
CN113259382A
Internet of Things security authentication method, device, system, equipment and medium
CN116471114A
Methods and Devices For Managing User Identity Authentication Data
US20210319132A1