CN109361767A - Optimize server-side, client process method and the server of client data display error, be able to carry out the client that data are shown - Google Patents

Optimize server-side, client process method and the server of client data display error, be able to carry out the client that data are shown Download PDF

Info

Publication number
CN109361767A
CN109361767A CN201811488516.XA CN201811488516A CN109361767A CN 109361767 A CN109361767 A CN 109361767A CN 201811488516 A CN201811488516 A CN 201811488516A CN 109361767 A CN109361767 A CN 109361767A
Authority
CN
China
Prior art keywords
data
server
response
client
real
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.)
Granted
Application number
CN201811488516.XA
Other languages
Chinese (zh)
Other versions
CN109361767B (en
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.)
AI Speech Ltd
Original Assignee
AI Speech 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 AI Speech Ltd filed Critical AI Speech Ltd
Priority to CN201811488516.XA priority Critical patent/CN109361767B/en
Publication of CN109361767A publication Critical patent/CN109361767A/en
Application granted granted Critical
Publication of CN109361767B publication Critical patent/CN109361767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of server-side processing methods for optimizing client data display error, comprising: when receiving request of data, generates the first data information according to the first data requesting instructions and is cached;When carrying out data response, the first data information and the second data information are obtained respectively, are generated real-time response information and are responded.The invention also discloses the server-side processing servers and client of optimization client data display error, the data that server-side can be made to calculate and count with device according to the method for the present invention keep complete, and it may be implemented that result data Real-time Feedback to client is realized to real-time display truly by server-side.

Description

Server terminal for optimizing data display error of client terminal, client terminal processing method, server and client terminal capable of displaying data
Technical Field
The invention relates to the technical field of data processing, in particular to a server, a client processing method, a server and a client capable of displaying data, wherein the server optimizes data display errors of the client.
Background
At present, with the development of the technology level, the application of the server is more and more extensive. In the prior art, due to the fact that most background services are poor in uploading time, or in order to reduce the concurrent access pressure and the like, the real-time performance of the client side for acquiring data is usually about 0-3 minutes or even higher, and the situation that the acquired real-time data is incomplete may occur.
Disclosure of Invention
In order to solve the problems, the inventor conceives that the client stores the time difference data through a cache mechanism (the amount of all the cached data is too large), when the time difference data is displayed, the time difference data is brought to the server through a server interface which requests the data in a parameter mode, the data calculated and counted by the server is kept complete, and then the server feeds back the result data to the client to finish real-time display.
According to a first aspect of the present invention, there is provided a server processing method for optimizing client data display errors, comprising the steps of:
when a data request is received, first data information is generated according to a first data request instruction and cached;
and when data response is carried out, the first data information and the second data information are respectively acquired, and real-time response information is generated for response.
According to a second aspect of the present invention, there is provided a server for optimizing client data display error, comprising:
the request receiving module is used for receiving a data request instruction;
the data processing module is used for processing data according to the data request instruction and generating real-time response information for output; wherein,
the request receiving module comprises a first request receiving unit used for receiving a first data request instruction;
the data processing module comprises
The first data information caching unit is used for generating first data information for caching when the first data request instruction is judged to contain the time difference data parameter;
and the data response unit is used for respectively acquiring the first data information and the second data information according to the received data request instruction, and generating real-time response information for responding.
According to a third aspect of the present invention, there is provided a client capable of real-time data display, further comprising:
the cache module is used for acquiring time difference data needing caching and storing the time difference data;
the data reporting module is used for acquiring time difference data and packaging the time difference data to generate a first data request instruction and outputting the first data request instruction to the server when a data request is made to the server;
the data request module is used for receiving the response of the server to the first data request instruction, generating a second data instruction and outputting the second data instruction to the server;
and the real-time display module is used for receiving the response of the server to the second data request instruction, and acquiring real-time response data for loading and displaying.
According to a fourth aspect of the present invention, there is provided an electronic apparatus comprising: the client processing system comprises at least one processor and a memory communicatively connected with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the steps of the client processing method.
According to a fifth aspect of the present invention, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-described client processing method.
According to the method, the server and the client provided by the invention, the time difference data is temporarily stored at the client, and the time difference data is transmitted to the server for caching in a parameter mode, so that the data calculated and counted by the server is kept complete, and the result data can be fed back to the client through the server to complete real-time display.
Drawings
FIG. 1 is a flowchart of a server-side processing method for optimizing client-side data display errors according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a server-side processing method for optimizing client-side data display errors according to another embodiment of the present invention;
FIG. 3 is a flowchart of a client-side processing method for optimizing client-side data display errors according to an embodiment of the present invention;
FIG. 4 is a block diagram of a server for optimizing client data display errors in accordance with another embodiment of the present invention;
FIG. 5 is a schematic block diagram of a client capable of real-time data display according to an embodiment of the present invention;
FIG. 6 is a block diagram of an electronic device in accordance with an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
As used in this disclosure, "module," "server," "system," and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, or software in execution. In particular, for example, an element may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, may be an element. One or more elements may be in a process and/or thread of execution and an element may be localized on one computer and/or distributed between two or more computers and may be operated by various computer-readable media. The elements may also communicate by way of local and/or remote processes based on a signal having one or more data packets, e.g., from a data packet interacting with another element in a local system, distributed system, and/or across a network in the internet with other systems by way of the signal.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a flowchart schematically illustrating a server-side processing method for optimizing client data display error according to an embodiment of the present invention, where as shown in fig. 1, this embodiment includes the following steps:
step S101: and when a data request is received, generating first data information according to the first data request instruction for caching. The first data request instruction is implemented as a request instruction for reporting data to a server, and the implementation manner of the first data request instruction is the same as that of reporting data to the server or requesting data from an existing client, except that in the embodiment of the present invention, the time difference data is reported while requesting data, and specifically, the time difference data parameter may be added in a data packet of the requested data, so that, when receiving a first data request, it is first determined whether the first data request instruction includes the time difference data parameter, that is, whether the request instruction includes the parameter field, and if the time difference data parameter is included, the time difference data corresponding to the parameter is obtained to generate first data information for caching, where the first data information includes first data content and first data mapping, the first data content is the obtained time difference data, and the first data mapping is configured for the cached first data content, that is the time difference data, illustratively, the mapping may be a Key value mapping, such as mapping to Key1, mapping each first data content to its corresponding cache address. In this way, the manner of obtaining the first data content may be implemented by determining the cache address corresponding to the data according to the first data mapping, and obtaining the first data content from the corresponding cache address.
Step S102: and when data response is carried out, the first data information and the second data information are respectively acquired, and real-time response information is generated for response.
Illustratively, the data response is a response to the first data request instruction. The concrete implementation is as follows: the second data mapping is obtained according to the first data request, where the second data mapping is obtained in the same manner as in the prior art, that is, in a manner of obtaining data from the server storing the data when the data request of the client is received, and the second data mapping is obtained in response to the first data request instruction, and for example, the storage address Key value mapping of the corresponding data in the server storing the data is, for example, Key 2. After the second data mapping is obtained, a third data mapping output is generated according to the first data mapping and the second data mapping, that is, the Key1 value of the first data mapping is integrated with the Key2 value of the second data mapping, for example, by adding the Key1 value of the first data mapping to the end of the Key2 value of the second data mapping, a third data mapping with Key2 value + Key1 value is formed, and the third data mapping is returned to the client sending the first data request as real-time response information. Therefore, when the client displays, the response data information, namely the link address with the real-time cache data, can be obtained according to the third data mapping, and the link address can be used for loading and displaying the data.
According to the embodiment, the time difference data can be cached, an accessible link is formed for the client to obtain, and the data pointed by the link address simultaneously comprises the real-time data and the time difference data of the server, so that the data calculated and counted by the server is kept complete, the client can request the real-time data to be displayed when displaying, and the display error is avoided.
Fig. 2 is a flow chart schematically illustrating a server-side processing method for optimizing client-side data display errors according to another embodiment of the present invention, and as shown in fig. 2, this embodiment includes the following steps:
step S201: a second data request instruction is received. The data request instruction refers to a request instruction for data loading sent by a client, that is, a request for data loading display is made through a third data map returned after processing in fig. 1, and the same processing manner as an existing data loading request is used, and the load data is obtained from a server through an H5 (mobile web page) link address exemplarily, except that the third data mapping parameter in the embodiment of the present invention is different from an existing address only including server original data, and the third data map in the embodiment of the present invention includes complete real-time data, that is, also includes a load request for skew data.
Step S202: and when data response is carried out, the first data information and the second data information are respectively obtained, real-time response information is generated for responding, and the data response is a response to the second data request instruction.
And after data response is carried out, judging whether the second data request instruction contains a third data mapping parameter, if so, analyzing the third data mapping parameter, and because the third data mapping encapsulates the first data mapping and the second data mapping, generating the first data mapping and the second data mapping after analysis.
And acquiring first data content, namely difference data, according to the mapping relation of the first data mapping, and acquiring second data content, namely common original data content stored by the data storage server, according to the second data mapping.
Generating complete data after the face-lifting according to the time difference data of the first data content and the common data content of the second data content, and responding to the data output in real time, wherein the complete data is realized by splicing the first data content directly at the end of the second data content.
According to the embodiment, decompression can be performed on the server side, the client side can acquire complete data, and the server side can feed back result data to the client side in real time.
For example, for navigation application in the vehicle-mounted field, because incomplete time difference data exists in the navigation process and causes an error in a navigation path displayed in real time, the timeliness of the real-time display data has a strict requirement, and in such a scenario, the method can be applied to cache, report and load the time difference data. Examples of this application scenario may be: in the driving process, the navigation application client uploads real-time navigation data to the server, the server receives the real-time navigation data sent by GPS navigation and stores the navigation data according to a mapping relation, wherein the storage is correspondingly stored according to a server framework and can be realized by referring to the prior art; and when the navigation is finished, the navigation application client sends a data request to the server to display the navigation track in real time, and at the moment, the navigation application client encapsulates the time difference data stored at the navigation application client according to the method of fig. 1 through a first data request instruction and sends the first data request instruction to the server. After receiving the first data request instruction, the server caches and maps the time difference data according to the method to generate first data information and obtain a second data map, and responds to the client based on the first data information and the second data map, namely the responded data is a third data map, and the map simultaneously comprises the first data map and the second data map, so that the real-time performance is better, and the data error of the server is overcome. After receiving the response of the third data mapping, the client loads data through the H5 link to display the real-time data in real time at the client, at this time, the client sends a data loading request, i.e., a second data request instruction, through the H5 link, and the server receives the request, analyzes the real-time navigation data according to the mapping, integrates the time difference data, i.e., the first data content, and the common data, i.e., the second data content, stored on the server into complete data, and feeds the complete data back to the client in real time for real-time display use, so that the displayed navigation track is complete real-time data, and the disadvantage of lack of data caused by server errors does not exist.
In a preferred embodiment, to avoid the storage burden of the service server caused by excessive time difference data stored in the service end, i.e. the service server, a buffering duration of the time difference data may be set, for example, five minutes, and after the buffering duration is reached, the time difference data is deleted.
Fig. 3 is a flowchart schematically illustrating a client processing method for optimizing client data display errors according to an embodiment of the present invention, and as shown in fig. 3, this embodiment includes the following steps:
step S301: the time difference data is buffered. The time difference data is cached at the client, wherein the time difference data is set according to a response error of the server, for example, for a certain task, if the response error is three minutes in execution, the data within the three minutes is acquired as the time difference data for caching.
Step S302: when a data request is made to the server, the time difference data is obtained and packaged to generate a first data request instruction, and the first data request instruction is output to the server. And encapsulating the time difference data according to a protocol rule for data interaction with the server, and sending a first data request instruction containing the time difference data parameter to the server.
Step S303: and receiving the response of the server to the first data request instruction, generating a second data instruction and outputting the second data instruction to the server. After the server side responds to the first data request command which is sent by the client side and contains the time difference data parameter, the response result, namely the third data mapping is output to the H5, and the H5 generates a data access link, namely the second data command, according to the data mapping and transmits the data access link to the server side.
Step S304: and receiving the response of the server to the second data request instruction, and acquiring real-time response data for loading and displaying. And after receiving the real-time response data of the server, analyzing the real-time response data of the encapsulated sometimes-bad data to obtain the final complete real-time data content for displaying.
Preferably, in some embodiments, when the client performs the loading display of the real-time response data, the client also performs deduplication checking on the real-time response data through H5, so as to ensure a better real-time display effect.
Fig. 4 schematically shows a server for optimizing client data display errors according to an embodiment of the present invention, as shown in fig. 4,
the server for optimizing the data display error of the client comprises the following steps: a request receiving module 4 and a data processing module 5. The request receiving module 4 is used for receiving a data request instruction; the data processing module 5 is used for processing data according to the data request instruction and generating real-time response information for output; wherein,
the request receiving module 4 includes a first request receiving unit 401, configured to receive a first data request instruction, that is, an instruction for reporting data. The data processing module 5 includes a first data information caching unit 501 and a data response unit 502, where the first data information caching unit 501 is configured to determine whether the first data request instruction includes the time difference data parameter, and when the first data request instruction includes the time difference data parameter, generate first data information for caching, where the first data information includes first data content and a first data map, the first data content is the acquired time difference data, and also configure the first data map for the cached first data content, i.e., the time difference data. The data response unit 502 is configured to respectively obtain first data information and second data information according to a received data request instruction, where the second data information includes a second data map and second data content, where the obtaining of the second data map is the same as that in the prior art, that is, when a data request of a client is received, a data is obtained from a server storing data, and when a response is made to the first data request instruction, the obtained data is the first data map and the second data map, and the generated real-time response data is a third data map including the first data map and the second data map.
The request receiving module 4 further comprises a second request receiving unit 402. A second request receiving unit 402, configured to receive a second data request instruction. Also, the data response unit 502 includes a first request response component 5021 and a second request response component 5022. The first request response component 5021 is configured to obtain the first data mapping and the second data mapping respectively after the first data information is cached, and generate a third data mapping output, where a generation manner of the third data mapping may refer to the description of the method part for generating the third data mapping; the second request response component 5022 is used for judging whether the second data request command contains a third data mapping parameter, when the third data request command contains the third data mapping parameter, the first data content and the second data content are respectively obtained according to the third data mapping parameter, the first data content and the second data content are integrated into complete data, and the complete data are fed back to the client in real time to be displayed and used in real time, so that a displayed result, such as a navigation track, is complete real-time data, and the defect of data lack caused by server errors does not exist.
According to the embodiment, the problem of incompleteness caused by various designs such as decompression design and the like of the server when the client acquires data can be solved. The data calculated and counted by the server side is kept complete, and the complete result data is fed back to the client side in real time for display.
Fig. 5 schematically shows a schematic block diagram of a client capable of real-time data display according to an embodiment of the present invention, as shown in fig. 5,
the client 7 capable of displaying real-time data includes a caching module 701, a data reporting module 702, a data requesting module 703 and a real-time displaying module 704. The buffer module 701 is configured to obtain the time difference data to be buffered, and the obtaining manner may refer to the above method.
The data reporting module 702 is configured to, when a data request is made to the server, obtain the time difference data, package the time difference data according to a protocol rule for performing data interaction with the server, generate a first data request instruction, and output the first data request instruction to the server 8. The data request module 703 is configured to receive a response from the server 8 to the first data request command, output a response result, i.e., a third data mapping, to the H5, and generate a data access link, i.e., a second data command, according to the data mapping by the H5 to transmit the data access link to the server 8. The real-time display module 704 is configured to receive a response from the server 8 to the second data request instruction, and obtain real-time response data for loading and displaying. When the real-time display module 704 receives the real-time response data of the server 8, the real-time response data of the encapsulated sometimes bad data is analyzed to obtain the final complete real-time data content for displaying.
According to the embodiment, the client can store the time difference data through a cache mechanism (the amount of cached all data is too large), and transmits the time difference data to the server according to the server interface requesting the data, so that the data calculated and counted by the server is kept complete, and the complete result data sent by the server can be received in real time and displayed.
In some embodiments, the present invention provides a non-transitory computer-readable storage medium, in which one or more programs including executable instructions are stored, and the executable instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the above-mentioned server-side processing method or client-side processing method for optimizing client-side data display errors of the present invention.
In some embodiments, the present invention further provides a computer program product, the computer program product includes a computer program stored on a non-volatile computer-readable storage medium, the computer program includes program instructions, when executed by a computer, cause the computer to execute any one of the above-mentioned service-side processing method or client-side processing method for optimizing client-side data display error.
In some embodiments, an embodiment of the present invention further provides an electronic device, which includes: the system comprises at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a server-side processing method or a client-side processing method that optimizes client data display errors.
In some embodiments, the present invention further provides a storage medium having a computer program stored thereon, where the computer program optimizes a server-side processing method or a client-side processing method of a client data display error when the computer program is executed by a processor.
The server processing server for optimizing the client data display error according to the embodiment of the present invention may be configured to execute the server processing method for optimizing the client data display error according to the embodiment of the present invention, and accordingly achieve the technical effect achieved by the server processing method for optimizing the client data display error according to the embodiment of the present invention, which is not described herein again. In the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
Fig. 6 is a schematic hardware structure diagram of an electronic device that executes a server-side processing method or a client-side processing method for optimizing a client-side data display error according to another embodiment of the present application, where as shown in fig. 6, the electronic device includes:
one or more processors 610 and memory 520, with one processor 610 being an example in fig. 6.
The apparatus for performing the server-side processing method or the client-side processing method for optimizing the client-side data display error may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, such as the bus connection in fig. 6.
The memory 620, as a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the server-side processing method or the client-side processing method for optimizing the client-side data display error in the embodiments of the present application. The processor 610 executes various functional applications of the server and data processing or corresponding functions of the client and data processing by running nonvolatile software programs, instructions and modules stored in the memory 620, namely, a server-side processing method or a client-side processing method for optimizing client data display errors according to the above method embodiments.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of a server-side processing server that optimizes client data display errors or a client that optimizes data display errors, or the like. Further, the memory 620 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 non-volatile solid state storage device. In some embodiments, memory 620 optionally includes memory remotely located from processor 610, which may be connected over a network to a server-side processing server that optimizes client data display errors or to a client that optimizes data display errors. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input server 630 may receive input numeric or character information and generate signals related to user settings and function control of a server-side processing server that optimizes data display errors of clients or clients that optimize data display errors. The output server 640 may include a display device such as a display screen.
The one or more modules described above are stored in the memory 620 and, when executed by the one or more processors 610, perform a server-side processing method or a client-side processing method of optimizing client-side data display errors in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Vehicle-mounted equipment, the equipment can be applied to a vehicle-mounted system. The equipment comprises portable vehicle-mounted navigation equipment, a vehicle-mounted telephone and the like.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. The server processing method for optimizing the client data display error is characterized by comprising the following steps:
when a data request is received, first data information is generated according to a first data request instruction and cached;
and when data response is carried out, the first data information and the second data information are respectively acquired, and real-time response information is generated for response.
2. The method of claim 1, wherein the generating the first data information for caching according to the first data request instruction comprises:
receiving a first data request instruction;
and when the first data request instruction is judged to contain the time difference data parameter, acquiring the first data content for caching, and configuring a first data mapping for the cached first data content.
3. The method of claim 2, wherein the data response is a response to a first data request command, and the obtaining the first data information and the second data information respectively during the data response and the generating the real-time response information for responding comprise:
acquiring a second data mapping;
a third data map output is generated from the first data map and the second data map.
4. The method of claim 3, further comprising:
receiving a second data request instruction;
the data response is a response to the second data request instruction, and the acquiring the first data information and the second data information respectively during the data response, and generating the real-time response information for responding further includes:
when the second data request instruction is judged to contain a third data mapping parameter, the third data mapping parameter is analyzed to generate a first data mapping and a second data mapping;
acquiring first data content according to the first data mapping;
acquiring second data content according to the second data mapping;
a real-time response data output is generated from the first data content and the second data content.
5. The client processing method for optimizing the client data display error is characterized by comprising the following steps of:
caching the time difference data;
when a data request is carried out to a server, the time difference data is obtained and packaged to generate a first data request instruction which is output to the server;
receiving the response of the server to the first data request instruction, generating a second data instruction and outputting the second data instruction to the server;
and receiving the response of the server to the second data request instruction, and acquiring real-time response data for loading and displaying.
6. The method of claim 5, further comprising, prior to performing the loaded display of real-time data:
and acquiring real-time response data according to the response of the server to the second data request instruction, and performing deduplication verification.
7. The method according to claim 5 or 6, wherein the time difference data is set according to a response error of the server.
8. A server for optimizing client data display errors, comprising:
the request receiving module is used for receiving a data request instruction;
the data processing module is used for processing data according to the data request instruction and generating real-time response information for output; wherein,
the request receiving module comprises a first request receiving unit used for receiving a first data request instruction;
the data processing module comprises
The first data information caching unit is used for generating first data information for caching when the first data request instruction is judged to contain the time difference data parameter;
and the data response unit is used for respectively acquiring the first data information and the second data information according to the received data request instruction, and generating real-time response information for responding.
9. The server according to claim 8, wherein the first data information includes a first data map and first data content, and the second data information includes a second data map and second data content;
the request receiving module also comprises
The second request receiving unit is used for receiving a second data request instruction;
the data response unit comprises
The first request response component is used for respectively acquiring the first data mapping and the second data mapping after the first data information is cached, and generating third data mapping output;
and the second request response component is used for respectively acquiring the first data content and the second data content according to the third data mapping parameter and generating real-time response data output when the second data request instruction is judged to contain the third data mapping parameter.
10. Client capable of real-time data display, comprising:
the cache module is used for acquiring time difference data needing caching and storing the time difference data;
the data reporting module is used for acquiring the time difference data and packaging the time difference data to generate a first data request instruction and outputting the first data request instruction to the server when a data request is made to the server;
the data request module is used for receiving the response of the server to the first data request instruction, generating a second data instruction and outputting the second data instruction to the server;
and the real-time display module is used for receiving the response of the server to the second data request instruction, and acquiring real-time response data for loading and displaying.
11. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any one of claims 5-7.
12. Storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 7.
CN201811488516.XA 2018-12-06 2018-12-06 Processing method for optimizing client data display error, server and client Active CN109361767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811488516.XA CN109361767B (en) 2018-12-06 2018-12-06 Processing method for optimizing client data display error, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811488516.XA CN109361767B (en) 2018-12-06 2018-12-06 Processing method for optimizing client data display error, server and client

Publications (2)

Publication Number Publication Date
CN109361767A true CN109361767A (en) 2019-02-19
CN109361767B CN109361767B (en) 2021-11-02

Family

ID=65331502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811488516.XA Active CN109361767B (en) 2018-12-06 2018-12-06 Processing method for optimizing client data display error, server and client

Country Status (1)

Country Link
CN (1) CN109361767B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487604B1 (en) * 1999-06-30 2002-11-26 Nortel Networks Limited Route monitoring graphical user interface, system and method
CN101126808A (en) * 2007-08-02 2008-02-20 中国科学院自动化研究所 Robot navigation system and navigation method
CN101443737A (en) * 2006-09-28 2009-05-27 希因德系统株式会社 A system for monitoring/managing information leakage
CN102298636A (en) * 2011-08-29 2011-12-28 杭州海康威视数字技术股份有限公司 Global position system (GPS) data-based monitoring system and device and method for uploading GPS data
CN102707300A (en) * 2012-06-05 2012-10-03 大唐移动通信设备有限公司 Method, device and system for optimizing GPS track
CN105791401A (en) * 2016-03-01 2016-07-20 张君 Data interaction method and system of client and server in online and offline states
US20170054803A1 (en) * 2015-08-18 2017-02-23 Fujitsu Limited Information processing device, method, and system
CN106649301A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Data query method, device and system
CN106776135A (en) * 2016-12-09 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of data back up method and device
CN106908060A (en) * 2017-02-15 2017-06-30 东南大学 A kind of high accuracy indoor orientation method based on MEMS inertial sensor
CN108303075A (en) * 2017-12-29 2018-07-20 广州斯马特信息科技有限公司 Orbit generation method and system
CN108804634A (en) * 2018-06-01 2018-11-13 深圳乐信软件技术有限公司 Data scrolling method, apparatus, headend equipment, background server and medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487604B1 (en) * 1999-06-30 2002-11-26 Nortel Networks Limited Route monitoring graphical user interface, system and method
CN101443737A (en) * 2006-09-28 2009-05-27 希因德系统株式会社 A system for monitoring/managing information leakage
CN101126808A (en) * 2007-08-02 2008-02-20 中国科学院自动化研究所 Robot navigation system and navigation method
CN102298636A (en) * 2011-08-29 2011-12-28 杭州海康威视数字技术股份有限公司 Global position system (GPS) data-based monitoring system and device and method for uploading GPS data
CN102707300A (en) * 2012-06-05 2012-10-03 大唐移动通信设备有限公司 Method, device and system for optimizing GPS track
US20170054803A1 (en) * 2015-08-18 2017-02-23 Fujitsu Limited Information processing device, method, and system
CN106649301A (en) * 2015-10-28 2017-05-10 北京国双科技有限公司 Data query method, device and system
CN105791401A (en) * 2016-03-01 2016-07-20 张君 Data interaction method and system of client and server in online and offline states
CN106776135A (en) * 2016-12-09 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of data back up method and device
CN106908060A (en) * 2017-02-15 2017-06-30 东南大学 A kind of high accuracy indoor orientation method based on MEMS inertial sensor
CN108303075A (en) * 2017-12-29 2018-07-20 广州斯马特信息科技有限公司 Orbit generation method and system
CN108804634A (en) * 2018-06-01 2018-11-13 深圳乐信软件技术有限公司 Data scrolling method, apparatus, headend equipment, background server and medium

Also Published As

Publication number Publication date
CN109361767B (en) 2021-11-02

Similar Documents

Publication Publication Date Title
CN111177617A (en) Web direct operation and maintenance method and device based on operation and maintenance management system and electronic equipment
CN111177112A (en) Database blocking method and device based on operation and maintenance management system and electronic equipment
CN108881228A (en) Cloud registration activation method, device, equipment and storage medium
CN110297944B (en) Distributed XML data processing method and system
CN111694757B (en) Application program testing method and device, electronic equipment and computer readable storage medium
CN111212156B (en) Network connection method and device
WO2019205191A1 (en) Webpage loading method, webpage loading system, and server
CN112748962B (en) Application loading method, device, electronic equipment and computer readable medium
CN109743381A (en) Client and the long connection exchange method of server-side and device
US20150113033A1 (en) Emulating test distibuted application on server
CN112328413A (en) Application service calling method, device and system
CN110401731B (en) Method and apparatus for distributing content distribution nodes
CN111767558A (en) Data access monitoring method, device and system
US20130124971A1 (en) Real time web script refresh using asynchronous polling without full web page reload
CN114257532A (en) Server side state detection method and device
CN111783010B (en) Webpage blank page monitoring method, device, terminal and storage medium
CN109361767B (en) Processing method for optimizing client data display error, server and client
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN108228359B (en) Method and system for integrating web program and R program to process data
CN111338928A (en) Chrome-based browser testing method and device
CN112187916B (en) Cross-system data synchronization method and device
CN113254097A (en) Configuration information issuing method and device, electronic equipment and storage medium
CN113626402A (en) Log data acquisition method and device, electronic equipment and storage medium
CN105677708A (en) Data access method and apparatus
CN111782420A (en) Information processing method, device, equipment and medium based on Java Web framework

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
CB02 Change of applicant information

Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant after: Sipic Technology Co.,Ltd.

Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant before: AI SPEECH Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Optimize the processing method, server, and client for data display errors on the client side

Effective date of registration: 20230726

Granted publication date: 20211102

Pledgee: CITIC Bank Limited by Share Ltd. Suzhou branch

Pledgor: Sipic Technology Co.,Ltd.

Registration number: Y2023980049433

PE01 Entry into force of the registration of the contract for pledge of patent right