[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111009320A - Data processing method, data processing device, storage medium and electronic equipment - Google Patents

Data processing method, data processing device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111009320A
CN111009320A CN201910991483.9A CN201910991483A CN111009320A CN 111009320 A CN111009320 A CN 111009320A CN 201910991483 A CN201910991483 A CN 201910991483A CN 111009320 A CN111009320 A CN 111009320A
Authority
CN
China
Prior art keywords
data packet
data
encapsulated
response
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910991483.9A
Other languages
Chinese (zh)
Inventor
蒋志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201910991483.9A priority Critical patent/CN111009320A/en
Publication of CN111009320A publication Critical patent/CN111009320A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/60ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices
    • G16H40/67ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the operation of medical equipment or devices for remote operation
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Epidemiology (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Pathology (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a data processing method, a device and electronic equipment, wherein the method is applied to a terminal, a CPU chip is not arranged in the terminal, and service data from peripheral devices are received; performing encapsulation processing on the service data to obtain an encapsulated data packet, and sending the encapsulated data packet to a server; receiving a response data packet sent by the server in response to the encapsulation data packet; and decapsulating the response data packet to obtain response data. The terminal equipment of the invention can not normally run the newer version software because the CPU configuration is lower. Meanwhile, the terminal is not provided with a CPU chip, so that the manufacturing cost of the terminal can be reduced.

Description

Data processing method, data processing device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of terminals, and in particular, to a data processing method, an apparatus, a storage medium, and an electronic device.
Background
The terminal device is a device located at the outermost periphery of a network in a computer network, and is mainly used for inputting user information, outputting a processing result, and the like. A Central Processing Unit (CPU) of the terminal device is a core for operation and control of the terminal, and the CPU is also a final execution unit for information processing and program operation of the terminal device.
However, with the development of technology, the software hardware update speed is fast, and the terminal device cannot normally run the software of a newer version because the CPU configuration is low. In addition, the CPU is used as a core component of the terminal device, which is often high in cost, resulting in a high cost of the terminal.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a data processing method and apparatus, and an electronic device.
In a first aspect, an embodiment of the present invention provides a data processing method, where the method is applied to a terminal, and a CPU chip is not set in the terminal, and the method includes the following steps:
receiving service data from a peripheral device;
performing encapsulation processing on the service data to obtain an encapsulated data packet, and sending the encapsulated data packet to a server;
receiving a response data packet sent by the server in response to the encapsulation data packet;
and decapsulating the response data packet to obtain response data.
Optionally, the encapsulating the service data to obtain an encapsulated data packet includes:
and according to the service type of the service data, carrying out encapsulation processing on the service data to obtain the encapsulated data packet.
Optionally, after the response data packet is decapsulated to obtain response data, the method further includes:
and displaying an image on a user interface of the terminal based on the response data, wherein the service type of the service data is image processing.
In a second aspect, an embodiment of the present invention provides a data processing method, where the method is applied to a server, and includes the following steps:
receiving a packaging data packet sent by a terminal, wherein a CPU chip is not arranged in the terminal;
processing the encapsulated data packet to generate a response data packet;
and sending the response data packet to the terminal.
Optionally, the processing the encapsulated packet, and generating a response packet includes:
acquiring a service type corresponding to the encapsulated data packet;
and processing the encapsulated data packet according to the service type to generate the response data packet.
Optionally, the processing the encapsulated packet according to the service type, and generating a response packet includes:
and performing image processing on the encapsulated data packet to generate the response data packet, wherein the service type is image processing.
Optionally, the receiving terminal sends an encapsulated packet including:
receiving an encapsulated data packet sent by the terminal, wherein the encapsulated data packet comprises a first encapsulated data packet and a second encapsulated data packet;
the processing the encapsulated packet and generating a response packet includes:
and processing the first encapsulated data packet and the second encapsulated data packet according to the priority of the first encapsulated data packet and the priority of the second encapsulated data packet to generate first response data and second response data, wherein the first encapsulated data packet corresponds to the first response data, and the second encapsulated data packet corresponds to the second response data.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, where the method is applied to a terminal, where a CPU chip is not set in the terminal, and the method includes:
a first receiving unit for receiving service data from a peripheral device;
the sending unit is used for encapsulating the service data to obtain an encapsulated data packet and sending the encapsulated data packet to a server;
a second receiving unit, configured to receive a response packet sent by the server in response to the encapsulated packet;
and the decapsulation unit is used for decapsulating the response data packet to obtain response data.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the methods described above.
In a fifth aspect, an embodiment of the present invention provides an electronic device, where a CPU chip is not provided in the electronic device, and the electronic device is configured to implement the steps of any one of the above methods.
The method is applied to a terminal, a CPU chip is not arranged in the terminal, the terminal packages the service data to obtain a packaged data packet, the packaged data packet is sent to a server, and a response data packet sent by the server in response to the packaged data packet is received. The terminal does not set CPU chip, but the server side processes data. On one hand, the terminal equipment cannot influence the use of the terminal equipment by a user because the CPU configuration is low and the newer version software cannot be normally operated. On the other hand, the cost of the CPU chip is often high, and the terminal is not provided with the CPU chip, so that the manufacturing cost of the terminal can be reduced.
Drawings
FIG. 1 is a schematic diagram of an exemplary system architecture to which a data processing method or apparatus of an embodiment of the present invention may be applied;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another data processing method provided by the embodiment of the invention;
FIG. 4 is a flow chart illustrating a further data processing method according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating a further data processing method according to an embodiment of the present invention;
FIG. 6 is a flow chart illustrating another data processing method according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating a further data processing method according to an embodiment of the present invention;
FIG. 8 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a data processing apparatus according to another embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present application is further described with reference to the following figures and examples.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the invention, which may be combined or substituted for various embodiments, and this application is therefore intended to cover all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then this application should also be considered to include an embodiment that includes one or more of all other possible combinations of A, B, C, D, even though this embodiment may not be explicitly recited in text below.
The following description provides examples, and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than the order described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Fig. 1 is a schematic diagram of an exemplary system architecture to which a data processing method or apparatus according to an embodiment of the present invention may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The terminal equipment 101, 102 and 103 receives service data from peripheral devices, packages the service data to obtain a packaged data packet, sends the packaged data packet to the server 105 through the network 104, and receives a response data packet sent by the server in response to the packaged data packet; and decapsulating the response data packet to obtain response data.
Referring to fig. 2, fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present invention, where the method includes:
s201, receiving service data from a peripheral device.
The data processing method provided by the embodiment of the invention can be applied to terminal equipment. The terminal device is not provided with a CPU chip. The terminal device may be various electronic devices including, but not limited to, a smart phone, a wearable device, a tablet computer, a portable computer, a desktop computer, and the like.
The peripheral device may be a device that is directly connected to the terminal and provides service data to the terminal. The peripheral device may include: cameras, microphones, touch screens, mice, various sensors, and the like.
The peripheral device may not be directly connected to the terminal. For example, the peripheral device may be connected to the terminal device through an infrared connection, a wifi connection, a mobile network, or the like, and send the service data to the terminal device. In addition, the terminal device can also receive the service data collected by the terminal device itself.
For example, the peripheral device may be a smart band. The intelligent bracelet is wirelessly connected with the mobile phone, the intelligent bracelet collects service data, and the service data can comprise information such as user pulse. The bracelet sends the service data to the mobile phone, the mobile phone sends the service to the cloud server side, and the cloud server side analyzes and judges the health condition of the user according to the service data and returns the judgment result to the mobile phone.
S202, the service data is packaged to obtain a packaged data packet, and the packaged data packet is sent to a server.
The service data may be encapsulated into data packets based on a transmission network type, a type of the service data, a data volume of the service data, and the like between the terminal and the server side, so as to facilitate data transmission between the terminal and the server side.
S203, receiving a response data packet sent by the server in response to the encapsulation data packet.
The server side can be a single server with higher configuration or a cluster formed by a plurality of servers. The server side can provide services for a plurality of terminal devices at the same time. The server can complete all operations and result processing to be completed by the processor and the operating system of the terminal device in the prior art. The server side can accomplish but is not limited to the following work: scheduling system tasks, optimizing memory and optimizing image effect.
And S204, decapsulating the response data packet to obtain response data.
And the terminal decapsulates the response data packet returned by the server terminal to obtain response data. The response data comprises a processing analysis result corresponding to the service data. And the terminal carries out different processing on corresponding data according to different services.
For example, when the service type is image processing, image display is performed on the user interface of the terminal. And when the service type is audio processing, playing corresponding audio through a sound box arranged on the terminal or sound equipment connected with the terminal. When the service type is user health monitoring, if all physiological indexes returned by the server are normal, displaying a message for monitoring the body of the user on a user interface of the terminal; and if the server side returns that part of the physiological indexes of the user are abnormal, an alarm is sent to the user.
According to the data processing method provided by the embodiment of the invention, the terminal is not provided with the CPU chip, the server side carries out data processing, and the processing result is returned to the terminal. On one hand, the data processing method provided by the embodiment of the invention solves the problem that the newer version software cannot be normally operated due to the lower CPU configuration of the terminal equipment in the prior art. On the other hand, the data processing method provided by the embodiment of the invention solves the problem that the manufacturing cost of the terminal is higher due to the fact that the cost of a CPU chip is often very high in the prior art.
Referring to fig. 3, fig. 3 is a schematic flow chart of another data processing method according to an embodiment of the present invention, where the method includes:
s301, receiving service data from the peripheral device.
The specific process of S301 may refer to the description of S201 in fig. 2, and is not described herein again.
S202, according to the service type of the service data, the service data is packaged to obtain the packaged data packet.
The service type is a classification corresponding to the service data and is a basis for analyzing and processing the service data. The service type can be determined according to specific requirements or types of peripheral devices. The traffic types include, but are not limited to: image processing, audio processing, health monitoring, air quality monitoring, and the like.
The same server can process the service data of various service types. The association relationship between the service type and the processing subprogram can be prestored in the server. Based on the association relationship, different processing subprograms are called to carry out corresponding processing corresponding to the service data of different data types.
The terminal can also send the service data of different service types to the corresponding server end for processing according to the service types. The corresponding relation between the service type and the server can be prestored on the terminal, and the service data can be sent based on the corresponding relation.
Service type zone bits can be set at preset positions of the encapsulated data packet body, and different service types correspond to different service zone bits. For example, the first byte of the encapsulating data packet header may be set to the traffic type flag bit. When the first byte of the packet header is 1, the service type representing the encapsulated data packet is image processing. When the first byte of the packet header is 2, the service type representing the encapsulated packet is audio processing or the like.
S303, receiving a response data packet sent by the server in response to the encapsulation data packet.
The specific process of S303 may refer to the description of S203 in fig. 2, and is not described herein again.
S304, de-encapsulating the response data packet to obtain response data.
The specific process of S304 may refer to the description of S204 in fig. 2, and is not described herein again.
The data processing method provided by the embodiment of the invention sets different service types for the service data, and encapsulates the service data according to the different service types to generate the encapsulated data packet. The method provided by the embodiment of the invention is convenient for the server to call the corresponding program to process the service data according to the service type, so that the data processing mode is more diversified.
Referring to fig. 4, fig. 4 is a schematic flowchart of another data processing method provided in an embodiment of the present invention, where in the embodiment of the present invention, the method includes:
s401, receiving a packaging data packet sent by a terminal, wherein the terminal is not provided with a CPU chip.
The data processing method provided by the embodiment of the invention is applied to a server side. The server side can be a single server with higher configuration or a cluster formed by a plurality of servers. The server side can provide services for a plurality of terminal devices at the same time. The server can complete all operations and result processing to be completed by the processor and the operating system of the terminal device in the prior art. The server side can accomplish but is not limited to the following work: scheduling system tasks, optimizing memory and optimizing image effect.
S402, processing the encapsulated data packet to generate a response data packet.
And the server receives the encapsulated data packet, calls a response program, analyzes and processes the encapsulated data packet, and generates a corresponding response data packet. The response packet includes a processing result of the encapsulated packet.
And S403, sending the response data packet to the terminal.
The data processing method provided by the embodiment of the invention receives the encapsulated data packet sent by the terminal, the terminal is not provided with a CPU chip, the encapsulated data packet is processed to generate a response data packet, and the response data packet is sent to the terminal. The data processing method provided by the embodiment of the invention solves the problem that the CPU configuration of the terminal equipment is low, and the newer version software cannot be normally operated in the prior art.
Referring to fig. 5, fig. 5 is a schematic flowchart of another data processing method provided in an embodiment of the present invention, where in the embodiment of the present invention, the method includes:
s501, receiving a packaged data packet sent by a terminal, wherein the terminal is not provided with a CPU chip.
The specific process of S501 may refer to the description of S401 in fig. 4, and is not described herein again.
S502, obtaining the service type corresponding to the encapsulation data packet.
The service type is a classification corresponding to the service data and is a basis for analyzing and processing the service data. The service type can be determined according to specific requirements or types of peripheral devices. The traffic types include, but are not limited to: image processing, audio processing, health monitoring, air quality monitoring, and the like.
Service type zone bits can be set at preset positions of the encapsulated data packet body, and different service types correspond to different service zone bits. For example, the first byte of the encapsulating data packet header may be set to the traffic type flag bit. When the first byte of the packet header is 1, the service type representing the encapsulated data packet is image processing. When the first byte of the packet header is 2, the service type representing the encapsulated packet is audio processing or the like.
S503, processing the encapsulated data packet according to the service type, and generating the response data packet.
The same server can process data of multiple service types. The association relationship between the service type and the processing subprogram can be prestored in the server. Based on the association relationship, different processing subprograms are called to carry out corresponding processing corresponding to the service data of different data types.
The terminal can also send the service data of different service types to the corresponding server end for processing according to the service types. The corresponding relation between the service type and the server can be prestored on the terminal, and the service data can be sent based on the corresponding relation.
S504, the response data packet is sent to the terminal.
The specific process of S504 may refer to the description of S403 in fig. 4, and is not described herein again.
The data processing method provided by the embodiment of the invention sets different service types for the service data, and encapsulates the service data according to the different service types to generate the encapsulated data packet. The method provided by the embodiment of the invention is convenient for operation and maintenance development of the server and the terminal, and is beneficial to logic processing of more complex services by the server.
Referring to fig. 6, fig. 6 is a schematic flow chart of another data processing method according to an embodiment of the present invention, where the method includes:
s601, receiving a packaging data packet sent by a terminal, wherein the terminal is not provided with a CPU chip, and the packaging data packet comprises a first packaging data packet and a second packaging data packet.
S602, according to the priority of the first encapsulated data packet and the priority of the second encapsulated data packet, processing the first encapsulated data packet and the second encapsulated data packet to generate first response data and second response data, where the first encapsulated data packet corresponds to the first response data, and the second encapsulated data packet corresponds to the second response data.
Different priorities can be set for different encapsulated data packets based on the terminal, the service type or the specific requirements, and the processing sequence of the encapsulated data packets is determined according to the priorities.
And S603, sending the response data packet to the terminal.
The specific process of S603 may refer to the description of S403 in fig. 4, and is not described herein again.
According to the data processing method provided by the embodiment of the invention, when the server receives a plurality of encapsulated data packets, the encapsulated data packets can be processed in sequence based on different priorities corresponding to the encapsulated data packets. The priority of the encapsulated data packet can be set in consideration of specific conditions such as terminal and service type, so that the server side can operate orderly according to the requirements under the condition of multiple terminal and multiple service types.
To better explain the technical solution of the present invention, a specific embodiment is explained below with a 5G (5th generation mobile networks, fifth generation mobile communication technology) mobile phone terminal.
The existing 5G mobile phone is a mobile phone which runs an Android system or other intelligent operating systems with complete hardware configuration and is provided with a 5G module for data receiving and sending. The main parts of the mobile phone, such as an SOC (System on chip), an image processing chip, a sound processing chip, a memory and the like, which meet the requirement of normal and efficient operation of an operating System, are organized in the mobile phone.
Fig. 7 is a flowchart illustrating another data processing method according to an embodiment of the present invention. As shown in fig. 7, the data processing method provided by the embodiment of the present invention may include the following steps:
(1) the mobile phone terminal is mainly provided with a camera, a 5G module, a display screen, a touch screen, a battery module (containing a charging module), a fingerprint module, an earphone jack, a microphone, a loudspeaker, various sensors, a GPS module and a wifi module.
(2) A cloud server is erected, a computer server with a high configuration is arranged, the hardware configuration of the computer is replaceable, and the server is connected to the Internet.
(3) The circuit board is designed, and the above devices are connected to the 5G module processing chip. An applet is run inside the chip of the 5G module to perform data packaging and unpacking actions.
(4) Different types of data can be embodied on each module by various operation services of a user, the data processing result of each module is packaged and encapsulated, and the packaged data is transmitted to the 5G module.
(5) And the 5G module sends the data of each module to the cloud server through a proprietary high-speed data channel established in advance.
(6) The cloud server is a highly configured server, and it will complete all operations and result processing to be completed by the processor and operating system of a mobile phone. The method comprises the steps of system task scheduling, memory optimization and image effect optimization.
(7) And the calculated data is sent to a data channel exclusive to the mobile phone terminal through a network. The mobile phone terminal 5G module receives the data sent by the cloud, unpacks the data and then displays the unpacked data on the mobile phone terminal. For example, a game interface is displayed on a mobile phone; the handset feels a faster fluency.
The data processing method provided by the embodiment of the invention has the following effects: reducing the number of main core parts of the mobile phone, such as a main processor chip; the cost of the mobile phone is greatly reduced because core components are not needed; the scheme can meet the requirement of software updating of the crescent and the special; software such as an operating system can be updated in real time; the mobile phone performance, such as processing speed, image effect and the like, is greatly improved; greatly reducing the heat and power consumption of the mobile phone.
Fig. 2 to 7 describe the data processing method in detail in the embodiment of the present application. Referring to fig. 8, fig. 8 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, and as shown in fig. 8, the data processing apparatus includes:
a first receiving unit 801, configured to receive service data from a peripheral device;
a sending unit 802, configured to perform encapsulation processing on the service data to obtain an encapsulated data packet, and send the encapsulated data packet to a server;
a second receiving unit 803, configured to receive a response packet sent by the server in response to the encapsulated packet;
a decapsulating unit 804, configured to decapsulate the response packet to obtain response data.
Optionally, the sending unit 802 is specifically configured to:
and according to the service type of the service data, carrying out encapsulation processing on the service data to obtain the encapsulated data packet.
Optionally, the apparatus further comprises:
a display unit 805, configured to perform image display on a user interface of the terminal based on the response data, where a service type of the service data is image processing.
Referring to fig. 9, fig. 9 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present invention, and as shown in fig. 9, the data processing apparatus includes:
a receiving unit 901, configured to receive a package data packet sent by a terminal, where a CPU chip is not set in the terminal;
a generating unit 902, configured to process the encapsulated packet and generate a response packet;
a sending unit 903, configured to send the response packet to the terminal.
Optionally, the generating unit 902 is specifically configured to:
and performing image processing on the encapsulated data packet to generate the response data packet, wherein the service type is image processing.
Optionally, the receiving unit 901 is specifically configured to:
receiving an encapsulated data packet sent by the terminal, wherein the encapsulated data packet comprises a first encapsulated data packet and a second encapsulated data packet;
the generating unit 902 is specifically configured to:
and processing the first encapsulated data packet and the second encapsulated data packet according to the priority of the first encapsulated data packet and the priority of the second encapsulated data packet to generate first response data and second response data, wherein the first encapsulated data packet corresponds to the first response data, and the second encapsulated data packet corresponds to the second response data.
It is clear to a person skilled in the art that the solution according to the embodiments of the invention can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, an FPGA (Field-Programmable Gate Array), an IC (Integrated Circuit), or the like.
Each processing unit and/or module according to the embodiments of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may be implemented by software that executes the functions described in the embodiments of the present invention.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data processing method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Referring to fig. 10, a schematic structural diagram of an electronic device according to an embodiment of the present invention is shown, where the electronic device is not provided with a CPU chip, and the electronic device may be used to implement the data processing method in the foregoing embodiment. Specifically, the method comprises the following steps:
memory 1020 may be used to store software programs and modules. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1030 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 1030 may include a touch-sensitive surface 1031 (e.g., a touch screen, a touchpad, or a touch frame). The touch-sensitive surface 1031, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (such as operations by a user on or near the touch-sensitive surface 1031 using any suitable object or attachment, such as a finger, a stylus, etc.) on or near the touch-sensitive surface 1031 and drive the corresponding connection device according to a preset program. In addition, the touch-sensitive surface 1031 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves.
The display unit 1040 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1040 may include a Display panel 1041, and optionally, the Display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A data processing method is applied to a terminal, and is characterized in that a Central Processing Unit (CPU) chip is not arranged in the terminal, and the method comprises the following steps:
the terminal receives service data from a peripheral device;
performing encapsulation processing on the service data to obtain an encapsulated data packet, and sending the encapsulated data packet to a server;
receiving a response data packet sent by the server in response to the encapsulation data packet;
and decapsulating the response data packet to obtain response data.
2. The method of claim 1, wherein the encapsulating the service data to obtain an encapsulated packet comprises:
and according to the service type of the service data, carrying out encapsulation processing on the service data to obtain the encapsulated data packet.
3. The method of claim 1, wherein after the decapsulating the response packet to obtain response data, the method further comprises:
and displaying an image on a user interface of the terminal based on the response data, wherein the service type of the service data is image processing.
4. A data processing method is applied to a server and is characterized by comprising the following steps:
receiving a packaging data packet sent by a terminal, wherein a CPU chip is not arranged in the terminal;
processing the encapsulated data packet to generate a response data packet;
and sending the response data packet to the terminal.
5. The method of claim 4, wherein processing the encapsulated packet to generate a response packet comprises:
acquiring a service type corresponding to the encapsulated data packet;
and processing the encapsulated data packet according to the service type to generate the response data packet.
6. The method of claim 5, wherein the processing the encapsulated packet according to the service type and generating a response packet comprises:
and performing image processing on the encapsulated data packet to generate the response data packet, wherein the service type is image processing.
7. The method of claim 4, wherein the receiving of the encapsulated packet sent by the terminal comprises:
receiving an encapsulated data packet sent by the terminal, wherein the encapsulated data packet comprises a first encapsulated data packet and a second encapsulated data packet;
the processing the encapsulated packet and generating a response packet includes:
and processing the first encapsulated data packet and the second encapsulated data packet according to the priority of the first encapsulated data packet and the priority of the second encapsulated data packet to generate first response data and second response data, wherein the first encapsulated data packet corresponds to the first response data, and the second encapsulated data packet corresponds to the second response data.
8. A data processing device, the device is applied to a terminal, and is characterized in that a CPU chip is not arranged in the terminal, and the device comprises:
a first receiving unit for receiving service data from a peripheral device;
the sending unit is used for encapsulating the service data to obtain an encapsulated data packet and sending the encapsulated data packet to a server;
a second receiving unit, configured to receive a response packet sent by the server in response to the encapsulated packet;
and the decapsulation unit is used for decapsulating the response data packet to obtain response data.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
10. An electronic device, wherein no CPU chip is provided in the electronic device, and wherein the electronic device is configured to implement the steps of the method according to any one of claims 1 to 7.
CN201910991483.9A 2019-10-18 2019-10-18 Data processing method, data processing device, storage medium and electronic equipment Pending CN111009320A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910991483.9A CN111009320A (en) 2019-10-18 2019-10-18 Data processing method, data processing device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910991483.9A CN111009320A (en) 2019-10-18 2019-10-18 Data processing method, data processing device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111009320A true CN111009320A (en) 2020-04-14

Family

ID=70111310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910991483.9A Pending CN111009320A (en) 2019-10-18 2019-10-18 Data processing method, data processing device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111009320A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181825A (en) * 2017-07-07 2017-09-19 广东中星电子有限公司 The on-line processing method of terminal device data
CN107508907A (en) * 2017-09-13 2017-12-22 北京明朝万达科技股份有限公司 A kind of data transmission method and device
CN107833627A (en) * 2017-10-25 2018-03-23 厦门理工学院 A kind of health monitoring system and method based on IPv6
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181825A (en) * 2017-07-07 2017-09-19 广东中星电子有限公司 The on-line processing method of terminal device data
CN107508907A (en) * 2017-09-13 2017-12-22 北京明朝万达科技股份有限公司 A kind of data transmission method and device
CN107833627A (en) * 2017-10-25 2018-03-23 厦门理工学院 A kind of health monitoring system and method based on IPv6
CN109714327A (en) * 2018-12-21 2019-05-03 深圳市元征科技股份有限公司 Data processing method, device, terminal, system and server

Similar Documents

Publication Publication Date Title
CN107977144A (en) A kind of screenshotss processing method and mobile terminal
CN109815110A (en) A kind of network port management method, device, terminal device and storage medium
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN108595203A (en) Application function executes method, mobile terminal and computer readable storage medium
CN111309205B (en) Application sharing method, first electronic device and computer-readable storage medium
CN108446211A (en) Browser exception collection method, device, mobile terminal and storage medium
CN109817232A (en) A kind of transmission method, terminal device and apparatus for processing audio
CN108573307A (en) A kind of method and terminal of processing neural network model file
CN109803429A (en) RRM measurement control method, mobile communication terminal and the network side equipment of adjacent cell
CN115589361A (en) Management equipment firmware updating method and device, electronic equipment and storage medium
CN110147186A (en) A kind of control method and terminal device of application
CN110377235A (en) Data processing method, device, mobile terminal and computer readable storage medium
CN109117054A (en) A kind of display control method and terminal
WO2020192662A1 (en) Operation method and terminal device
CN115756881A (en) Data processing method, device, equipment and storage medium based on SDK
CN112148499A (en) Data reporting method and device, computer equipment and medium
CN109921960A (en) A kind of IDC network of computer room abnormality test method and device
CN111752688B (en) Data acquisition method and device, electronic equipment and storage medium
CN109745699A (en) A kind of method and terminal device responding touch control operation
CN111009320A (en) Data processing method, data processing device, storage medium and electronic equipment
CN109992430A (en) A kind of data transmission method, first terminal and second terminal
WO2017166093A1 (en) Front-end system
CN107241147A (en) Radio frequency interference processing method, device, storage medium and terminal
CN109889568A (en) A kind of data export method, server, client and system
CN110245017A (en) The distribution method and equipment of resource identification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200414

RJ01 Rejection of invention patent application after publication