Disclosure of Invention
The present invention aims to provide a method, an apparatus, a device and a storage medium for initializing a live broadcast room, so as to reduce the flow requested by the live broadcast room and improve the viewing experience of the user.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a live broadcast room initialization method, which is applied to a server and includes:
monitoring whether a user enters a target live broadcast room through a terminal;
if so, acquiring first information of the user, and caching the first information to a server; wherein the first information comprises: the basic information of the user and the room information of the target live broadcast room;
searching target information data matched with the terminal from the first information;
and returning the target information data to the terminal so as to display the target information data at the terminal.
Optionally, the searching for target information data matching the terminal from the first information includes:
receiving a target interface calling request sent by the terminal;
and searching target information data matched with the terminal from the first information according to the target interface calling request.
Optionally, the method further comprises:
acquiring room user information of the target live broadcast room, and generating an identifier of the room user information;
and sending the identifier of the room user message to the terminal, so that the terminal acquires the room user message from the server according to the identifier of the room user message.
Optionally, after the returning of the target information data to the terminal, the method further includes:
and returning the first information to the terminal so that the terminal caches the first information.
Optionally, the monitoring whether the user enters the target live broadcast room includes:
receiving an access request sent by the terminal to access the target live broadcast room;
establishing connection with the terminal according to the access request;
acquiring a room entering message of the terminal entering the target live broadcast room by calling a user who enters a room interface for broadcasting;
and determining that the user enters the target live broadcast room according to the room entering message.
Optionally, the establishing a connection with the terminal according to the entry request includes:
and establishing long connection with the terminal according to the access request.
Optionally, the method further comprises:
receiving an exit request sent by the terminal for exiting the target live broadcast room;
disconnecting the connection with the terminal according to the quit request;
acquiring a room exit message of the terminal for exiting the target live broadcast room by calling a room exit interface;
and determining that the user exits the target live broadcast room according to the room exiting message.
In a second aspect, an embodiment of the present application further provides a live broadcast room initialization apparatus, which is applied to a server, and includes: the system comprises a monitoring module, a cache module, a searching module and a returning module;
the monitoring module is used for monitoring whether a user enters a target live broadcast room through a terminal;
the cache module is used for acquiring first information of the user and caching the first information to a server if the first information is the first information; wherein the first information comprises: the basic information of the user and the room information of the target live broadcast room;
the searching module is used for searching target information data matched with the terminal from the first information;
and the return module is used for returning the target information data to the terminal so as to display the target information data at the terminal.
Optionally, the search module is further configured to:
receiving a target interface calling request sent by the terminal;
and searching target information data matched with the terminal from the first information according to the target interface calling request.
Optionally, the apparatus further comprises: the device comprises an acquisition module and a sending module;
the acquisition module is used for acquiring the room user message of the target live broadcast room and generating an identifier of the room user message;
the sending module is configured to send the identifier of the room user message to the terminal, so that the terminal obtains the room user message from the server according to the identifier of the room user message.
Optionally, the cache module is further configured to:
and returning the first information to the terminal so that the terminal caches the first information.
Optionally, the listening module is further configured to:
receiving an access request sent by the terminal to access the target live broadcast room;
establishing connection with the terminal according to the access request;
acquiring a room entering message of the terminal entering the target live broadcast room by calling a user who enters a room interface for broadcasting;
and determining that the user enters the target live broadcast room according to the room entering message.
Optionally, the listening module is further configured to:
and establishing long connection with the terminal according to the access request.
Optionally, the listening module is further configured to:
receiving an exit request sent by the terminal for exiting the target live broadcast room;
disconnecting the connection with the terminal according to the quit request;
acquiring a room exit message of the terminal for exiting the target live broadcast room by calling a room exit interface;
and determining that the user exits the target live broadcast room according to the room exiting message.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method as provided by the first aspect.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method as provided in the first aspect.
The beneficial effect of this application is:
the embodiment of the application provides a method, a device, equipment and a storage medium for initializing a live broadcast room, which are applied to a server and comprise the following steps: monitoring whether a user enters a target live broadcast room through a terminal; if so, acquiring first information of the user, and caching the first information to the server; wherein the first information includes: basic information of a user and room information of a target live broadcast room; searching target information data matched with the terminal from the first information; and returning the target information data to the terminal so as to display the target information data at the terminal. According to the scheme, the first information is cached to the server, the server searches the target information data matched with the target interface calling request from the cached first information according to the target interface calling request sent by the terminal, and returns the target information data to the terminal, so that the target information data is displayed at the terminal, the initialization of room information and user information in the live broadcasting room is realized, the first information of the user does not need to be returned in each request in full, the consumption of a network is reduced, and the watching experience of the user is improved.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
The live broadcast room initialization method provided by the present application is explained by a plurality of embodiments as follows.
Fig. 1 is a schematic structural diagram of a live broadcast room initialization system according to an embodiment of the present application; as shown in fig. 1, the liveroom initialization system 100 includes: one or more of the terminal 101, theserver 102, and thenetwork 103 may include a processor for executing instructions in the terminal 101 and theserver 102.
In an implementation manner, for example, as shown in fig. 1, the terminal 101 and theserver 102 are deployed and operated independently in different electronic devices, for example, the terminal 101 may be a computer, a mobile internet device, a tablet, a mobile phone terminal, and other devices having an operation function and a display function, and theserver 102 is a processing device deployed in a server and having a data processing function.
In another implementation manner, the terminal 101 and theserver 102 may also be deployed in the same electronic device, such as a processing device like a computer or a server, and have a data processing function and a visualization interface, which are not specifically described in this embodiment.
In some embodiments, the live broadcastroom initialization system 100 may include one ormore terminals 101, where theterminals 101 may be electronic devices with operation functions and display functions, such as computers, mobile internet access devices, tablets, mobile phone terminals, and the like, and the live broadcast application program is installed on theterminals 101, so that a user may enter a target live broadcast room through the live broadcast application program pre-installed on the terminal 101 to view various live broadcast videos.
Theserver 102 may be a terminal device or a computing device such as a server having a data processing function.
For example, when a user a wants to enter a target live broadcast room K through a live broadcast application program pre-installed on a terminal 101, the terminal 101 establishes a long connection with a server 102 through nodejs, at this time, the terminal 101 calls an access room interface provided by itself, and uses a Message Queue (MQ for short) to broadcast an access room Message of the user a entering the target live broadcast room K through the "access room interface", and the server 102 determines that the user a has entered the target live broadcast room K according to the monitored access room Message; then, the server 102 calls a relevant service module provided by itself to obtain first information of the user, and caches the first information to the server, where the first information includes: basic information of a user A and room information of a target live broadcast room K are searched, and target information data matched with the terminal are searched from the first information; and finally, returning the target information data to the terminal so as to display the target information data in the terminal 101, so that the server 102 realizes the initialization of the first information of the user A by monitoring the behavior of the user A entering the live broadcast room, and does not need to return the first information of the user in full in each request, thereby reducing the consumption of the network and improving the viewing experience of the user.
Thenetwork 103 may be used for the exchange of information and/or data, for example, thenetwork 103 may be any type of wired or wireless network, or any combination thereof.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the liveroom initialization system 100 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure; the electronic device may be a processing device with a display function and an operation function, such as a computer, a mobile internet device, a tablet, a mobile phone terminal, a computer, a server, and the like, and is configured to deploy and operate the terminal 101 and theserver 102 in fig. 1, so as to implement the live broadcast room initialization method of the present application.
As shown in fig. 2, theserver 102 includes amemory 201, aprocessor 202, and acommunication unit 203. Thememory 201, theprocessor 202 and thecommunication unit 203 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
Thememory 201 stores software functional modules stored in thememory 201 in the form of software or firmware (firmware), and theprocessor 202 executes various functional applications and data processing by running the software programs and modules stored in thememory 201, that is, implements the information distribution processing method in the embodiment of the present invention.
TheMemory 201 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), and the like. Thememory 201 is used for storing a program, and theprocessor 202 executes the program after receiving an execution instruction.
Theprocessor 202 may be an integrated circuit chip having signal processing capabilities. TheProcessor 202 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like.
Thecommunication unit 203 is configured to establish a communication connection between the terminal 101 and theserver 102 through thenetwork 103, so as to implement transceiving operations of network signals and data information.
The following describes, by using a plurality of specific embodiments, an implementation principle of the live broadcast room initialization method applied to the server side step and beneficial effects produced by the live broadcast room initialization method correspondingly.
Fig. 3 is a schematic flowchart of a live broadcast room initialization method according to an embodiment of the present application; the execution subject of the method is the server in fig. 1, and optionally, as shown in fig. 3, the method may include:
s301, monitoring whether a user enters a target live broadcast room through a terminal.
The terminal is provided with a live application program in advance, and the user A can click the live application program installed on the terminal to enter the target live broadcast room so as to watch live broadcast contents which are live broadcast in the target live broadcast room.
Illustratively, when the user a clicks to enter the target live broadcast room, for example, the server may monitor whether the user a enters the target live broadcast room through the terminal through a monitoring module provided by the server itself, or obtain a room entering message that the user a enters the target live broadcast room through invoking the room entering interface, and determine whether the user a enters the target live broadcast room through the terminal through the two ways.
S302, if yes, first information of the user is obtained, and the first information is cached to the server side.
Wherein the first information includes: basic information of a user and room information of a target live room.
In this example, the basic information of user a may include: basic information such as user ID, nickname, head portrait, grade and the like, and the room information of the target live room can include: the status, identity, gift list within the target live broadcast room, online number of people in the target live broadcast room, etc. of user a.
For example, after the server monitors that the user enters the target live broadcast room, the server calls the relevant service module to acquire the first information of the user. For example, the server may obtain basic information of the user, such as an ID, a nickname, a head portrait, and the like, by calling the user basic information module; for another example, the server side calls the room state information module to obtain room state information such as an administrator of the target live broadcast room, intimacy between the user and the target live broadcast room, whether the user is hidden in the target live broadcast room, and a gift list in the target live broadcast room.
In order to avoid the problem that most data are redundant due to the fact that the first information is repeatedly returned to the terminal in each requested return information, the first information can be cached in a redis cache provided by the server, wherein the redis cache refers to a non-relational database.
And S303, searching target information data matched with the terminal from the first information.
In this embodiment, target information data matching the terminal is searched from the first information, and there are two cases, specifically as follows:
in the first case, after the first information is cached in the redis cache provided by the server, the server may search, according to the target interface call request sent by the terminal, target information data matching the target interface call request from the cached first information, so that the first information is prevented from being repeatedly returned to the terminal by the return information of each access request, and network consumption is reduced.
In the second case, after caching the first information in a redis cache provided by the server, the server may choose to return the first information to the terminal to cache the first information locally, so that the terminal may search, according to an actual operation requirement of the user, for target information data matching an operation requirement of the user at the terminal from the first information already cached locally at the terminal, where, for example, the first information of the user includes: the nickname, the head portrait, the grade, the medal and the like of the user are cached to the local terminal, the actual operation requirements of the user of the terminal only display the nickname and the head portrait of the user, the nickname and the head portrait of the user are selected from only the nickname, the head portrait, the grade and the medal of the user, and then the nickname and the head portrait of the user are displayed on the terminal.
S304, returning the target information data to the terminal so as to display the target information data at the terminal.
For the first situation, after the target information data matched with the terminal is searched, the target information data needs to be returned to the terminal, so that the target information data is displayed at the terminal, the initialization of room information and user information in the live broadcast room is realized, the consistency of the initialization of the first information of the user a can be ensured, the first information of the user does not need to be returned in all requests, the consumption of the network is reduced, and the viewing experience of the user is improved.
To sum up, the embodiment of the present application provides a live broadcast room initialization method, which is applied to a server and includes: monitoring whether a user enters a target live broadcast room through a terminal; if so, acquiring first information of the user, and caching the first information to the server; wherein the first information includes: basic information of a user and room information of a target live broadcast room; searching target information data matched with the terminal from the first information; and returning the target information data to the terminal so as to display the target information data at the terminal. According to the scheme, the first information is cached to the server, the server searches the target information data matched with the target interface calling request from the cached first information according to the target interface calling request sent by the terminal, and returns the target information data to the terminal, so that the target information data is displayed at the terminal, the initialization of room information and user information in the live broadcasting room is realized, the first information of the user does not need to be returned in each request in full, the consumption of a network is reduced, and the watching experience of the user is improved.
How to search for target information data matching a terminal from first information will be specifically explained by the following embodiments.
Fig. 4 is a schematic flowchart of another live broadcast room initialization method according to an embodiment of the present application; optionally, in step S303: searching target information data matched with the terminal from the first information, wherein the method comprises the following steps:
s401, receiving a target interface calling request sent by a terminal.
For example, when the terminal needs to obtain the basic information of the user, the terminal may directly call a user information interface provided by the terminal itself, and send a "user information interface call" request to the server.
S402, searching target information data matched with the terminal from the first information according to the target interface calling request.
On the basis of the above embodiment, after receiving the "user information interface request" sent by the terminal, the server searches, according to the "user information interface request", the user basic information data matching the "user information interface request" sent by the terminal from the first information, and returns the user basic information data to the terminal, so that the terminal caches or displays the acquired user basic information.
Fig. 5 is a schematic flowchart of another live broadcast room initialization method according to an embodiment of the present application; optionally, in step S303: searching target information data matched with the terminal from the first information, wherein the method comprises the following steps:
s501, room user information of the target live broadcast room is obtained, and identification of the room user information is generated.
Illustratively, in the same time period, the user a enters the target live broadcast room K through the first terminal, and the user B also enters the target live broadcast room K through the second terminal.
The room user message is a message that a user B in the target live broadcast room gives a gift to the anchor broadcast through the second terminal. At this time, the server needs to actively notify the user a who passes through the first terminal of the gift sending message of the target live broadcast room K.
In this embodiment, after acquiring the room user message of the target live broadcast room K, the server may generate a unique identifier of the room user message according to the ID of the second terminal user B.
S502, sending the identifier of the room user message to the terminal, so that the terminal acquires the room user message from the server according to the identifier of the room user message.
On the basis of the embodiment, the server can send the generated identifier of the room user message to the first terminal, so that the first terminal directly calls a salute recording interface provided by the first terminal according to the identifier of the room user message, and sends a request for calling the salute recording interface to the server, and after receiving the request for calling the salute recording interface sent by the terminal, the server obtains the room user message and returns the room user message to the terminal, so that the terminal can timely obtain the room user message from the server according to the identifier of the room user message.
Optionally, after the target information data is returned to the terminal, the method further includes:
and returning the first information to the terminal so that the terminal caches the first information.
In this embodiment, in order that the terminal may obtain target information matching the actual operation requirement of the user locally from the terminal, the terminal may be considered to obtain the target information according to the actual operation requirement of the user. Therefore, after receiving the first information, the terminal can also cache the first information to the terminal, and the first information is expired at regular time, and is re-acquired from the server after the expiration, so that the first information is updated in time.
How to listen whether the user enters the target live room will be specifically explained by the following embodiment.
Fig. 6 is a schematic flowchart of another live broadcast room initialization method according to an embodiment of the present application; optionally, in step S301: whether a monitoring user enters a target live broadcast room or not comprises the following steps:
s601, receiving an entering request sent by a terminal to enter a target live broadcast room.
The terminal is provided with a live application program in advance, and the user A can click the live application program installed on the terminal to enter the target live broadcast room so as to watch live broadcast contents which are live broadcast in the target live broadcast room.
S602, according to the entering request, connection with the terminal is established.
Optionally, a long connection with the terminal is established according to the incoming request.
For example, when the user a clicks the operation of entering the target live broadcast room K, the terminal sends an entry request for entering the target live broadcast room K to the server, and after receiving the entry request sent by the terminal, the server establishes a long connection with the terminal through the nodejs channel.
And S603, acquiring a room entering message of the terminal entering a target live broadcast room by calling the user broadcasted by the room entering interface.
And S604, determining that the user enters the target live broadcast room according to the room entering message.
Optionally, after the server establishes a long connection with the terminal through the nodejs channel, the terminal invokes a "room entering interface" provided by the terminal, broadcasts a room entering message of the user a entering the target live broadcast room K through the "room entering interface" MQ, and if the server monitors the room entering message of the user a entering the target live broadcast room K through a "monitoring module" provided by the server, it may be determined that the user a has entered the target live broadcast room K.
Fig. 7 is a schematic flowchart of another live broadcast room initialization method according to an embodiment of the present application; optionally, in step S301: whether the monitoring user enters the target live broadcast room further comprises:
and S701, receiving a quit request sent by a terminal for quitting the target live broadcast room.
S702, according to the quit request, disconnecting the terminal.
For example, when the user a clicks the operation of exiting the target live broadcast room, the terminal sends an exit request for exiting the target live broadcast room to the server, and after receiving the exit request sent by the terminal, the server immediately disconnects the terminal.
And S703, acquiring a room exit message broadcasted by the terminal through calling the room exit interface, wherein the room exit message is used for enabling the user to exit the target live broadcast room.
S704, determining that the user exits the target live broadcast room according to the room exiting message.
Optionally, after the server disconnects the connection with the terminal, the terminal invokes a room exit interface provided by the terminal, and broadcasts a room exit message that the user a exits the target live broadcast room K through the room exit interface MQ, and if the server monitors the room exit message of the user, it may be determined that the user has exited the target live broadcast room, and the redis cache of the server is directly removed.
In addition, if the user reenters the target live broadcast room K, the first information of the user needs to be reacquired and initialized, and the first information of the user is cached in the server redis.
The following embodiments will specifically explain the overall steps of the live broadcast room initialization method provided in the present application.
Fig. 8 is an overall flowchart of a live broadcast room initialization method according to an embodiment of the present application; applied to the server, optionally, as shown in fig. 8, the method includes:
s801, receiving an entering request sent by a terminal to enter a target live broadcast room.
S802, according to the entering request, long connection is established with the terminal.
And S803, acquiring a room entering message of the terminal entering the target live broadcast room by calling the user broadcasted by the room entering interface.
S804, according to the room entering message, it is determined that the user has entered the target live broadcast room.
S805, first information of the user is obtained, and the first information is cached to the server side.
S806, receiving a target interface calling request sent by the terminal, and searching target information data matched with the terminal from the first information according to the target interface calling request.
And S807, returning the target information data to the terminal so as to display the target information data at the terminal.
Optionally, the first information may also be returned to the terminal, so that the terminal caches the first information, and selects and displays corresponding data from the cache according to the requirement of the terminal.
And S808, acquiring the room user message of the target live broadcast room, and generating an identifier of the room user message.
And S809, sending the identifier of the room user message to the terminal, so that the terminal acquires the room user message from the server according to the identifier of the room user message and returns the room user message to the terminal, so that the terminal caches and displays the room user message.
Optionally, the overall implementation steps and the generated beneficial effects of the live broadcast room initialization method provided in the embodiment of the present application have been described in detail in the foregoing specific embodiments, and are not described in detail here.
The following describes a device and a storage medium for performing live broadcast initialization provided in the present application, and specific implementation procedures and technical effects thereof are referred to above, and will not be described again below.
Fig. 9 is a schematic structural diagram of a live broadcast room initialization apparatus according to an embodiment of the present application; as shown in fig. 9, an embodiment of the present application further provides a live broadcast room initialization apparatus, which is applied to a server, and the apparatus includes: amonitoring module 901, acaching module 902, a searchingmodule 903 and a returningmodule 904.
Amonitoring module 901, configured to monitor whether a user enters a target live broadcast room through a terminal;
thecaching module 902 is configured to, if yes, obtain first information of a user, and cache the first information to the server; wherein the first information includes: basic information of a user and room information of a target live broadcast room;
a searchingmodule 903, configured to search for target information data matched with the terminal from the first information;
a returningmodule 904, configured to return the target information data to the terminal, so that the terminal displays the target information data.
Optionally, the searchingmodule 903 is further configured to:
receiving a target interface calling request sent by a terminal;
and searching target information data matched with the terminal from the first information according to the target interface calling request.
Optionally, the apparatus further comprises: the device comprises an acquisition module and a sending module;
the acquisition module is used for acquiring the room user message of the target live broadcast room and generating the identifier of the room user message;
and the sending module is used for sending the identifier of the room user message to the terminal so that the terminal can acquire the room user message from the server according to the identifier of the room user message.
Optionally, thecaching module 904 is further configured to:
and returning the first information to the terminal so that the terminal caches the first information.
Optionally, thelistening module 901 is further configured to:
receiving an access request sent by a terminal to access a target live broadcast room;
establishing connection with the terminal according to the access request;
acquiring a room entering message of a terminal entering a target live broadcast room by calling a user broadcasted by a room entering interface;
and determining that the user enters the target live broadcast room according to the room entering message.
Optionally, thelistening module 901 is further configured to:
and establishing a long connection with the terminal according to the access request.
Optionally, thelistening module 901 is further configured to:
receiving a quit request sent by a terminal for quitting a target live broadcast room;
disconnecting the connection with the terminal according to the quit request;
acquiring a room exit message broadcasted by a terminal through calling a room exit interface, wherein the room exit message is used for enabling a user to exit a target live broadcast room;
and determining that the user exits the target live broadcast room according to the room exiting message.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.