Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Service providing method and device

A server and service request technology, applied in the network field, can solve problems such as delayed submission of requests, late interface time, and failed purchases

Active Publication Date: 2021-11-02
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to network delay, the user who submits the request first may arrive at the server later due to network delay, resulting in the failure of the snap-up; or due to network delay, the time it takes for the server to open the service request interface Later than other users, resulting in a delay in submitting the request, resulting in the failure of snapping up

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service providing method and device
  • Service providing method and device
  • Service providing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] This embodiment provides a method for providing a service, which is applied to a server, such as figure 1 As shown, the method includes:

[0050] Step S102: Obtain the first time when each client opens a service request interface according to the transmission delay between itself and each client meeting the predetermined condition; wherein, the predetermined condition is used to indicate that each client is expected to receive Instruction information sent by the server for instructing to activate the service request interface.

[0051] Specifically, before the server sends the indication information to the client to indicate the opening of the service request interface, the server performs one-way (server-to-client) transmission delay measurement on the client that is expected to receive the indication message, so as to obtain the Estimate the one-way transmission delay between each client that will receive the indication information, and obtain the maximum value of al...

Embodiment 2

[0075] like figure 2 As shown, this embodiment provides a method for providing a service, which is applied to a client, and the method includes:

[0076] Step S202: receiving the instruction information sent by the server and carrying the first time for instructing to open the service request interface;

[0077] Step S204: open the service request interface at the first time;

[0078] Step S206: When detecting the user's submission operation based on the service request interface, submit a service request to the server, and the service request carries the request submission time when submitting the service request, so that the server can obtain according to the received request submission time and the number of service requests The client to be served, and provide services to the client to be served according to the service request.

[0079] Preferably, the request submission time is the network time or the local time of the client itself, and the local time is synchronized...

Embodiment 3

[0088] refer to image 3 , this embodiment provides a service providing device, including a memory 21 and a processor 22, a computer program is stored in the memory 21, and the processor 22 is configured to run the computer program to perform the service in Embodiment 1 or Embodiment 2 Provide methods.

[0089] Wherein, the memory 21 is connected with the processor 22, and the memory 21 may adopt a flash memory or a read-only memory or other memory, and the processor 22 may adopt a central processing unit or a single-chip microcomputer.

[0090] In the service providing method and device provided in Embodiment 2 to Embodiment 3, the server obtains the first time for each client to open the service request interface according to the transmission delay between itself and each client meeting the predetermined condition; wherein, The predetermined condition is used to indicate that each of the clients is expected to receive the indication information sent by the server to indicat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a service providing method and device. The method comprises the following steps: acquiring first time when each client opens a service request interface according to transmission time delay between the client and each client meeting a predetermined condition; sending indication information carrying the first time to each client; receiving service requests submitted by a plurality of clients based on the service request interface; and obtaining the to-be-served client according to the request submission time and the number of the service requests, and providing services for the to-be-served client according to the service requests. The method and the device can solve the problems that in the related technology, due to network delay, a user who submits a request firstly possibly has the submitted request to reach a server later due to the network delay, so that panic buying fails; or due to network delay, the time for receiving the service opening request interface of the server is later than that of other users, so that the time for submitting the request is delayed, and the panic buying fails.

Description

technical field [0001] The present invention relates to the field of network technology, in particular to a service providing method and device. Background technique [0002] At present, there are many value-added services based on the Internet, such as rush buying, rush answering, and grabbing red envelopes. These services generally only provide the final service results to a limited number of users. For example, for the rush-buying business, the rush-buying requests are sorted according to the order in which the orders were submitted, and only a certain number of users in the top order can successfully rush-buy. However, due to network delay, the user who submits the request first may arrive at the server later due to network delay, resulting in the failure of the snap-up; or due to network delay, the time it takes for the server to open the service request interface Later than other users, the time to submit the request will be postponed, which will lead to the failure o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08G06Q30/06
CPCH04L69/28H04L67/12G06Q30/0635H04L67/51
Inventor 张伦泳
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products