Detailed Description
In order to make the technical solutions better understood by those skilled in the art, 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 is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. 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 application. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method provided by the embodiment one of the present application may be executed in a server, a computer, or a similar computing device. Taking an example of the server running on the server, fig. 1 is a hardware structure block diagram of a server according to an embodiment of the present invention. As shown in fig. 1, the server may include one or more processors 102 (only one is shown in fig. 1) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally, may further include atransmission device 106 for communication functions and an input/output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. For example, the server may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be configured to store a server program, for example, a software program and a module of application software, such as a server program corresponding to a short message sending method in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, that is, implements the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Thetransmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server. In one example, thetransmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, thetransmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for sending a short message is provided, and fig. 2 is a flowchart of a method for sending a short message according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, receiving an uplink short message replied to a first channel code number by a first terminal by using a mobile phone number, wherein the first channel code number comprises a first field;
in this embodiment, the short message transmission objects are a first terminal and a second terminal, the relay device includes a short message server of an operator and a cloud server, and the scheme of this embodiment may be applied to the cloud server.
Optionally, the first terminal may be a communication device for signing a mobile phone number (issued by a communication carrier) such as a mobile phone and a tablet, and the second terminal may be a communication device for signing a channel number (issued by a cloud server) such as a server, a computer, and a mobile phone.
Step S204, searching a second field of the first channel code number according to the mobile phone number to obtain a second channel code number, wherein the second channel code number comprises the first field and the second field;
in this embodiment, the association record of the mobile phone number and the second field is stored locally in the system or on the network side, and the first field and the second field form a complete channel number.
Step S206, the uplink short message is pushed to the second channel code number.
And in the pushing process, the uplink short message is sent to a second terminal signing the second channel code number by taking the mobile phone number as a source number.
Through the steps, the uplink short message replied by the first terminal to the first channel code number by using the mobile phone number is received, the second field of the first channel code number is searched according to the mobile phone number to obtain the second channel code number, finally, the uplink short message is pushed to the second channel code number, and the second field of the first channel code number is searched by using the mobile phone number of the sending end, so that a long second channel code number is obtained, the channel code number can be infinitely expanded, the technical problem that the short message cannot be transmitted based on the long channel code number in the related technology is solved, the length limitation of the channel code number is removed, more cloud service users can be signed on the premise of not increasing code number resources, and more communication terminals can be accessed.
In this embodiment, a complete channel code number includes at least a base code number and a spreading code, some of the channel code numbers further include a user spreading code, and in some examples, the first channel code number is the base code number, the first field is a field of the base code number, and the second field includes the spreading code, or includes the spreading code + user spreading code; in other examples, the first channel code number includes a base code number and a spreading code, the first field is a field of the base code number + the spreading code, and the second field includes a user spreading code. The constituent fields of the channel code number are explained and illustrated below:
the basic code number: the short message channel number provided by an operator or a provider to a cloud service provider is referred to as: 10690000, 1065500012345678, the total length is no more than 20 bits, the basic code number is used for identifying cloud service providers (such as Ali cloud, Tencent cloud, etc.), and the basic code numbers corresponding to different cloud service providers are different.
Spreading code: the cloud platform is used for providing uplink service, and spreading codes allocated to customers (cloud service users) are as follows: 1234, 123456, corresponding to the unit a and the user B, respectively, and after acquiring the spreading codes, the information of the client can be acquired.
User spreading code: the user self allocates the spreading code to the self service according to the requirement, such as: and (3) verification code service use: 00, notification service usage: 01. in some sms, the channel code number may have no user spreading code and is an optional field.
Complete code number: after a user sends a short message to a mobile phone, the total length of a channel code number displayed on the mobile phone is no more than 20 bits, and the complete code number comprises: the base code number + spreading code + user spreading code, and may also be the base code number + spreading code. The present embodiment is described by taking an example in which the complete code number includes the base code number + spreading code + user spreading code. According to the standard of communication operators, when a sending end and a receiving end transmit short messages, the length of a channel code number cannot exceed 20 bits, and the exceeding part can be intercepted, thereby causing communication failure.
In one example, the base code number is 10690000, the spreading code is 123456, the user spreading code is 00, the full code number should be 1069000012345600, the full code number has a total length of 16 bits and no more than 20 bits, the operator will not intercept the code number, and the user's handset displays the code number 1069000012345600. In another example, the base code number + spreading code length does not exceed 20 bits, but the base code number + spreading code + user spreading code exceeds 20 bits: the base code number is 1065500012345678, the spreading code is 1234, the spreading code of the user is 00, the complete code number should be 1065500012345678123400, the length is 22 bits, and more than 20 bits, the operator will intercept the code number of more than 20 bits, and the code number displayed by the mobile phone of the user is 10655000123456781234, 00 is automatically intercepted. In yet another example, the base code number + spreading code length exceeds 20 bits: the basic code number is 1065500012345678, the spreading code is 123456, and the user spreading code is 01, then the complete code number should be 106550001234567812345600, the length is 24 bits, and over 20 bits, the operator will intercept the code number over 20 bits, the code number displayed by the user's handset is 10655000123456781234, and 5601 is automatically intercepted.
In this embodiment, before receiving an uplink short message replied by a first terminal to a first channel code number by using a mobile phone number, a second terminal sends a downlink short message to the mobile phone number by using a complete second channel code number, and the cloud server of this embodiment transfers the downlink short message to a short message server (the short message server sends the downlink short message according to the mobile phone number), because the short message server cannot identify a code number exceeding a predetermined length, a user can intercept a part of the length of the source number (the second channel code number) when sending the short message to the first terminal, so that the first terminal does not exceed the predetermined length when replying the short message to the second terminal based on the source number. In one example, the method comprises the following steps:
s11, receiving a downlink short message sent by a second terminal to the mobile phone number, wherein the subscription code number of the second terminal is the second channel code number;
in this embodiment, the channel code number submitted by the second terminal may be a complete channel code number, or may only submit a spreading code number, such as a user spreading code number, or a spreading code + user spreading code, and the cloud server may add fields such as a basic code number to the existing code number according to a client identifier (e.g., a client ID such as an account number) to recover the complete second channel code number;
s12, intercepting a second field in the second channel code number to obtain a first channel code number, and storing the second field and the mobile phone number in an associated manner;
in an implementation manner of this embodiment, the intercepting operation is triggered according to a predetermined condition, for example, the predetermined condition is set according to the length of the received source number (second channel code number), and if the predetermined condition exceeds a certain length, part of the field in the source number is intercepted. Before intercepting the second field in the second channel code number, the method further comprises: counting the number length of the second channel number; judging whether the length of the number is greater than a preset length or not; and if the number length is larger than the preset value, determining to intercept a second field in the second channel code number.
In one example, the preset length is set according to a communication standard of a local carrier, such as 20 digits.
In an embodiment, the second field is a spreading code field, or a spreading code field + user spreading code field. Intercepting the second field in the second channel code number may be, but is not limited to: intercepting a spreading code field in a second channel code number, wherein the spreading code is used for identifying user information of a second terminal; and intercepting a spreading code field and a user spreading code field in the second channel code number, wherein the user spreading code field is used for identifying the service type of the downlink short message, such as a notification type, a verification type and the like.
And S13, pushing the downlink short message to the mobile phone number by taking the first channel code number as the source number.
In an implementation manner of this embodiment, searching for the second field of the first channel number according to the mobile phone number to obtain the second channel number includes: searching a second field associated with the mobile phone number in a preset associated record by taking the mobile phone number as a keyword; and splicing the first field and the second field to obtain a second channel code number.
For example, the first field is 10655988, the mobile phone number is 13000000000, and one record of the preset association record at least includes the following association information: 13000000000-.
In other examples, the first field may also be used as a key to search for a second field associated with the first field in a preset association record; and splicing the first field and the second field to obtain a second channel code number.
For example, the first field is 10655988, the mobile phone number is 13000000000, and one record of the preset association record at least includes the following association information: 10655988 and 123456, based on the record, the second field is found to be 123456, and the second channel code number is obtained by splicing 10655988123456.
In some embodiments, searching for a second field associated with the mobile phone number in the preset association record by using the mobile phone number as a keyword includes: searching a user identifier which sends a downlink short message to the mobile phone number in the short message record by taking the mobile phone number as a keyword; and searching a second field associated with the user identification in the preset associated record by taking the user identification as a keyword. Optionally, before searching the user identifier of the downlink short message sent to the mobile phone number in the short message record, the mobile phone number may be used as a keyword to search the cloud platform identifier of the downlink short message sent to the mobile phone number in the short message record, so as to identify the cloud service provider corresponding to the cloud platform identifier, and search the user identifier of the cloud service user in the short message record in the subscriber of the cloud service provider, so that the search range can be further narrowed, the search time can be reduced, and the accuracy can be improved.
In other embodiments, the first field is a basic number, and before searching for the second field of the first channel number according to the mobile phone number, the method further includes: extracting a first field in the first channel code number; and searching the home subscriber set of the first channel code number by taking the first field as a keyword, and further searching the second field of the first channel code number in the home subscriber set according to the mobile phone number. Similar to the above embodiment, the search range can be further narrowed, the search time can be reduced, and the accuracy can be improved.
In some examples of this embodiment, it may be that multiple cloud service users have sent downlink messages to the same mobile phone number, for example when a user enters a certain territory, local travel agencies, hotels and the like use different channel code numbers to push downlink short messages to the same mobile phone number, before forwarding to the short message server, the second field is intercepted, so that the source number (the first channel code number) displayed on the first terminal is the same, if the user uses the mobile phone number to reply the uplink short message of the first channel code number, since the mobile phone number is the same as the first channel code number, the system may search for a plurality of eligible second fields, and by further setting the time screening condition, the above problems can be solved, for example, the nearest qualified second field is searched in the preset associated record or the short message record, and if the time interval is smaller than the threshold, the reply is performed at the same time.
Fig. 3 is a communication interaction diagram of an embodiment of the present invention, which takes a first terminal as a terminal a, a mobile phone number is 139999999999, a second terminal as a terminal B, a first channel code number is 1065500012345678, a second channel code number is 1065500012345678123400, and a second field is 123400 as an example for explanation, and includes the following procedures:
s31, sending the downlink short message "aaa" by taking the second channel code number as a source number, and sending the downlink short message "aaa" to the cloud server by taking 1065500012345678123400 as the source number and 139999999999 as a target number by the terminal B;
s32, the cloud server analyzes that the second channel code number is too long, and needs to intercept the second field and store the second field in an associated manner; the channel code number submitted by the client of the terminal B may be a complete channel code number, such as the channel code number in the sample, or may only submit a spreading code number, such as a user spreading code number, or a spreading code + user spreading code, on the basis of which the cloud server obtains the complete channel code number according to the client identification (such as the client ID of an account number and the like) and the fields of a basic code number and the like, the cloud server judges whether the complete channel code number exceeds 20 bits, if so, the intercepting operation is executed;
s33, sending down message 'aaa' to the short message server of the operator by using the first channel code number as the source number;
s34, the short message server sends the down short message 'aaa' to the mobile phone terminal A by taking the first channel code number as the source number and 139999999999 as the target number, and the user edits the reply content 'bbb' after the terminal A receives the down short message;
s35, sending the uplink short message 'bbb' to the short message server by taking the source number (first channel number) of the downlink short message as the target number of the uplink short message, the first channel number as the target number and the mobile phone number as the source number;
s36, after receiving the message, the message server directly forwards the message to a cloud server, and sends an uplink message bbb by taking the first channel code number as a target number;
s37, after receiving the first channel code number, the cloud server searches a second field of the first channel code number and splices the second field into a second channel code number;
and S38, the cloud server sends the uplink short message bbb to the terminal B by taking the second channel code number as a target number and the mobile phone number as a source number. After the cloud server completes the splicing of the channel code number, the contents to be sent in an uplink mode comprise: and sending the mobile phone number, the short message content and the spliced channel code number to a client terminal B through an interface of the cloud server, for example, pushing through an API of the cloud server.
The scheme of this embodiment is further illustrated by two specific implementation scenarios:
the implementation scenario one: in the case where the base number + spreading code length does not exceed 20 bits, but the base number + spreading code + user spreading code exceeds 20 bits, the scheme comprises:
firstly, judging that the complete code number exceeds 20 bits and the length of the basic code number plus the extended code does not exceed 20 bits;
then, necessary information such as customer spreading codes, mobile phone numbers and the like is stored, and meanwhile, the short messages are sent to the mobile phones by using the basic code numbers and the spreading codes;
when a user replies the uplink short message, the system can automatically judge the belonging client of the uplink short message according to the conventional logic, then obtain the stored information such as client spreading code according to the mobile phone number information, and splice the user spreading code with the basic code number and the spreading code together to obtain a finished code number and push the finished code number to the user;
such as: when the enterprise client sends a short message to the mobile phone number 139999999999, the basic code number is 1065500012345678, the spreading code is 1234, and the spreading code of the user is 00, the complete code number should be 1065500012345678123400, the length is 22 bits, and the length is more than 20 bits. At this time, the system records the mobile phone number and the user extension in the format as follows: enterprise client ID-13999999999-00. Meanwhile 10655000123456781234 is used to send short message to the mobile phone number.
When a user replies an uplink short message, the user replies 10655000123456781234, the system identifies that the basic number is 1065500012345678 and the spreading code is 1234 according to a conventional method, thereby identifying that the uplink short message belongs to A, acquires the information 13999999999-00 of the stored number and the user spreading code through the mobile phone number after identification, splices the user spreading code 00 behind 10655000123456781234 to obtain a finished code number 1065500012345678123400, and finally pushes the code number and the uplink short message information to the terminal of an enterprise client.
Implementation scenario two: in case the base code number + spreading code length exceeds 20 bits, the scheme comprises:
firstly, judging that the complete code number exceeds 20 bits and the length of the basic code number plus the extension code exceeds 20 bits;
then necessary information such as spreading codes, customer spreading codes, mobile phone numbers and the like are stored, and meanwhile, the short messages are sent to the mobile phones by using basic code numbers;
when a user replies the uplink short message, the system can determine the code number of the short message, can search out a client using the code number, then determines which client sends the short message according to the stored mobile phone number information, thereby also determining that the uplink short message belongs to the client, and then splices the spreading code, the user spreading code and the basic code number together to obtain a complete code number and pushes the complete code number to the user. Such as: when the enterprise client sends a short message to the mobile phone number 139999999999, the basic code number is 1065500012345678, the spreading code is 123456, and the user spreading code is 01, so that the complete code number is 106550001234567812345601 and the length is 24 bits, but the basic code number + the spreading code is 22 bits and exceeds 20 bits. At this time, the system records the mobile phone number, the spreading code and the user spreading in the format as follows: business customer ID-13999999999-01-123456. Meanwhile 1065500012345678 is used to send short message to the mobile phone number.
When the user replies the uplink short message, the user replies 1065500012345678, the system identifies that the basic number is 1065500012345678 according to a conventional method, the system judges which enterprise clients use the channel, such as clients A, B, C, D.
After identification, the stored information such as spreading codes, user spreading codes and the like can be acquired through the mobile phone number, the user spreading codes 123456 and the user spreading codes 00 are spliced 1065500012345678 to obtain finished code numbers 106550001234567812345600, and finally the code numbers and the uplink short message information are pushed to terminals of enterprise customers.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a device and a system for sending a short message are also provided, which are used to implement the foregoing embodiments and preferred embodiments, and are not described again after being described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a short message sending apparatus according to an embodiment of the present invention, and as shown in fig. 4, the apparatus includes: a first receiving module 40, afirst lookup module 42, a first pushingmodule 44, wherein,
a first receiving module 40, configured to receive an uplink short message replied by a first terminal to a first channel code number by using a mobile phone number, where the first channel code number includes a first field;
thefirst searching module 42 is configured to search a second field of the first channel code number according to the mobile phone number to obtain a second channel code number, where the first channel code number includes a first field and a second field;
and the first pushingmodule 44 is configured to push the uplink short message to the second channel code number.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a downlink short message sent to the mobile phone number by a second terminal before the first receiving module receives an uplink short message replied to the first channel code number by the first terminal by using the mobile phone number, wherein the subscription code number of the second terminal is the second channel code number; the intercepting module is used for intercepting a second field in the second channel code number to obtain a first channel code number, and storing the second field and the mobile phone number in an associated manner; and the second pushing module is used for pushing the downlink short message to the mobile phone number by taking the first channel code number as a source number.
Optionally, the apparatus further comprises: the counting module is used for counting the number length of the second channel code number before the intercepting module intercepts the second field in the second channel code number; the judging module is used for judging whether the length of the number is greater than a preset length; and the determining module is used for determining and intercepting a second field in the second channel code number if the length of the number is greater than a preset value.
Optionally, the intercepting module includes one of: a first truncation unit configured to truncate a spreading code field in the second channel code number, wherein the spreading code is used for identifying user information of the second terminal; and the second interception unit is used for intercepting a spreading code field and a user spreading code field in the second channel code number, wherein the user spreading code field is used for identifying the service type of the downlink short message.
Optionally, the first lookup module includes: the searching unit is used for searching a second field related to the mobile phone number in a preset related record by taking the mobile phone number as a keyword; and the splicing unit is used for splicing the first field and the second field to obtain the second channel code number.
Optionally, the searching unit includes: the first searching subunit is used for searching the user identification which sends the downlink short message to the mobile phone number in the short message record by taking the mobile phone number as a keyword; and the second searching subunit is used for searching a second field associated with the user identifier in a preset associated record by taking the user identifier as a keyword.
Optionally, the apparatus further comprises: the extracting module is used for extracting the first field in the first channel code number before the first searching module searches the second field of the first channel code number according to the mobile phone number; and the second searching module is used for searching the home subscriber set of the first channel code number by taking the first field as a keyword.
Fig. 5 is a block diagram of a structure of a short message sending system according to an embodiment of the present invention, and as shown in fig. 5, the system includes: the system comprises a first terminal 50, a second terminal 52, a cloud server 54 and a short message server 56, wherein the first terminal is connected with the short message server and used for replying an uplink short message to a first channel code number by using a mobile phone number, and the first channel code number comprises a first field; the second terminal is connected with the cloud server and used for sending a downlink short message to the mobile phone number by using a second channel code number, wherein the second channel code number comprises a first field and a second field; the short message server is connected between the cloud server and the first terminal and is used for forwarding the downlink short message to the first terminal and forwarding the uplink short message to the cloud server; the cloud server comprises the device described in the above embodiment.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving an uplink short message replied to a first channel code number by a first terminal by using a mobile phone number, wherein the first channel code number comprises a first field;
s2, searching a second field of the first channel code number according to the mobile phone number to obtain a second channel code number, wherein the second channel code number comprises a first field and a second field;
s3, the uplink short message is pushed to the second channel code number.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, receiving an uplink short message replied to a first channel code number by a first terminal by using a mobile phone number, wherein the first channel code number comprises a first field;
s2, searching a second field of the first channel code number according to the mobile phone number to obtain a second channel code number, wherein the second channel code number comprises a first field and a second field;
s3, the uplink short message is pushed to the second channel code number.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
Fig. 6 is a block diagram of an electronic device implementing an embodiment of the invention. As shown in fig. 6, the device includes aprocessor 41 and amemory 42 for storing data, which are connected by acommunication bus 44, and acommunication interface 43 connected to thecommunication bus 44 and adapted to be connected to other components or external devices.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be 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, units or modules, and may be in an electrical 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 application 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, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.