CN115048572A - Data processing method, device, server and storage medium - Google Patents

Data processing method, device, server and storage medium Download PDF

Info

Publication number
CN115048572A
CN115048572A CN202210483511.8A CN202210483511A CN115048572A CN 115048572 A CN115048572 A CN 115048572A CN 202210483511 A CN202210483511 A CN 202210483511A CN 115048572 A CN115048572 A CN 115048572A
Authority
CN
China
Prior art keywords
data
client
content
sub
server
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
CN202210483511.8A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210483511.8A priority Critical patent/CN115048572A/en
Publication of CN115048572A publication Critical patent/CN115048572A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a data processing method, a data processing device, a server and a storage medium, and relates to the technical field of communication. The method comprises the following steps: receiving a first data identifier to be requested, which is sent by a client; acquiring multiple types of subdata contents forming the data contents, wherein the multiple types of subdata contents correspond to different priorities; and sequentially sending the various sub-data contents to the client according to the priority orders corresponding to the various sub-data contents. The data content is split, and the split multi-class subdata content is sequentially sent to the client according to the priority order corresponding to the multi-class subdata content, so that the data volume obtained and transmitted at each time is reduced, the transmission speed is relatively high, the application program can be ensured to display the corresponding content on the client in time, and the long-time waiting of a user is avoided.

Description

Data processing method, device, server and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method, an apparatus, a server, and a storage medium.
Background
With the rapid development of network technologies, users increasingly rely on obtaining various information through networks. In order to meet the requirements of users, the types of application programs used by the users are more and more, and the functions are more and more abundant. The user can acquire various information through different applications, such as watching videos, listening to music, and the like.
However, in the related art, in a weak network environment, the data acquisition and transmission speed is slow, which results in that the application program cannot display the corresponding content on the client in time, and the user has a long waiting time.
Disclosure of Invention
The present disclosure provides a data processing method, apparatus, server and storage medium, so as to at least solve the problems that in the related art, an application program cannot display corresponding content on a client in time, and a user has an excessively long waiting time. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data processing method, including:
receiving a first data identifier to be requested sent by a client;
acquiring data content corresponding to the first data identifier;
obtaining a plurality of types of subdata contents which form the data contents, wherein the plurality of types of subdata contents correspond to different priorities;
and sequentially sending the multi-class subdata content to the client according to the sequence of the priority corresponding to the multi-class subdata content.
In some embodiments of the present invention, the,
before the obtaining of the multiple types of sub data contents constituting the data content, the method further includes:
determining a network quality between the client and the server;
and if the network quality does not meet the set quality requirement, executing the step of obtaining the multi-class sub-data content forming the data content.
In some embodiments, after said determining the network quality between said client and said server, said method further comprises:
and if the network quality meets the quality requirement, directly sending the data content to the client.
In some embodiments, before the sequentially sending the multiple types of sub-data contents to the client according to the order of the priorities corresponding to the multiple types of sub-data contents, the method further includes:
determining the order of the priority corresponding to the multi-class subdata content according to the data type indicated by the first data identification and the corresponding relation between the preset different data types and the different classes of subdata content; alternatively, the first and second electrodes may be,
and determining the order of the priority corresponding to the multi-class sub-data content according to the data type indicated by the first data identification and the predetermined access habit information of the user corresponding to the client to the data type.
In some embodiments, the method further comprises:
receiving a second data identifier to be requested sent by the client;
and if the multi-class subdata content is not completely sent to the client, stopping sending the multi-class subdata content to the client.
In some embodiments, after receiving the second data identifier to be requested sent by the client, the method further includes:
acquiring data content corresponding to the second data identifier;
acquiring multi-class sub-data content forming the data content corresponding to the second data identifier;
and sequentially sending the multi-class subdata content to the client according to the priority order corresponding to the multi-class subdata content.
In some embodiments, the plurality of types of subdata content includes page static data, and at least one of the following types:
page rendering data, page interaction data and redundant data.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing apparatus applied to a server, including:
the receiving unit is configured to receive a first data identifier to be requested, which is sent by a client;
an acquisition unit configured to perform acquisition of data content corresponding to the first data identification;
a determining unit configured to perform obtaining a plurality of types of sub data contents constituting the data content, wherein the plurality of types of sub data contents correspond to different priorities;
and the processing unit is configured to execute the sending of the multiple types of sub-data contents to the client in sequence according to the order of the priorities corresponding to the multiple types of sub-data contents.
In some embodiments, the apparatus further comprises a first execution unit configured to perform:
determining a network quality between the client and the server;
and if the network quality does not meet the set quality requirement, executing the step of determining to obtain the plurality of types of sub-data contents constituting the data content.
In some embodiments, the apparatus further comprises:
a sending unit configured to directly send the data content to the client if the network quality meets the quality requirement.
In some embodiments, the apparatus further comprises:
a first order determining unit configured to determine an order of priorities corresponding to the multiple types of sub-data contents according to the data type indicated by the first data identifier and a preset corresponding relationship between different data types and different types of sub-data contents; alternatively, the first and second electrodes may be,
and the second order determining unit is configured to determine the order of the priority corresponding to the multi-class sub-data content according to the data type indicated by the first data identification and the predetermined access habit information of the user corresponding to the client on the data type.
In some embodiments, the apparatus further comprises a second execution unit configured to perform:
receiving a second data identifier to be requested sent by the client;
and if the multi-class subdata content is not completely sent to the client, stopping sending the multi-class subdata content to the client.
In some embodiments, the apparatus further comprises a third performing unit configured to perform:
acquiring data content corresponding to the second data identifier;
acquiring multi-class sub-data content forming the data content corresponding to the second data identifier;
and sequentially sending the multi-class subdata content to the client according to the priority order corresponding to the multi-class subdata content.
In some embodiments, the multiple types of sub-data content include page static data, and at least one of:
page rendering data, page interaction data, redundant data.
According to a third aspect of embodiments of the present disclosure, there is provided a server including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the data processing method described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium in which instructions, when executed by a processor of a server, enable the server to perform the above-described data processing method.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the above-described data processing method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the data content corresponding to the first data identification is obtained by receiving the first data identification to be requested sent by the client, the data to be browsed in the application program of a user can be obtained, the data content is split by obtaining the multi-class subdata content forming the data content, the multi-class subdata content is sent to the client in sequence according to the sequence of the priority corresponding to the multi-class subdata content, the split data content can be sent to the client in sequence according to a certain sequence, and the client can receive part of the multi-class subdata content even if the client is in a weak network state at present. The data content is split, and then the split multi-class sub-data content is sequentially sent to the client according to the priority order corresponding to the multi-class sub-data content, so that the data volume obtained and transmitted each time is reduced, the transmission speed is relatively high, the application program can be ensured to display the corresponding content on the client in time, and the long-time waiting of the user is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a flow diagram illustrating a method of data processing in accordance with an exemplary embodiment;
FIG. 2 is a diagram illustrating an example interface of a client application in accordance with an illustrative embodiment;
FIG. 3A is a diagram illustrating a particular example of a method of data processing in accordance with an illustrative embodiment;
FIG. 3B is a diagram illustrating yet another specific example of a method of data processing in accordance with an illustrative embodiment;
FIG. 4 is a block diagram illustrating a data processing apparatus in accordance with an exemplary embodiment;
FIG. 5 is a block diagram illustrating a server in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Hereinafter, terms related to the embodiments of the present disclosure are explained:
weak network: according to the characteristics of mobility, the weak networks belonging to the general application rate lower than 2G are, and 3G can be divided into weak networks.
In a weak network environment, the data acquisition and transmission speed is slow, which results in poor display effect of the application program on the client and poor user experience. In view of this, the present disclosure provides a data processing method, which obtains data content corresponding to a first data identifier by receiving the first data identifier to be requested sent by a client, and can obtain data to be browsed by a user in an application program, and achieves splitting of the data content by obtaining multiple types of sub-data content constituting the data content, and then sequentially sends the multiple types of sub-data content to the client according to a sequence of priorities corresponding to the multiple types of sub-data content, that is, the split data content can be sequentially sent to the client according to a certain sequence, and the client can receive part of the multiple types of sub-data content even if the client is currently in a weak network state. It should be understood that, in the related art, the data content is an integral, in the weak network environment, the integral data acquisition and transmission speed is slow, the display effect of the application program on the client is poor, and the situation that no display content exists on the client is easy to occur.
Fig. 1 is a flowchart illustrating a data processing method according to an exemplary embodiment, where the data processing method is used in a server as illustrated in fig. 1, and specifically includes the following steps.
In step S11, a first data identifier to be requested sent by the client is received.
In the embodiment of the present disclosure, the client may be implemented by software and/or hardware, and the client may be formed by two or more physical entities or may be formed by one physical entity. The client can be a computer, a mobile phone, a tablet, a projector, an interactive intelligent tablet, an AR device, an intelligent wearable device and the like.
The first data identification is the data identification of the data in the application program on the client requested by the user. The type of the application program may be a video application program, a reading application program, etc., and is not limited herein. For convenience of understanding, the present embodiment is described below by taking fig. 2 as an example, where fig. 2 is an example of an interface of a certain video application on a client, and in the interface, the first data is identified as "friend", "focus", "find", "city," and the like.
In step S12, the data content corresponding to the first data identification is acquired.
In the embodiment of the present disclosure, when a first data identifier to be requested sent by a client is received, data content corresponding to the first data identifier may be obtained according to a preset corresponding relationship between the first data identifier and the data content. For the convenience of understanding, continuing to use fig. 2 as an example, in fig. 2, the first data identifier "finds" that the corresponding data content is the related data content of the four short videos in the video-class application program interface.
In practical applications, the network quality between the client and the server needs to be considered, and therefore, before performing step S13, the data processing method further includes:
determining network quality between a client and a server;
if the network quality does not meet the set quality requirement, executing a step of determining a plurality of types of sub-data contents constituting the data content, namely executing a step of S13;
and if the network quality meets the quality requirement, directly sending the data content to the client.
It should be appreciated that if the network quality meets the quality requirements, the entire data content may be sent directly to the client. And if the network quality does not meet the set quality requirement, determining the multi-class sub-data content, and splitting the data content to ensure the display effect of the application program on the client and improve the user experience.
The network quality can be measured by the factors such as bandwidth, delay, bandwidth-delay product, etc. The network quality not meeting the set quality requirement can be understood as: the current network state is in the weak network state.
In step S13, multiple types of sub-data contents constituting the data content are acquired, wherein the multiple types of sub-data contents correspond to different priorities.
In the embodiment of the present disclosure, in order to ensure the display effect of the subsequent application program on the client under the weak network condition, after the data content is obtained, a developer may split the data content into multiple types of sub-data content according to a preset specification protocol.
The multi-type sub data content comprises page static data and at least one of the following types: page rendering data, page interaction data and redundant data. Specifically, assuming that a certain video-type application in fig. 2 is a short video application, the following explains and exemplifies the above four data:
page static data (which may also be referred to as core data): for example, in a video application, the video title, the video time, the video content, the video publisher, and the like in the video cover page are core data, and specifically, see the cover data of the four short videos in fig. 2, through which the user can intuitively know the basic content of the short video. In the shopping application, the commodity name, the commodity image, the commodity price, and the like in the cover page are all core data and the like.
Page rendering data: richer data of page contents can be presented to the user. For example, in a video-type application, it may be work data published for some other user that the user frequently watches, work data published by friends of the user, data recommended to the user according to user preferences, and the like; in the shopping application program, the data of commodities which are frequently browsed by a user, commodities recommended to the user according to the user preference and the like can be displayed for the user through the page rendering data, and the use experience of the user is improved.
For page interaction data: data in the application that interacts with the user. Taking the shopping application as an example, each commodity cover corresponds to a commodity shopping address, and the page interaction data here can be the commodity shopping address. Alternatively, taking fig. 2 as an example, fig. 2 has four short video covers, each of which corresponds to a video address, and the page interaction data here can be the video address data, so for fig. 2, the page interaction data includes four video address data.
For redundant data: the data that need not be presented to the user, in particular, it may be error reporting data of the user, problem data in the application, and the like.
It should be understood that when the page rendering data or the page interaction data is increased, the application program equivalently acquires more data, enriches the display content of the application program in the page, and can increase the color saturation of the page if color display is added.
Because the page static data, the page rendering data, the page interaction data and the redundant data are sent to the client one by one, the sending sequence of the data needs to be determined. In order to improve user experience, in the embodiment of the present disclosure, the sending order may be determined according to priorities corresponding to multiple types of sub-data content, and the method for determining the priority order corresponding to the multiple types of sub-data content specifically includes:
determining the order of the priority corresponding to the multi-class subdata content according to the data type indicated by the first data identification and the corresponding relation between the preset different data types and the different classes of subdata content; alternatively, the first and second electrodes may be,
and determining the order of the priority corresponding to the multi-class sub-data content according to the data type indicated by the first data identification and the predetermined access habit information of the user corresponding to the client to the data type.
In practical applications, for the data type indicated by the first data identifier and the preset corresponding relationship between different data types and different types of sub-data contents, the order of priority corresponding to multiple types of sub-data contents is determined, taking fig. 2 as an example, when the first data identifier is "found", the data type corresponding to "found" may be a gourmet class, an automobile class, a movie class, and the like, and the gourmet class, the automobile class, the movie class data respectively have corresponding relationships with the respective corresponding sub-data contents, for example, the sub-data contents corresponding to the gourmet class may include: the page static data, the page rendering data, the page interaction data, and the sub-data content corresponding to the automobile class may include the page static data, the page rendering data, the page interaction data, the redundant data, and the like, which are not specifically limited herein, and thus, the order of the priority corresponding to the plurality of classes of sub-data content may be determined. For the order of the priority corresponding to the multiple types of sub-data contents, for example, for the food class, the priority order corresponding to the data may be: page static data, page rendering data and page interaction data; for the automobile class, the priority order corresponding to the data may be: the above sequence is only an example, and is not specifically limited herein, the priority sequence corresponding to specific multi-class sub-data content may be determined according to an actual application situation, a specific example of data interaction between the client and the server may be as shown in fig. 3A, after receiving a first data identifier sent by the client, the server may determine, according to a policy module in the server, the multi-class sub-data content constituting the data content corresponding to the first data identifier; or sending the page static data to the client according to the first data identifier, and then determining other subdata content forming the data content corresponding to the first data identifier according to a policy module in the server.
For example, when the first data identifier is "found", the data type corresponding to "found" may be a food category, an automobile category, a movie category, or the like, and the user habit currently using the client to access the video of the food category, the priority order corresponding to the data may be determined as: page static data, page interaction data, page rendering data and redundant data. In addition, the priority order corresponding to the data may be determined based on habits of all users, for example, if more than 50% of users are used to access videos of an automobile class, the priority order corresponding to the data may be determined as: page static data, page interaction data, page rendering data and redundant data; or the habits of all types of people can be counted, the people to which the current user belongs can be determined, the access habits of the current user can be further known, and the priority sequence corresponding to the data can be determined. Certainly, in order to ensure the user experience in the weak network condition, the priority of the static data of the page may be set to be the highest, and the priority order corresponding to other data may be determined by the above method.
In step S14, the multiple types of sub-data contents are sequentially sent to the client according to the order of the priorities corresponding to the multiple types of sub-data contents.
It should be understood that, since multiple types of sub-data contents need to be sent to the client one by one, in practical applications, after determining the order of the priority corresponding to the multiple types of sub-data contents, the multiple types of sub-data contents may be sent to the client in sequence according to the order of the priority.
In practical applications, in the process of sequentially sending multiple types of sub-data content to the client, it is also possible to receive a second data identifier to be requested, which is sent by the client, and at this time, the multiple types of sub-data content are not yet completely sent to the client, and based on this, the data processing method provided by the embodiment of the present disclosure further includes:
receiving a second data identifier to be requested, which is sent by a client;
and if the multi-type subdata content is not completely sent to the client, stopping sending the multi-type subdata content to the client.
For convenience of understanding, the description is given by taking fig. 2 as an example, when the first data identifier is "found" and the currently received second data identifier to be requested sent by the client is "concerned", if the multi-class sub-data content corresponding to the "found" is not completely sent to the client, the sending of the multi-class sub-data content to the client is stopped, and the switching is directly to "concerned", so that transmission of unnecessary data volume is reduced (since the user has performed the switching operation, it is proved that the user does not care about the related data on the interface before the switching), the display effect of the client is ensured, and the user experience is improved.
In addition, it should be noted that, when the user performs a page downslide operation on the current page, the client may also send the second data identifier to be requested to the server, and if the multiple types of sub-data content are not completely sent to the client, the sending of the multiple types of sub-data content to the client may also be stopped.
It should be understood that, after receiving the second data identifier to be requested sent by the client, the data processing method provided by the embodiment of the present disclosure further includes:
acquiring data content corresponding to the second data identifier;
acquiring multi-class subdata content forming data content corresponding to the second data identifier;
and sequentially sending the multi-class subdata content to the client according to the priority order corresponding to the multi-class subdata content.
For a specific process of sending the data content corresponding to the second data identifier to the client, reference may be made to the processing process of the first data identifier, which is not described herein again, and after receiving the second data identifier to be requested sent by the client, data interaction between the client and the server may be referred to in fig. 3B, and in fig. 3B, after receiving the first data identifier to be requested sent by the client, a sending order of the multiple types of sub-data content may be: page static data, page rendering data, page interaction data and redundant data. However, after the page rendering data is sent, the second data identifier to be requested sent by the client is received, and then, the sending of subsequent page interaction data and redundant data is stopped.
It should be noted that, a long-connection network exists between the client and the server, and on this bidirectional network, the server will push data until the client informs that the current scene has been switched (i.e., receives the second data identifier to be requested sent by the client).
To sum up, in the embodiment of the present disclosure, the data content corresponding to the first data identifier is obtained by receiving the first data identifier to be requested, which is sent by the client, so that the data to be browsed by the user in the application program can be obtained, the data content is split by obtaining multiple types of sub-data content constituting the data content, and then the multiple types of sub-data content are sequentially sent to the client according to the order of priorities corresponding to the multiple types of sub-data content, so that the split data content can be sequentially sent to the client according to a certain order, and even if the client is currently in a weak network state, the client can also receive part of the multiple types of sub-data content. It should be understood that, in the related art, the data content is an integral, in the weak network environment, the integral data acquisition and transmission speed is slow, the display effect of the application program on the client is poor, and the situation that no display content exists on the client easily occurs, but the embodiment of the present disclosure splits the data content, and then sequentially sends the split multiple types of sub-data content to the client according to the priority order corresponding to the multiple types of sub-data content, so that the data amount acquired and transmitted each time is reduced, the transmission speed is relatively fast, it is ensured that the application program can timely display the corresponding content on the client, the long-time waiting of the user is avoided, the timeliness of the data can be satisfied, and the user experience is improved.
FIG. 4 is a block diagram illustrating a data processing apparatus according to an example embodiment. Referring to fig. 4, the apparatus includes a receiving unit 401, an acquiring unit 402, a determining unit 403, and a processing unit 404.
The receiving unit 401 is configured to perform receiving a first data identifier to be requested, which is sent by a client;
the acquisition unit 402 is configured to perform acquisition of data content corresponding to the first data identification;
the determination unit 403 is configured to perform obtaining multiple types of sub-data contents constituting the data content, where the multiple types of sub-data contents correspond to different priorities;
the processing unit 404 is configured to sequentially transmit the multiple types of sub-data contents to the client according to the order of the priorities corresponding to the multiple types of sub-data contents.
In an exemplary embodiment of the present disclosure, the apparatus further includes a first performing unit configured to perform:
determining network quality between a client and a server;
if the network quality does not meet the set quality requirement, a step of determining a plurality of types of sub-data contents constituting the acquired data content is performed.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
and the sending unit is configured to directly send the data content to the client if the network quality meets the quality requirement.
In an exemplary embodiment of the present disclosure, the apparatus further includes:
the first order determining unit is configured to execute the corresponding priority order determination of the multi-class sub-data contents according to the data type indicated by the first data identification and the preset corresponding relation between the different data types and the different classes of sub-data contents; alternatively, the first and second liquid crystal display panels may be,
and the second sequence determining unit is configured to determine the sequence of the priority corresponding to the multiple types of sub-data contents according to the data type indicated by the first data identification and the predetermined access habit information of the user corresponding to the client on the data type.
In an exemplary embodiment of the present disclosure, the apparatus further includes a second execution unit configured to execute:
receiving a second data identifier to be requested, which is sent by a client;
and if the multi-class sub-data content is not completely sent to the client, stopping sending the multi-class sub-data content to the client.
In an exemplary embodiment of the present disclosure, the apparatus further includes a third performing unit configured to perform:
acquiring data content corresponding to the second data identifier;
acquiring multi-class subdata content forming data content corresponding to the second data identifier;
and sequentially sending the multi-class subdata content to the client according to the priority order corresponding to the multi-class subdata content.
In an exemplary embodiment of the present disclosure, the multiple types of sub data content include page static data, and at least one of the following types:
page rendering data, page interaction data and redundant data.
FIG. 5 is a block diagram illustrating a server in accordance with an example embodiment. The server 500 may be a server used by a user. The server 500 may be: smart phones, smart watches, desktop computers, laptops and laptop servers, desktop servers, and the like.
In general, the server 500 includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more storage media, which may be non-transitory. Memory 502 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices.
In some embodiments, the server 500 may further optionally include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or both of processor 501, memory 502, and peripheral interface 503 may be implemented on separate chips or circuit boards, which are not limited in this implementation.
The Radio Frequency circuit 504 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the rf circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 505 is used to display a UI (User Interface). The UI may include images, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, providing the front panel of the server 500; in other embodiments, the display screens 505 may be at least two, respectively disposed on different surfaces of the server 500 or in a folded design; in still other embodiments, the display screen 505 may be a flexible display screen, disposed on a curved surface or on a folded surface of the server 500. Even further, the display screen 505 may be arranged as a non-rectangular irregular image, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of a terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. The microphones may be plural and disposed at different portions of the server 500 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used to locate the current geographic Location of the server 500 to implement navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
Power supply 509 is used to power the various components in server 500. The power supply 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery can also be used to support fast charge technology.
In some embodiments, the server 500 also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of the coordinate system established with the server 500. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 may detect a body direction and a rotation angle of the server 500, and the gyro sensor 512 may cooperate with the acceleration sensor 511 to acquire a 3D motion of the user with respect to the server 500. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 513 may be disposed on the side frame of the server 500 and/or underneath the display screen 505. When the pressure sensor 513 is disposed on the side frame of the server 500, the holding signal of the user to the server 500 can be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by processor 501 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 514 may be disposed on the front, back, or side of the server 500. When a physical button or vendor Logo is provided on the server 500, the fingerprint sensor 514 may be integrated with the physical button or vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is higher, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
Proximity sensors 516, also known as distance sensors, are typically disposed on the front panel of the server 500. The proximity sensor 516 is used to collect the distance between the user and the front of the server 500. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the server 500 is gradually decreased, the display screen 505 is controlled by the processor 501 to be switched from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the server 500 becomes gradually larger, the processor 501 controls the display screen 505 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the architecture shown in FIG. 5 does not constitute a limitation on server 500, and may include more or fewer components than those shown, or may combine certain components, or may employ a different arrangement of components.
In an exemplary embodiment, the present disclosure also provides a computer-readable storage medium comprising instructions, such as a memory, comprising instructions, which are executable by the processor 501 of the server 500 to perform the above-described data processing method. Alternatively, the storage medium may be a non-transitory storage medium, such as a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A data processing method is applied to a server and is characterized by comprising the following steps:
receiving a first data identifier to be requested sent by a client;
acquiring data content corresponding to the first data identifier;
obtaining a plurality of types of sub data contents which form the data contents, wherein the plurality of types of sub data contents correspond to different priorities;
and sequentially sending the multi-class subdata content to the client according to the sequence of the priority corresponding to the multi-class subdata content.
2. The data processing method according to claim 1, wherein before said obtaining of a plurality of types of sub-data contents constituting said data content, said method further comprises:
determining a network quality between the client and the server;
and if the network quality does not meet the set quality requirement, executing the step of obtaining multiple types of sub-data contents constituting the data content.
3. The data processing method of claim 2, wherein after determining the network quality between the client and the server, the method further comprises:
and if the network quality meets the quality requirement, directly sending the data content to the client.
4. The data processing method according to claim 1, wherein before the multiple types of sub-data contents are sequentially sent to the client according to the order of the priorities corresponding to the multiple types of sub-data contents, the method further comprises:
determining the order of the priority corresponding to the multiple types of sub-data contents according to the data type indicated by the first data identification and the corresponding relationship between the preset different data types and the different types of sub-data contents; alternatively, the first and second electrodes may be,
and determining the order of the priority corresponding to the multi-class sub-data content according to the data type indicated by the first data identification and the predetermined access habit information of the user corresponding to the client to the data type.
5. The data processing method of claim 1, wherein the method further comprises:
receiving a second data identifier to be requested sent by the client;
and if the multi-class subdata content is not completely sent to the client, stopping sending the multi-class subdata content to the client.
6. The data processing method according to claim 5, wherein after receiving the second data identifier to be requested sent by the client, the method further comprises:
acquiring data content corresponding to the second data identifier;
acquiring multi-class sub-data content forming the data content corresponding to the second data identifier;
and sequentially sending the multi-class subdata content to the client according to the priority order corresponding to the multi-class subdata content.
7. A data processing device applied to a server is characterized by comprising:
the receiving unit is configured to receive a first data identifier to be requested, which is sent by a client;
an acquisition unit configured to perform acquisition of data content corresponding to the first data identification;
a determining unit configured to perform obtaining a plurality of types of sub data contents constituting the data content, wherein the plurality of types of sub data contents correspond to different priorities;
and the processing unit is configured to execute the sending of the multiple types of sub-data contents to the client in sequence according to the order of the priorities corresponding to the multiple types of sub-data contents.
8. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the data processing method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of a server, enable the server to perform the data processing method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program/instructions, when executed by a processor, implement the data processing method of any of claims 1-6.
CN202210483511.8A 2022-05-05 2022-05-05 Data processing method, device, server and storage medium Pending CN115048572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210483511.8A CN115048572A (en) 2022-05-05 2022-05-05 Data processing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210483511.8A CN115048572A (en) 2022-05-05 2022-05-05 Data processing method, device, server and storage medium

Publications (1)

Publication Number Publication Date
CN115048572A true CN115048572A (en) 2022-09-13

Family

ID=83157674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210483511.8A Pending CN115048572A (en) 2022-05-05 2022-05-05 Data processing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN115048572A (en)

Similar Documents

Publication Publication Date Title
CN109246466B (en) Video playing method and device and electronic equipment
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN111079012A (en) Live broadcast room recommendation method and device, storage medium and terminal
CN109246123B (en) Media stream acquisition method and device
CN110278464B (en) Method and device for displaying list
CN108737897B (en) Video playing method, device, equipment and storage medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN107896337B (en) Information popularization method and device and storage medium
CN111741366A (en) Audio playing method, device, terminal and storage medium
CN111031170A (en) Method, apparatus, electronic device and medium for selecting communication mode
CN112667835A (en) Work processing method and device, electronic equipment and storage medium
CN111159604A (en) Picture resource loading method and device
CN109089137B (en) Stuck detection method and device
CN111008083B (en) Page communication method and device, electronic equipment and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN112770177A (en) Multimedia file generation method, multimedia file release method and device
CN109688064B (en) Data transmission method and device, electronic equipment and storage medium
CN110971692B (en) Method and device for opening service and computer storage medium
CN114143280A (en) Session display method and device, electronic equipment and storage medium
CN109189525B (en) Method, device and equipment for loading sub-page and computer readable storage medium
CN113190302A (en) Information display method and device, electronic equipment and storage medium
CN107948171B (en) User account management method and device
CN111010732A (en) Network registration method, device, electronic equipment and medium
CN115048572A (en) Data processing method, device, server and storage medium
CN111522483A (en) Multimedia data sharing method and device, electronic equipment and storage medium

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