Disclosure of Invention
The invention aims to provide a cosmetic detection information transmission method and a cosmetic detection information transmission system, which can overcome the defects of the prior art.
In order to achieve the above object, the present invention provides a cosmetic detection information transmission method, comprising the steps of: collecting cosmetic detection information by a mobile detection terminal; sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal, wherein the mobile detection terminal can simultaneously communicate with a small cell base station; determining the buffer condition of the macro base station by the macro base station, and determining whether the information stored in the buffer of the macro base station reaches the upper limit of the buffer by the macro base station based on the buffer condition; if the macro base station determines that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer, the macro base station sends a response message for establishing a communication link of the macro base station to the mobile detection terminal; establishing a response message based on a communication link of the macro base station, and establishing a communication link between the mobile detection terminal and the macro base station; responding to the establishment of the communication link with the macro base station, and generating and storing a success message of establishing the communication link of the macro base station by the mobile detection terminal; sending, by the mobile detection terminal, cosmetic detection information to the macro base station in response to establishing the communication link with the macro base station; when the mobile detection terminal actively selects to be switched to communicate with the small cell base station, sending a small cell base station communication connection establishment request message to the small cell base station, wherein the small cell base station communication connection establishment request message comprises a macro base station communication link establishment success message; and responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: in response to receiving the small cell base station connection establishment response message, establishing a communication link with the small cell base station by the mobile detection terminal, and simultaneously disconnecting the communication link with the macro base station; sending, by the mobile detection terminal, cosmetic detection information to the small cell base station in response to establishing the communication link with the small cell base station; in response to receiving the small cell base station communication connection establishment request message including the macro base station communication link establishment success message, communication with the mobile detection terminal is maintained by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: when actively selecting to return to the communication with the macro base station, the mobile detection terminal sends a macro base station communication link establishment request to the macro base station; determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer, sending a response message for establishing a communication link of the macro base station to the mobile detection terminal by the macro base station; establishing a response message based on a macro base station communication link, and sending a communication ending request to the small cell base station by the mobile detection terminal; and disconnecting the communication connection with the mobile detection terminal by the small cell base station only after the small cell base station receives the communication ending request.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal; determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station reaches the upper limit of the buffer, sending a negative confirmation message for establishing a communication link to the mobile detection terminal by the macro base station; generating and storing, by the mobile detection terminal, a macro base station communication establishment unsuccessful message in response to receiving the communication link establishment negative acknowledgement message; and responding to the received communication link establishment negative confirmation message, and sending a small cell base station communication connection establishment request message to the small cell base station by the mobile detection terminal, wherein the small cell base station communication connection establishment request message comprises a macro base station communication establishment unsuccessful message.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: responding to the received communication connection establishment request message of the small cell base station, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a connection establishment response message of the small cell base station to the mobile detection terminal by the small cell base station; in response to receiving the small cell base station connection establishment response message, establishing a communication link with the small cell base station by the mobile detection terminal, and starting a timer by the small cell base station; after the timer expires, the small cell base station sends a handover command to the mobile detection terminal; in response to receiving the handover command, sending a macro base station communication link establishment request to the macro base station by the mobile detection terminal; determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station still reaches the upper limit of the buffer, sending a negative confirmation message of establishing a communication link to the mobile detection terminal by the macro base station again; notifying, by the mobile detection terminal, to the small cell base station, the macro base station that the communication link establishment attempt failed in response to receiving the communication link establishment negative acknowledgement message; in response to receiving the notification that the macro base station communication link establishment attempt failed, setting, by the small cell base station, a timer to have a longer timeout time, wherein the small cell base station is configured to send the handover command again to the mobile detection terminal after the timer expires.
The invention also provides a cosmetic detection information transmission system, comprising: a unit for collecting cosmetic detection information by a mobile detection terminal; means for sending a macro base station communication link establishment request by a mobile detection terminal to a macro base station, wherein the mobile detection terminal is capable of communicating with a small cell base station simultaneously; a unit for determining, by the macro base station, a buffer condition of the macro base station, and determining, by the macro base station, whether information stored in the buffer of the macro base station reaches an upper limit of the buffer based on the buffer condition; a unit for sending a macro base station communication link establishment response message to the mobile detection terminal by the macro base station if it is determined that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer; means for establishing a communication link between the mobile detection terminal and the macro base station based on the macro base station communication link establishment response message; means for generating and storing, by the mobile detection terminal, a macro base station communication link establishment success message in response to establishing a communication link with the macro base station; means for sending, by the mobile detection terminal, cosmetic detection information to the macro base station in response to establishing the communication link with the macro base station; a unit for sending a small cell base station communication connection establishment request message to a small cell base station by a mobile detection terminal when actively selecting to switch to communication with the small cell base station, wherein the small cell base station communication connection establishment request message includes a macro base station communication link establishment success message; and a unit for responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for establishing, by the mobile detection terminal, a communication link with the small cell base station while disconnecting the communication link with the macro base station in response to receiving the small cell base station connection establishment response message; means for transmitting, by the mobile detection terminal, cosmetic detection information to the small cell base station in response to establishing the communication link with the small cell base station; means for maintaining, by the small cell base station, communication with the mobile detection terminal in response to receiving the small cell base station communication connection establishment request message including the macro base station communication link establishment success message.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal when actively selecting to return communication with the macro base station; a unit for determining a buffer status of the macro base station by the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station does not reach an upper limit of the buffer, sending a response message for establishing a communication link of the macro base station to the mobile detection terminal by the macro base station; a unit for sending a request for ending communication to the small cell base station by the mobile detection terminal based on the response message established by the macro base station communication link; and a unit for disconnecting, by the small cell base station, the communication connection with the movement detection terminal only after the small cell base station receives the end communication request.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for sending a macro base station communication link establishment request from a mobile detection terminal to a macro base station; a unit for determining a buffer condition of the macro base station by the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station has reached an upper limit of the buffer, transmitting a negative acknowledgement message to the mobile detection terminal by the macro base station to establish a communication link; for generating and storing, by the mobile detection terminal, a macro base station communication establishment unsuccessful message in response to receiving the communication link establishment negative acknowledgement message; means for sending, by the mobile detection terminal, a small cell base station communication connection establishment request message to the small cell base station in response to receiving the communication link establishment negative acknowledgement message, wherein the small cell base station communication connection establishment request message includes a macro base station communication establishment unsuccessful message.
In a preferred embodiment, the cosmetic detection information transmission system includes: a unit for responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the information stored in the buffer of the small cell base station determined by the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station; means for establishing, by the mobile detection terminal, a communication link with the small cell base station in response to receiving the small cell base station connection establishment response message, while starting, by the small cell base station, a timer; a unit for transmitting a handover command to the mobile detection terminal by the small cell base station after the timer expires; means for sending, by the mobile detection terminal, a macro base station communication link establishment request to the macro base station in response to receiving the handover command; a unit configured to determine a buffer status of the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station still reaches an upper limit of the buffer, the macro base station sends a negative acknowledgement message to the mobile detection terminal again; means for notifying, by the mobile detection terminal, the macro base station of the failure of the macro base station communication link establishment attempt in response to receiving the communication link establishment negative acknowledgement message; means for setting, by the small cell base station, a timer to have a longer timeout time in response to receiving the notification that the macro base station communication link establishment attempt failed, wherein the small cell base station is configured to send the handover command again to the mobile detection terminal after the timer expires.
Compared with the prior art, the invention has the following advantages: with the development of socio-economic, people have more and more demands for cosmetics. The cosmetics market is always considered as an industry with high profit margin, so that counterfeit and shoddy cosmetics are also endless based on the psychology of benefiting tendency and avoiding harm, law enforcement departments need to detect the cosmetics in order to check illegal behaviors, and certain simple detections can be completely finished by using a handheld terminal. At present, the detection result of the handheld terminal is expected to be directly uploaded to a server of a management department, so that the detection result can be prevented from being lost, and the phenomenon of fraud can be prevented. Based on the requirement, the invention provides a cosmetic detection information transmission method and a transmission system.
Detailed Description
The following detailed description of the present invention is provided in conjunction with the accompanying drawings, but it should be understood that the scope of the present invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
Fig. 1 is a flowchart of a cosmetic detection information transmission method according to an embodiment of the present invention. As shown in the figure, the cosmetic detection information transmission method of the present invention includes the steps of:
step 101: collecting cosmetic detection information by a mobile detection terminal;
step 102: sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal, wherein the mobile detection terminal can simultaneously communicate with a small cell base station;
step 103: determining the buffer condition of the macro base station by the macro base station, and determining whether the information stored in the buffer of the macro base station reaches the upper limit of the buffer by the macro base station based on the buffer condition;
step 104: if the macro base station determines that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer, the macro base station sends a response message for establishing a communication link of the macro base station to the mobile detection terminal;
step 105: establishing a response message based on a communication link of the macro base station, and establishing a communication link between the mobile detection terminal and the macro base station;
step 106: responding to the establishment of the communication link with the macro base station, and generating and storing a success message of establishing the communication link of the macro base station by the mobile detection terminal;
step 107: in response to establishing a communication link with the macro base station, sending, by the mobile detection terminal, cosmetic detection information to the macro base station (and then transmitting, by the base station, the information to a server of a management department via a core network and the internet for storage);
step 108: when the mobile detection terminal actively selects to be switched to communicate with the small cell base station, sending a small cell base station communication connection establishment request message to the small cell base station, wherein the small cell base station communication connection establishment request message comprises a macro base station communication link establishment success message; and
step 109: and responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: in response to receiving the small cell base station connection establishment response message, establishing a communication link with the small cell base station by the mobile detection terminal, and simultaneously disconnecting the communication link with the macro base station; sending, by the mobile detection terminal, cosmetic detection information to the small cell base station in response to establishing the communication link with the small cell base station; in response to receiving the small cell base station communication connection establishment request message including the macro base station communication link establishment success message, communication with the mobile detection terminal is maintained by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: when actively selecting to return to the communication with the macro base station, the mobile detection terminal sends a macro base station communication link establishment request to the macro base station;
determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer, sending a response message for establishing a communication link of the macro base station to the mobile detection terminal by the macro base station; establishing a response message based on a macro base station communication link, and sending a communication ending request to the small cell base station by the mobile detection terminal; and disconnecting the communication connection with the mobile detection terminal by the small cell base station only after the small cell base station receives the communication ending request.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal; determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station reaches the upper limit of the buffer, sending a negative confirmation message for establishing a communication link to the mobile detection terminal by the macro base station; generating and storing, by the mobile detection terminal, a macro base station communication establishment unsuccessful message in response to receiving the communication link establishment negative acknowledgement message; and responding to the received communication link establishment negative confirmation message, and sending a small cell base station communication connection establishment request message to the small cell base station by the mobile detection terminal, wherein the small cell base station communication connection establishment request message comprises a macro base station communication establishment unsuccessful message.
In a preferred embodiment, the cosmetic detection information transmission method includes the steps of: responding to the received communication connection establishment request message of the small cell base station, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a connection establishment response message of the small cell base station to the mobile detection terminal by the small cell base station; in response to receiving the small cell base station connection establishment response message, establishing a communication link with the small cell base station by the mobile detection terminal, and starting a timer by the small cell base station; after the timer expires, the small cell base station sends a handover command to the mobile detection terminal; in response to receiving the handover command, sending a macro base station communication link establishment request to the macro base station by the mobile detection terminal; determining the buffer condition of the macro base station by the macro base station, and if the macro base station determines that the information stored in the buffer of the macro base station still reaches the upper limit of the buffer, sending a negative confirmation message of establishing a communication link to the mobile detection terminal by the macro base station again; notifying, by the mobile detection terminal, to the small cell base station, the macro base station that the communication link establishment attempt failed in response to receiving the communication link establishment negative acknowledgement message; in response to receiving the notification that the macro base station communication link establishment attempt failed, setting, by the small cell base station, a timer to have a longer timeout time, wherein the small cell base station is configured to send the handover command again to the mobile detection terminal after the timer expires.
The invention also provides a cosmetic detection information transmission system, comprising: a unit for collecting cosmetic detection information by a mobile detection terminal; means for sending a macro base station communication link establishment request by a mobile detection terminal to a macro base station, wherein the mobile detection terminal is capable of communicating with a small cell base station simultaneously; a unit for determining, by the macro base station, a buffer condition of the macro base station, and determining, by the macro base station, whether information stored in the buffer of the macro base station reaches an upper limit of the buffer based on the buffer condition; a unit for sending a macro base station communication link establishment response message to the mobile detection terminal by the macro base station if it is determined that the information stored in the buffer of the macro base station does not reach the upper limit of the buffer; means for establishing a communication link between the mobile detection terminal and the macro base station based on the macro base station communication link establishment response message; means for generating and storing, by the mobile detection terminal, a macro base station communication link establishment success message in response to establishing a communication link with the macro base station; means for sending, by the mobile detection terminal, cosmetic detection information to the macro base station in response to establishing the communication link with the macro base station; a unit for sending a small cell base station communication connection establishment request message to a small cell base station by a mobile detection terminal when actively selecting to switch to communication with the small cell base station, wherein the small cell base station communication connection establishment request message includes a macro base station communication link establishment success message; and a unit for responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the small cell base station determines that the information stored in the buffer of the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for establishing, by the mobile detection terminal, a communication link with the small cell base station while disconnecting the communication link with the macro base station in response to receiving the small cell base station connection establishment response message; means for transmitting, by the mobile detection terminal, cosmetic detection information to the small cell base station in response to establishing the communication link with the small cell base station; means for maintaining, by the small cell base station, communication with the mobile detection terminal in response to receiving the small cell base station communication connection establishment request message including the macro base station communication link establishment success message.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for sending a macro base station communication link establishment request to a macro base station by a mobile detection terminal when actively selecting to return communication with the macro base station; a unit for determining a buffer status of the macro base station by the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station does not reach an upper limit of the buffer, sending a response message for establishing a communication link of the macro base station to the mobile detection terminal by the macro base station; a unit for sending a request for ending communication to the small cell base station by the mobile detection terminal based on the response message established by the macro base station communication link; and a unit for disconnecting, by the small cell base station, the communication connection with the movement detection terminal only after the small cell base station receives the end communication request.
In a preferred embodiment, the cosmetic detection information transmission system includes: means for sending a macro base station communication link establishment request from a mobile detection terminal to a macro base station; a unit for determining a buffer condition of the macro base station by the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station has reached an upper limit of the buffer, transmitting a negative acknowledgement message to the mobile detection terminal by the macro base station to establish a communication link; for generating and storing, by the mobile detection terminal, a macro base station communication establishment unsuccessful message in response to receiving the communication link establishment negative acknowledgement message; means for sending, by the mobile detection terminal, a small cell base station communication connection establishment request message to the small cell base station in response to receiving the communication link establishment negative acknowledgement message, wherein the small cell base station communication connection establishment request message includes a macro base station communication establishment unsuccessful message.
In a preferred embodiment, the cosmetic detection information transmission system includes: a unit for responding to the received small cell base station communication connection establishment request message, determining the buffer condition of the small cell base station by the small cell base station, and if the information stored in the buffer of the small cell base station determined by the small cell base station does not reach the upper limit of the buffer of the small cell base station, sending a small cell base station connection establishment response message to the mobile detection terminal by the small cell base station; means for establishing, by the mobile detection terminal, a communication link with the small cell base station in response to receiving the small cell base station connection establishment response message, while starting, by the small cell base station, a timer; a unit for transmitting a handover command to the mobile detection terminal by the small cell base station after the timer expires; means for sending, by the mobile detection terminal, a macro base station communication link establishment request to the macro base station in response to receiving the handover command; a unit configured to determine a buffer status of the macro base station, and if the macro base station determines that information stored in the buffer of the macro base station still reaches an upper limit of the buffer, the macro base station sends a negative acknowledgement message to the mobile detection terminal again; means for notifying, by the mobile detection terminal, the macro base station of the failure of the macro base station communication link establishment attempt in response to receiving the communication link establishment negative acknowledgement message; means for setting, by the small cell base station, a timer to have a longer timeout time in response to receiving the notification that the macro base station communication link establishment attempt failed, wherein the small cell base station is configured to send the handover command again to the mobile detection terminal after the timer expires.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.